com.ibm.dse.applsrv.aa
Interface RoleHandlerInterface


public interface RoleHandlerInterface
extends java.io.Serializable

This is the interface for the implementor of role handler.


Method Summary
 void logoff(SecurityContext context)
          A role handler must implement a method that is called during logoff.
 void logon(SecurityContext context, java.lang.String user, java.lang.String password, java.lang.Object object)
          A role handler must implement a method that is called during logon.
 void signoff(SecurityContext context)
          A role handler must implement a method that is called during signoff.
 void signon(SecurityContext context, java.lang.String user, java.lang.String password)
          A role handler must implement a method that is called during signon.
 

Method Detail

logoff

public void logoff(SecurityContext context)
            throws DSESecurityException
A role handler must implement a method that is called during logoff.
Parameters:
context - SecurityContext - the context.
Throws:
DSESecurityException - - error in the request.

logon

public void logon(SecurityContext context,
                  java.lang.String user,
                  java.lang.String password,
                  java.lang.Object object)
           throws DSESecurityException
A role handler must implement a method that is called during logon.
Parameters:
context - SecurityContext - the context.
user - String - the user id.
password - String - the password.
object - Object - the data to pass to the role handler.
Throws:
DSESecurityException - - error in the request.

signoff

public void signoff(SecurityContext context)
             throws DSESecurityException
A role handler must implement a method that is called during signoff.
Parameters:
context - SecurityContext - the context.
Throws:
DSESecurityException - - error in the request.

signon

public void signon(SecurityContext context,
                   java.lang.String user,
                   java.lang.String password)
            throws DSESecurityException
A role handler must implement a method that is called during signon.
Parameters:
context - SecurityContext - the context.
user - String - the login user id.
password - String - the password.
Throws:
DSESecurityException - - error in the request.