com.bankframe.services.authentication
Interface Authentication

All Superinterfaces:
javax.ejb.EJBObject, ESessionRemote, java.rmi.Remote
All Known Subinterfaces:
EJBUserAuthentication, LDAPAuthentication

public interface Authentication
extends ESessionRemote

This interface defines the methods that all authentication mechanisms implement. This class provides a set of standard authentication mechanisms and provides a framework for implementing custom authentication mechanisms. Users can be authenticated against a database or an LDAP repository. This class is used in conjunction with the security provider framework.


Method Summary
 java.util.Vector processLogoff(DataPacket data)
          This method processes a logoff request.
 java.util.Vector processLogon(DataPacket data)
          This method processes a logon request.
 
Methods inherited from interface com.bankframe.ejb.ESessionRemote
processDataPacket, processDataPackets
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

processLogoff

public java.util.Vector processLogoff(DataPacket data)
                               throws ProcessingErrorException,
                                      java.rmi.RemoteException
This method processes a logoff request.

Parameters:
data - the logoff request to process
Returns:
a vector of DataPackets
Throws:
ProcessingErrorException - if the logon request cannot be processed
java.rmi.RemoteException - if a remote communication error occurs

processLogon

public java.util.Vector processLogon(DataPacket data)
                              throws AuthenticationException,
                                     java.rmi.RemoteException
This method processes a logon request.

Parameters:
data - DataPacket The logon request to process
Returns:
a vector of DataPackets
Throws:
AuthenticationException - if the logon request cannot be authenticated
java.rmi.RemoteException - if a remote communication error occurs


Copyright © 2005, 2007, Oracle. All rights reserved.