| java.lang.Object org.objectweb.jonas.security.AbsSecurityContextHelper org.objectweb.jonas.security.iiop.SecurityContextHelper
SecurityContextHelper | public class SecurityContextHelper extends AbsSecurityContextHelper (Code) | | This class is used by Csiv2 server interceptor and by the JOnAS EJB provider Web Service.
It allows to authenticate users.
author: Florent Benoit : Initial developper author: Helene Joanin : Refactoring |
getIdentityToken | public String getIdentityToken()(Code) | | the identity of the authenticated user.In run-as, it returns run-as identity. |
getLogger | protected Logger getLogger()(Code) | | the associated logger |
getRealmDefault | protected String getRealmDefault()(Code) | | return the CSIV2 default Realm |
getRealmKey | protected String getRealmKey()(Code) | | return the CSIV2 Realm key |
loginAuthenticationToken | protected void loginAuthenticationToken(String userName, String password)(Code) | | Authenticate with csiv2 authentication token
Parameters: userName - user for login Parameters: password - of the user |
loginIdentiyToken | protected void loginIdentiyToken(String principalName)(Code) | | Authenticate with csiv2 identity token (no password)
Parameters: principalName - the username |
|
|