This content has been marked as final.
Show 2 replies
-
1. Re: AbstractSTSLoginModule.populateSubject() - bug?
anil.saldhana Aug 27, 2012 10:23 AM (in response to hanys)Mapping Providers are configured similar to the login modules at the security domain level. Here is an article: https://community.jboss.org/wiki/PicketBoxMapping
-
2. Re: AbstractSTSLoginModule.populateSubject() - bug?
hanys Aug 30, 2012 2:40 AM (in response to anil.saldhana)I have mapping configured in my project, but I had to create a subclass of STSValidatingLoginModule
and override getMappingManager() method like this:
protected MappingManager getMappingManager() {
return new MyMappingManager()
}
and it works. So it seems that problem is somewhere how security context is set into thread local variables.
SecurityContextAssociation.getSecurityContext() METHOD RETURNS NULL..
Hope that it helps you.