I'm currently using FORM based authentication in glassfish v2.1 to log users in and it works fine. I want to switch to ProgrammaticLogin and I want to be able to get the initially requested URL (i.e. before redirecting to login page) and use it in…
I want to integrate OpenID as an authentication mechanism into GlassFish 3.1 (preview). The Development Guide says that JSR 196 could be used to implement custom authentication mechanisms like OpenID.
Is there already an OpenID authenticator for…
I have developed a Security Authentication Module (SAM) and implemented the validateRequest method. I also have a simple webapp configured to use this SAM.
In my validateRequest method, I check the clientSubject and set a CallerPrincipalCallback…
I have a custom, JSR-196 module, that basically delegates to a service that delegates roles to a OAuth "grants" call.
It does work from a servlet (request.getUserPrincipal() works fine).
It does not propagate to EJB calls, where…
I have enabled a server authentication module (JSR196) in Glassfish . The module works as expected however i need to determine the presence of the authentication module in a servlet programatically.
Is there any way i could check the presence of the…
I found this guide for developing your own Server Authentication Module (SAM) for Glassfish: http://docs.oracle.com/cd/E18930_01/html/821-2418/gizel.html
It seems pretty straightforward to verify some credentials (in HTTP Auth headers for instance),…
I want to use a custom authentication module conforming to JSR 196 in GlassFish 3. The interface javax.security.auth.message.ServerAuth has the method:
AuthStatus validateRequest(
MessageInfo messageInfo,
javax.security.auth.Subject…
We developed a jsf web application with a Jaspic/JSR196 module registered programmatically by the webapp.
We followed the instructions in the following blog to achieve this : http://arjan-tijms.blogspot.pt/
The solution works ok for authenticating…