org.objectweb.jonas.security.ws
Class SecurityContextHelper

java.lang.Object
  extended by org.objectweb.jonas.security.AbsSecurityContextHelper
      extended by org.objectweb.jonas.security.ws.SecurityContextHelper

public class SecurityContextHelper
extends AbsSecurityContextHelper

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, Helene Joanin : Refactoring

Method Summary
static SecurityContextHelper getInstance()
           
protected  org.objectweb.util.monolog.api.Logger getLogger()
           
protected  java.lang.String getRealmDefault()
           
protected  java.lang.String getRealmKey()
           
 
Methods inherited from class org.objectweb.jonas.security.AbsSecurityContextHelper
login
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SecurityContextHelper getInstance()
Returns:
return the singleton instance

getLogger

protected org.objectweb.util.monolog.api.Logger getLogger()
Specified by:
getLogger in class AbsSecurityContextHelper
Returns:
the associated logger

getRealmKey

protected java.lang.String getRealmKey()
Specified by:
getRealmKey in class AbsSecurityContextHelper
Returns:
return the CSIV2 Realm key

getRealmDefault

protected java.lang.String getRealmDefault()
Specified by:
getRealmDefault in class AbsSecurityContextHelper
Returns:
return the CSIV2 default Realm