This content has been marked as final.
Show 2 replies
-
1. Re: Jboss 7 + WebJASPIAuthenticator PolicyContext subject is null but request usePrincipal is not
jacsoyyo Nov 29, 2012 3:57 AM (in response to jacsoyyo)It's clearly my fault. I followed this instructions https://community.jboss.org/wiki/JBossAS7EnablingJASPIAuthenticationForWebApplications and it works like a charm. It seems that the subject is being restored somehow by the WebJASPIAuthenticator valve, but it is not warking with my ServerAuthModule.
This is my ServerAuthModule code, base on Jaspic module for CAS found here http://code.google.com/p/cas-jaspic/
Removed useless code and jar file
-
2. Re: Jboss 7 + WebJASPIAuthenticator PolicyContext subject is null but request usePrincipal is not
jacsoyyo Nov 29, 2012 4:03 AM (in response to jacsoyyo)Ok, I think it's working now. It's not perfect and code is really ugly.
Patched WebJASPIAuthenticator was needed at least using Jboss 7.1.1.Final
-
SecurityActions.java.zip 702 bytes
-