Secure Middleware with JBoss Application Server v5.x Anil Saldhana Red Hat Inc 6280

2

AGENDA > > > > > > > >

Security as we know it Security Features versus configuration Security in JBossAS5.x Authentication Authorization Audit Password Masking in Microcontainer Beans References

3

Security as we know it > Secure – Shoot dog? – Drugged food?

4

Security as we know it > Top of the line security – Not in action

5

Security Features versus configuration > Goal is to provide new security features all the time – While minimizing additions to configuration

6

Security Features versus configuration > Great System – Hard Wiring between objects

7

Security Features versus configuration > New Features – Feeble foundation

8

Security in JBAS 5.x

9

Security in JBAS 5.x > Makes use of the JBoss Microcontainer based architecture > Introduce new features – Authentication: Support for JSR-196 – Authorization: Pluggable access control stack (Spec, JACC, XACML ...) – Auditing – Mapping : Role mapping, Principal mapping – Password Masking Feature for MC beans > Simplify Configuration – Security Domain Configuration

10

Security in JBAS 5.x : Authentication > JSR-196: Java Authentication SPI for Containers > Allows us to externalize authentication as Server Authentication Modules(SAM) – JAAS does not have a notion of a container message  No access to HttpServletRequest, SOAPMessage etc – Tomcat authenticator code would be as an example in the SAM

11

Security in JBAS 5.x : Authentication > JSR-196

12

Security in JBAS 5.x : Authentication > JSR-196

http://anil-identity.blogspot.com/search/label/jsr-196

13

Security in JBAS 5.x : Authorization > Pluggable Access Control Stack for Web and EJB Applications. > Apply spec access control, JACC, XACML (or custom) to web and ejb applications in a pluggable fashion. – Mix and match (JACC for Web, XACML for EJB) > Value added feature that still maintains Java EE RBAC compliance > Fine grained access control – JBossXACML: Oasis XACML v2.0 support – JBossACL :Instance based access control http://server.dzone.com/articles/security-features-jboss-510-1 http://server.dzone.com/articles/security-features-jboss-510-2 http://server.dzone.com/articles/security-features-jboss-510-3

14

Security in JBAS 5.x : Audit > Enable auditing of security events in web and ejb applications > Plug in various auditing providers – Default provider is a Log4J provider http://server.dzone.com/articles/security-auditing-jboss

15

