[
https://issues.jboss.org/browse/AS7-838?page=com.atlassian.jira.plugin.sy...
]
Lance Ball commented on AS7-838:
--------------------------------
I'm trying to stand up a SecurityDomainService with a custom LoginModule during app
deployment on AS7. Have a look at the code excerpt here:
https://gist.github.com/991956
I've pored over it a few times and it looks like it should do what I want, but when I
try to authenticate against it, I get errors about no users.properties files as though it
doesn't load my custom login module and instead defaults to UsersRolesLoginModule.
17:05 lanceball: asaldhan: hey anil - I have a question about standing up a
SecurityDomainService with a custom LoginModule during app deployment on AS7
17:05 lanceball: if you have a sec, can you take a look at this gist?
https://gist.github.com/991956
17:06 lanceball: I've pored over it a few times and it looks like it should do what I
want, but when I try to authenticate against it, I get errors about no users.properties
files
17:06 lanceball: as though it doesn't load my custom login module and instead defaults
to UsersRolesLoginModule
17:07 asaldhan: lanceball: not sure we have actually figured it out on AS7
17:07 asaldhan: lanceball: is this as7 or as6
17:07 lanceball: as7
17:08 lanceball: asaldhan: I've tried to walk the jaas code but had a hard time
figuring out where you load up login modules
17:09 asaldhan: lanceball: doubt it works yet. We still figuring out stuff.
https://issues.jboss.org/browse/AS7-838
17:09 jbossbot: jira [3AS7-838] Allow individual security domains to be deployed
[10Open (Unresolved) Feature Request,7 Major,6 Marcus Moyses]
https://issues.jboss.org/browse/AS7-838
17:09 asaldhan: lanceball: marcus and I were just broaching this topic. Plan is to work on
it either tomorrow (Marcus) or Monday(I) depending on who finishes the current item
17:09 lanceball: asaldhan: thanks - I'll add my gist and comments to the Jira!
17:10 asaldhan: lanceball: there is a method to create security domains tho
17:10 asaldhan: lanceball: let me get it for u
17:10 lanceball: asaldhan: I'm successfully creating security domains on the fly with
existing jboss LoginModules
17:11 lanceball: it's just a problem when I want to use a custom login module
17:11 asaldhan: lanceball: not sure if we have tested against custom LM yet. I will defer
it to Marcus tomorrow morn. I will ask him once he is online
Allow individual security domains to be deployed
------------------------------------------------
Key: AS7-838
URL:
https://issues.jboss.org/browse/AS7-838
Project: Application Server 7
Issue Type: Feature Request
Components: Security
Affects Versions: 7.0.0.Beta3
Reporter: Marcus Moyses
Assignee: Marcus Moyses
Fix For: 7.0.0.CR1
We need to be able to deploy security domains in a deployment unit much like we had in
previous AS versions so customers can deploy security domains individually or along with
their applications.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira