WildFly in Oracle okolje



Similar documents
DB & VM Backup and Recovery

Clash of the Titans. I/O System Performance. mag. Sergej Rožman; Abakus plus d.o.o.

Identity Management in Liferay Overview and Best Practices. Liferay Portal 6.0 EE

Integrating Apex into Federated Environment using SAML 2.0. Jon Tupman Portalsoft Solutions Ltd

AAI for Mobile Apps How mobile Apps can use SAML Authentication and Attributes. Lukas Hämmerle

DB & VM Backup and Recovery

Single Sign On. SSO & ID Management for Web and Mobile Applications

Technical White Paper - JBoss Security

Egnyte Single Sign-On (SSO) Installation for OneLogin

Identity Federation: Bridging the Identity Gap. Michael Koyfman, Senior Global Security Solutions Architect

Access Management Analysis of some available solutions

Centralized Oracle Database Authentication and Authorization in a Directory

Spring Security SAML module

The increasing popularity of mobile devices is rapidly changing how and where we

How to create a SP and a IDP which are visible across tenant space via Config files in IS

Egnyte Single Sign-On (SSO) Configuration for Active Directory Federation Services (ADFS)

BlackBerry Enterprise Service 10. Version: Configuration Guide

Configuring an Alternative Database for SAS Web Infrastructure Platform Services

JBS-102: Jboss Application Server Administration. Course Length: 4 days

Authentication and Single Sign On

Masdar Institute Single Sign-On: Standards-based Identity Federation. John Mikhael ICT Department

Weblogic as a Service Provider for CERN Web Applications: APEX & Java EE

PingFederate. Identity Menu Builder. User Guide. Version 1.0

From the Intranet to Mobile. By Divya Mehra and Stian Thorgersen

OpenSSO: Simplify Your Single-Sign-On Needs. Sang Shin Java Technology Architect Sun Microsystems, inc. javapassion.com

HP OO 10.X - SiteScope Monitoring Templates

CLUSTERING CAS for High Availability. Eric Pierce, University of South Florida

Flexible Identity Federation

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

Implementing CAS. Adam Rybicki Jasig Conference, San Diego, CA March 7, 2010

PUBLIC Installation: SAP Mobile Platform Server for Linux

SAML-Based SSO Solution

Federated Identity for Cloud Computing and Cross-organization Collaboration

HOL9449 Access Management: Secure web, mobile and cloud access

GlassFish Security. open source community experience distilled. security measures. Secure your GlassFish installation, Web applications,

NCSU SSO. Case Study

The Top 5 Federated Single Sign-On Scenarios

Safewhere*Identify 3.4. Release Notes

Administering Jive Mobile Apps

Basic TCP/IP networking knowledge of client/server concepts Basic Linux commands and desktop navigation (if don't know we will cover it )

Microsoft Office365 with Active Directory Federated Services (ADFS) Authenticating Users Using SecurAccess Server by SecurEnvoy

CA Adapter. Installation and Configuration Guide for Windows. r2.2.9

DIGIPASS Authentication for GajShield GS Series

OPENIAM ACCESS MANAGER. Web Access Management made Easy

SAML Security Option White Paper

Ameritas Single Sign-On (SSO) and Enterprise SAML Standard. Architectural Implementation, Patterns and Usage Guidelines

Oracle WebLogic Server 11g Administration

PicketLink Federation User Guide 1.0.0

ipad or iphone with Junos Pulse and Juniper SSL VPN appliance Authenticating Users Using SecurAccess Server by SecurEnvoy

LAE 5.1. Windows Server Installation Guide. Version 1.0

I) Add support for OAuth in CAS server

Agenda. How to configure

Secure the Web: OpenSSO

Integrating EJBCA and OpenSSO

SAML Authentication Quick Start Guide

Entrust IdentityGuard Comprehensive

Add Microsoft Azure as the Federated Authenticator in WSO2 Identity Server

Oracle Database Cloud Services OGh DBA & Middleware Day