Security in JBAS 5.x : Audit 2008-12-05 16:08:38,997 TRACE [org.jboss.security.audit.providers.LogAuditProvider] (http-127.0.0.1-8080-17:) [Success]policyRegistration=org.jboss.security.plugins.JBossPolicyRegistration@76ed4518;Resource:=[or g.jboss.security.authorization.resources.WebResource:contextMap={policyRegistration=org.jboss.security. plugins.JBossPolicyRegistration@76ed4518,securityConstraints=[Lorg.apache.catalina.deploy.SecurityCon straint;@6feeae6, resourcePermissionCheck=true},canonicalRequestURI=/restricted/getonly/x,request=[/web-constraints:cookies=null:headers=user-agent=Jakarta CommonsHttpClient/3.0,authorization=host=localhost:8080,] [parameters=],CodeSource=null];securityConstraints=SecurityConstraint[RestrictedAccess - Get Only];Source=org.jboss.security.plugins.javaee.WebAuthorizationHelper;resourcePermissionCheck=true; Exception:=; 2008-12-05 16:08:41,561 TRACE [org.jboss.security.audit.providers.LogAuditProvider] (http-127.0.0.1-8080-4:) [Failure]principal=anil;Source=org.jboss.web.tomcat.security.JBossWebRealm;request=[/jaspi-webbasic:cookies=null:headers=user-agent=Jakarta CommonsHttpClient/3.0,authorization=host=localhost:8080,][parameters=][attributes=];2008-12-05 16:07:30,129 TRACE [org.jboss.security.audit.providers.LogAuditProvider] (WorkerThread#1[127.0.0.1:55055]:)

16

Security in JBAS 5.x : Mapping > Map Roles – Application role to deployment level role > Map Principal – X509 principal to a simple name

17

Password Masking for Microcontainer Beans > Make use of the JBoss MC life cycle callbacks – Inject the password at “create”

http://server.dzone.com/articles/security-features-jboss-510-0

18

Password Masking for Microcontainer Beans CHANGE ME!! messaging .

Before

19

Password Masking for Microcontainer Beans messaging . @org.jboss.security.integration.password.Password(security Domain=messaging,methodName=setSuckerPassword)

After

20

Simplified Configuration > Single security domain configuration for Authentication, Authorization, Auditing, Mapping, Acl etc > Again, a feature of JBoss Microcontainer is leveraged. http://server.dzone.com/articles/security-features-jboss-510

Simplified Configuration users.properties roles.properties useFirstPass

21

Anil Saldhana http://anil-identity.blogspot.com Red Hat Inc [email protected]

Secure Middleware with JBoss Application Server v5.x

Pluggable Access Control Stack for Web and EJB Applications. > Apply spec access control, JACC, XACML (or custom) to web and ejb applications in a ...

507KB Sizes 0 Downloads 165 Views

Recommend Documents

Migración de Jboss Comunitario a Jboss Enterprise Application ...
Migración de Jboss Comunitario a Jboss Enterprise Application Platform.pdf. Migración de Jboss Comunitario a Jboss Enterprise Application Platform.pdf. Open.

JBoss Application Administration I (JB248) -
... Marredpally, Secunderabad – 500026, INDIA. Tele : (040)27733174, 27737969 E:Mail- [email protected] ... Batch timings. : 07:30am to 9:30am(Theory).

JBoss Application Administration I (JB248) -
Install, configure, and manage JBoss Enterprise Application Platform. JBoss® Application Administration I teaches you the best practices for installing and ...

Amrita-Redhat - RHCE-Openstack-RHCVA-JBOSS- Storage Server ...
RHCE+Storage Server 15500+12000. 27500. 15500 45days. RHCE+JBOSS. 15500+15500. 31000. 15500 45days. RHCE+Server Hardening 15500+12000.

Polycom® Proxias™ Application Server and Application Development ...
A key element in Polycom's scalable IMS-compliant architecture, the Proxias application server works in conjunction with the Polycom InnoVox® 4000IP media ...

Polycom® Proxias™ Application Server and Application Development ...
A key element in Polycom's scalable IMS-compliant architecture, the Proxias application server works in conjunction ... modifiable, with automatic detection of new ... Linux® operating system. • JBoss Enterprise Middleware. • JAIN SIP Interface.

A Client/Server Message Oriented Middleware for ...
Device software drivers installation and configuration are performed on the server .... PC computer host sees base communication board as a virtual serial port.

A Portable Client/Server Communication Middleware ...
using high performance SAN technologies to provide efficient ... provide efficient communication support for cluster- ..... The Linux kernel versions are 2.4.18 for.

Secure surfing using Ubuntu Server, Putty, Firefox ... - Knightwise.com
connect OUT over that port from the local network you are on at the moment). - Setup and enable a dyndns service on your server : http://revision3.com/systm/dyndns/ ... If you are (for example) in a hotspot, we are going to check what your ...

Towards a home application server
home application server and allows an easy development of home applications. ..... non-functional code, application servers are very popular for enterprise ...

Polycom® Proxias™ Application Server and ... - Live Conferencing
As a resilient platform optimized for call signaling, server clustering, fault tolerance ... ferencing applications and applications for device, network, and conference ...

secure java for web application development pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. secure java for ...

Polycom® Proxias™ Application Server and ... - Live Conferencing
The IMS-based, SIP platform Proxias application server and Proxias application devel- .... Application Server Software Components. • Linux® operating system.

Oracle Application Server 10g Administration Handbook (McGraw ...
Try one of the apps below to open or edit this item. Oracle Application Server 10g Administration Handbook (McGraw-Hill 2004).pdf. Oracle Application Server ...

websphere application server administration using jython pdf ...
File: Websphere application server. administration using jython pdf. Download now. Click here if your download doesn't start automatically. Page 1 of 1.

secure java for web application development pdf
development pdf. Download now. Click here if your download doesn't start automatically. Page 1 of 1. secure java for web application development pdf.

Secure Dependencies with Dynamic Level ... - Semantic Scholar
evolve due to declassi cation and subject current level ... object classi cation and the subject current level. We ...... in Computer Science, Amsterdam, The Nether-.

A contract-oriented middleware - UniCa
A contract-oriented middleware. Massimo Bartoletti. University of Cagliari (Italy) — BETTY COST Action. London, Apr 17th, 2015 ...

Oracle® Fusion Middleware -
Sep 1, 2008 - 1 Introduction to Building Fusion Web Applications with Oracle ADF. 1.1. Introduction to Oracle ...... How to Set Database and Java Data Types for an Entity Object Attribute .............. 4-29. 4.10.2 ...... How to Access an Applicatio

practical jboss seam projects pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying.