org.ow2.jonas.security.ws
Class SecurityContextHelper

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

public class SecurityContextHelper
extends AbsSecurityContextHelper

This class is used by the JOnAS EJB provider Web Service. It allows to authenticate users.

Author:
Florent Benoit : Initial developper, Helene Joanin : Refactoring

Field Summary
 
Fields inherited from class org.ow2.jonas.security.internal.AbsSecurityContextHelper
securityService
 
Method Summary
static SecurityContextHelper getInstance()
           
protected  org.objectweb.util.monolog.api.Logger getLogger()
           
protected  String getRealmDefault()
           
protected  String getRealmKey()
           
 
Methods inherited from class org.ow2.jonas.security.internal.AbsSecurityContextHelper
login, setSecurityService
 
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 String getRealmKey()
Specified by:
getRealmKey in class AbsSecurityContextHelper
Returns:
return the WS Realm key.

getRealmDefault

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.