THE NEW DIGITAL EXPERIENCE

Banner overview. Authentication to Banner & 3 rd Party Apps. Authorization to Banner & 3 rd Party Apps

Migration Guide Software, Database and Version Migration

Security and Control Issues within Relational Databases

LEARNING SOLUTIONS website milner.com/learning phone

External Authentication with Juniper SSL VPN appliance Authenticating Users Using SecurAccess Server by SecurEnvoy

Introduction to Identity and Access Management for the engineers. Radovan Semančík April 2014

Authentication Methods

Securing SQL Server. Protecting Your Database from. Second Edition. Attackers. Denny Cherry. Michael Cross. Technical Editor ELSEVIER

TIBCO Spotfire Platform IT Brief

OpenLogin: PTA, SAML, and OAuth/OpenID

Encore Software Solutions (V3) Identity Lifecycle Management and Federated Security Suite (ILM/FSS) Overview and Technical Requirements

Session Code*: 0310 Demystifying Authentication and SSO Options in Business Intelligence. Greg Wcislo

OIX IDAP Alpha Project - Technical Findings

Easy as 1-2-3: The Steps to XE. Mark Hoye Services Portfolio Consultant

About Me. Software Architect with ShapeBlue Specialise in. 3 rd party integrations and features in CloudStack

Open Source Identity Management

Oracle Database 11g: Security Release 2. Course Topics. Introduction to Database Security. Choosing Security Solutions

Authentication: Password Madness

THE NEW DIGITAL EXPERIENCE

Zendesk SSO with Cloud Secure using MobileIron MDM Server and Okta

managing SSO with shared credentials

The Weakest Link : Securing large, complex, global Oracle ebusiness Suite solutions

Mobile Security. Policies, Standards, Frameworks, Guidelines

Setup Guide Access Manager 3.2 SP3

Installation Guide. Version 2.1. on Oracle Java Cloud Service

Keycloak SAML Client Adapter Reference Guide

SSO Plugin. HP Service Request Catalog. J System Solutions. Version 3.6

Mastering Tomcat Development

HOW TO DEPLOY AN EJB APLICATION IN WEBLOGIC SERVER 11GR1

SAML SSO Configuration

TG Web. Technical FAQ

Tech Titans: Lock it down, securing your Costpoint 7 deployments. Drew Roman, IT Solutions Director WJ Technologies L.L.C. GC-518

IT Exam Training online / Bootcamp

Configuration Guide BES12. Version 12.3

Configuration Guide BES12. Version 12.2

September 9 11, 2013 Anaheim, California 507 Demystifying Authentication and SSO Options in Business Intelligence

Federation At Fermilab. Al Lilianstrom National Laboratories Information Technology Summit May 2015

Use Enterprise SSO as the Credential Server for Protected Sites

F5 BIG-IP: Configuring v11 Access Policy Manager APM

Upgrade Guide BES12. Version 12.1

Enterprise Deployment of the EMC Documentum WDK Application

Transcription:

WildFly in Oracle okolje Integracija aplikacij z obstoječo infrastrukturo Predavatelj: Urh Srečnik <urh.srecnik@abakus.si> Software Architect @ Abakus Plus d.o.o.

Abakus Plus d.o.o. Applications Special DB Newspaper Distribution, FIS Flight Information System Services DMS Document Management System ARBITER the ultimate tool in audit trailing APPM Abakus Plus Performance and Monitoring Tool Backup Server DBA, OS administration, programming (MediaWiki, Oracle) networks (services, VPN, QoS, security) open source, monitoring (Nagios, OCS, Wiki) Hardware servers, backup server, SAN storage, firewalls

DBA_USERS in aplikativni uporabniki Podatkovni strežnik user= MYAPP Oracle Schema Aplikativni strežnik user= John Doe javax.security.principal Uporabniki

Container Managed Authentication WildFly login App 1 users JAAS Security Domain Login Module Oracle Database DBA_USERS App 2

