[jboss-dev-forums] [PicketBox Development] - Re: AS7: Web Security - JBossWebRealm
Anil Saldhana
do-not-reply at jboss.com
Wed Jan 12 13:53:04 EST 2011
Anil Saldhana [http://community.jboss.org/people/anil.saldhana%40jboss.com] created the discussion
"Re: AS7: Web Security - JBossWebRealm"
To view the discussion, visit: http://community.jboss.org/message/580389#580389
--------------------------------------------------------------
Marcus,
this is what I plan to do.
1) Security subsystem domain model settings
This needs to install the Picketbox configuration. Atleast 1 or more ApplicationPolicy instances in the server.
2) Deployment of war files
In the DeploymentWarProcessor where the web context is created. Something like:
JBossWebRealm jbossRealm = new JBossWebRealm();
AuthenticationManager authMgr = SecurityFactory.getAuthenticationManager( securityDomain );
jbossRealm.setAuthenticationManager( authMgr );
//Similarly authorization manager too is injected into jbossrealm
webContext.setRealm( jbossRealm );
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/580389#580389]
Start a new discussion in PicketBox Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2088]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110112/01707ed0/attachment.html
More information about the jboss-dev-forums
mailing list