org.objectweb.jonas.security.AbsSecurityContextHelper Class Reference

Inherited by org.objectweb.jonas.security.iiop.SecurityContextHelper, and org.objectweb.jonas.security.ws.SecurityContextHelper.

Inheritance diagram for org.objectweb.jonas.security.AbsSecurityContextHelper:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void login (String principalName, String credential)

Protected Member Functions

abstract Logger getLogger ()
abstract String getRealmKey ()
abstract String getRealmDefault ()

Detailed Description

This class allows to authenticate users. It's a singleton to allow inherence and "static" methods.
Author:
Florent Benoit : Initial Developper

Helene Joanin : Refactoring

Definition at line 45 of file AbsSecurityContextHelper.java.


Member Function Documentation

abstract Logger org.objectweb.jonas.security.AbsSecurityContextHelper.getLogger  )  [protected, pure virtual]
 

Returns:
return the associated logger

Implemented in org.objectweb.jonas.security.iiop.SecurityContextHelper, and org.objectweb.jonas.security.ws.SecurityContextHelper.

abstract String org.objectweb.jonas.security.AbsSecurityContextHelper.getRealmDefault  )  [protected, pure virtual]
 

Returns:
return the default realm value

Implemented in org.objectweb.jonas.security.iiop.SecurityContextHelper, and org.objectweb.jonas.security.ws.SecurityContextHelper.

abstract String org.objectweb.jonas.security.AbsSecurityContextHelper.getRealmKey  )  [protected, pure virtual]
 

Returns:
return the Realm Key

Implemented in org.objectweb.jonas.security.iiop.SecurityContextHelper, and org.objectweb.jonas.security.ws.SecurityContextHelper.

void org.objectweb.jonas.security.AbsSecurityContextHelper.login String  principalName,
String  credential
 

Login with given principal and given credential

Parameters:
principalName the login
credential the password

Definition at line 72 of file AbsSecurityContextHelper.java.

References org.objectweb.security.context.SecurityCurrent.setSecurityContext().

Referenced by org.objectweb.jonas.security.iiop.SecurityContextHelper.loginAuthenticationToken(), and org.objectweb.jonas.security.iiop.SecurityContextHelper.loginIdentiyToken().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:35 2005 for JOnAS by  doxygen 1.3.9.1