WildFly Login Module Implementation DemoLoginModule <<abstract>> AbstractServerLoginModule + initialize() + login() # getidentity() # getrolesets() Maven Coordinates: org.picketbox:picketbox javax.security.auth.spi.loginmodule

WildFly Module Deployment $WILDFLY_HOME/ ` modules/ ` system/ ` layers/ ` base/ ` mycompany/ ` mymodule/ ` main/ mymodule.jar mymodule.xml $./jboss cli.sh connect [standalone@localhost:9990 /] module add \ > name=mycompany.mymodule \ > resources=mymodule.jar \ > dependencies=org.picketbox

WildFly Create Security Domain./subsystem=security/security domain=demo security domain:add(cache type="default") cd./subsystem=security/security domain=demo security domain./authentication=classic:add(\ login modules=[ { \ code="com.mypackage.mydemomodule", \ flag="required", \ module options={ \ option="value" \ } \ }])

Login Logic Login Credentials Open JDBC Connection failure Not authenticated Query DBA_ROLE_PRIVS Close JDBC Connection success Authenticated

Oracle Users and Roles (example) create user app_schema identified by app_schema account lock; create user app$proxy identified by app$proxy; create user app$user_a identified by user_a; create user app$user_b identified by user_b; create user app$user_c identified by user_c; create role apr$admin; create role apr$user;

Oracle Proxy Users (grants) grant create session to app$proxy; grant create session to apr$user; alter user app$user_a grant connect through app$proxy; alter user app$user_b grant connect through app$proxy; alter user app$user_c grant connect through app$proxy;

Oracle Role Grants grant apr$user to apr$admin; grant apr$admin to app$user_a; grant apr$user to app$user_b; grant apr$user to app$user_c;

Oracle Setup Overview APP$USER_A APP$USER_B APP$PROXY APP$USER_C $ sqlplus app$proxy[app$user_a]/app$proxy SQL> alter session set current_schema=app_schema; APP_SCHEMA

JDBC Connection Listener Implementation <<interface>> ConnectionListener + initialize() + activated() + passivated() <<class>> DemoConnectionListener Maven Coordinates: org.jboss.ironjacamar:ironjacamar jdbc

JDBC Connection Listener Deployment data source add \ name=mydemodatasource \ jndi name=java:jboss/datasources/mydemodatasource \ driver name=oracle \ connection url= \ jdbc:oracle:thin:@//your.host.com/service \ user name=app\$proxy \ password=my_proxy_pass \ connection listener class=\ com.abakus.lib.oraproxy.oraproxyconnectionlistener \ connection listener property={\ "currentschema"=>"my_app" \ }

JDBC: Oracle Proxy Sessions oracle.jdbc.oracleconnection conn; conn.openproxysession() conn.close( OracleConnection.PROXY_SESSION );

Security Context How to obtain javax.security.principal in JDBC Connection Listener?! ThreadLocal<Principal> Does that really work? Sure Uhm.. What about @WebFilter @Asynchronous @AroundInvoke @Timeout...

What About AUTHENTICATION REQUIRED? Wrap javax.security.principal to include password.

Single Sign On LDAP AUTH LDAP Schema should contain: * Username * Per database username APP1 DB1 DB2 APP3 APP2

SAML? OAuth? CAS? OpenID? AD?? SSO vs WebSSO

PicketLink Overview PicketLink is an umbrella project for security and identity management for Java Applications. Java EE Application Security Identity Management Federation (SAML, OAuth, OpenID,...) Social Login (Facebook, Twiter, Google) Mobile Applications Security REST Applications Security Quickstart examples! =)

Identity Provider Create security-domain Create new web-app pom.xml - manifest deps: org.picketlink web.xml Configure container managed authentication IDPHttpSessionListener IDPFilter picketlink.xml SAML specific configuration idp url, trusted domains,...

Service Provider Create security-domain SAML2LoginModule picketlink.xml IDP URL, SP URL Keystore parameters

?