-
1. Re: Container idependent JAAS Login Module
neutro Mar 10, 2004 4:26 AM (in response to tradem)How about using javax.security.auth.spi.LoginModule this should make it possible to be used in any server its the interface implemented by JBoss AbstractServerLoginModule.
hth
SVen -
2. Re: Container idependent JAAS Login Module
starksm64 Mar 14, 2004 10:28 AM (in response to tradem)Its not possible as the way JAAS is used to perform authentication/authorization is not defined by the J2EE specs. J2EE 1.4 introduces a new authorization contract, but still does not define how authentication using JAAS is performed.
-
3. Re: Container idependent JAAS Login Module
ahardy66 Mar 14, 2004 5:43 PM (in response to tradem)Toby,
just write different implementations of LoginModule for each container, e.g. JBossLoginModule, TomcatLoginModule, WebsphereLoginModule.
Extract your login code into a seperate shared utils class.
It makes no difference, since you have to configure each container's login setup with container-specific xml files anyway.
Obviously it will be nice when there's a J2EE spec for it though.
Adam