Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.ejb.user
Interface User  view User download User.java

All Superinterfaces:
com.flexstor.ejb.EjbObject, javax.ejb.EJBObject, java.rmi.Remote

public interface User
extends com.flexstor.ejb.EjbObject

User

Defines a user of the FLEXSTORdb system, allowing it to authenticate, retrieve and update information.

Uses cache: no State Management Type: Stateful

Configurable properties in flexdm.properties:

NONE


Field Summary
static java.lang.String IDENTIFIER
           
 
Method Summary
 com.flexstor.common.data.ejb.user.UserData authenticate(java.lang.String aUserID, java.lang.String aLoginPassword)
          Confirms that the user logging into Flexstor.DB is authorized to do so.
 boolean authenticateNumber(java.lang.Long nUserNumber)
          Confirms that the user logging into Flexstor.DB is authorized to do so.
 void changePassword(java.lang.String aNewPassword)
          Update a user's password Transaction Attribute: Required
 void changePassword(java.lang.String aUserID, java.lang.String aLoginPassword, java.lang.String aNewPassword)
          Update a user's password Transaction Attribute: Required
 boolean fastAuthenticate(java.lang.String aUserID, java.lang.String aLoginPassword)
          Confirms that the user logging into Flexstor.DB is authorized to do so.
 java.util.Hashtable getDisguises()
          Retrieve a list of all disguises for this user Transaction Attribute: Not Supported
 com.flexstor.common.data.ejb.role.RoleData getRole()
          Retrieve authenticated User's role Transaction Attribute: Not Supported
 java.util.Vector getSaveSearches()
          Retrieve a list of all saved searches for this user Transaction Attribute: Not Supported
 com.flexstor.common.data.ejb.user.UserData getUser()
          Retrieve authenticated User's state data Transaction Attribute: Not Supported
 com.flexstor.common.data.ejb.user.UserData getUser(java.lang.String aUserID)
          Retrieve User's state data by user identification Transaction Attribute: Not Supported
 com.flexstor.common.data.ejb.user.UserData getUser(com.flexstor.common.keys.ejb.UserKey aKey)
          Retrieve the data object represented by the object reference Transaction Attribute: Not Supported
 void update(com.flexstor.common.data.ejb.user.UserData aDataObject)
          Update FLEXSTOR.db user information in the database Transaction Attribute: Required
 void updateRole(com.flexstor.common.data.ejb.role.RoleData aRoleDataObject)
          Update a User's role Transaction Attribute: Required
 void updateRolePreferences(java.util.Hashtable hash)
          Update User Role Preferences Transaction Attribute: Required
 
Methods inherited from interface com.flexstor.ejb.EjbObject
keepAlive
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Field Detail

IDENTIFIER

public static final java.lang.String IDENTIFIER
See Also:
Constant Field Values
Method Detail

changePassword

public void changePassword(java.lang.String aNewPassword)
                    throws com.flexstor.common.exceptions.ejb.EjbException,
                           java.rmi.RemoteException
Update a user's password Transaction Attribute: Required


changePassword

public void changePassword(java.lang.String aUserID,
                           java.lang.String aLoginPassword,
                           java.lang.String aNewPassword)
                    throws com.flexstor.common.exceptions.ejb.EjbException,
                           java.rmi.RemoteException,
                           com.flexstor.common.exceptions.ejb.NotFoundException,
                           com.flexstor.common.exceptions.ejb.AuthenticationFailedException
Update a user's password Transaction Attribute: Required


getDisguises

public java.util.Hashtable getDisguises()
                                 throws com.flexstor.common.exceptions.ejb.EjbException,
                                        java.rmi.RemoteException,
                                        com.flexstor.common.exceptions.ejb.NotFoundException
Retrieve a list of all disguises for this user Transaction Attribute: Not Supported


getRole

public com.flexstor.common.data.ejb.role.RoleData getRole()
                                                   throws com.flexstor.common.exceptions.ejb.EjbException,
                                                          java.rmi.RemoteException,
                                                          com.flexstor.common.exceptions.ejb.NotFoundException
Retrieve authenticated User's role Transaction Attribute: Not Supported


getSaveSearches

public java.util.Vector getSaveSearches()
                                 throws com.flexstor.common.exceptions.ejb.EjbException,
                                        java.rmi.RemoteException,
                                        com.flexstor.common.exceptions.ejb.NotFoundException
Retrieve a list of all saved searches for this user Transaction Attribute: Not Supported


getUser

public com.flexstor.common.data.ejb.user.UserData getUser()
                                                   throws com.flexstor.common.exceptions.ejb.EjbException,
                                                          java.rmi.RemoteException
Retrieve authenticated User's state data Transaction Attribute: Not Supported


getUser

public com.flexstor.common.data.ejb.user.UserData getUser(com.flexstor.common.keys.ejb.UserKey aKey)
                                                   throws com.flexstor.common.exceptions.ejb.EjbException,
                                                          java.rmi.RemoteException,
                                                          com.flexstor.common.exceptions.ejb.NotFoundException
Retrieve the data object represented by the object reference Transaction Attribute: Not Supported


getUser

public com.flexstor.common.data.ejb.user.UserData getUser(java.lang.String aUserID)
                                                   throws com.flexstor.common.exceptions.ejb.EjbException,
                                                          com.flexstor.common.exceptions.ejb.NotFoundException,
                                                          java.rmi.RemoteException
Retrieve User's state data by user identification Transaction Attribute: Not Supported


update

public void update(com.flexstor.common.data.ejb.user.UserData aDataObject)
            throws java.rmi.RemoteException,
                   com.flexstor.common.exceptions.ejb.EjbException,
                   com.flexstor.common.exceptions.ejb.DuplicateRecordException
Update FLEXSTOR.db user information in the database Transaction Attribute: Required


updateRole

public void updateRole(com.flexstor.common.data.ejb.role.RoleData aRoleDataObject)
                throws com.flexstor.common.exceptions.ejb.EjbException,
                       java.rmi.RemoteException
Update a User's role Transaction Attribute: Required


updateRolePreferences

public void updateRolePreferences(java.util.Hashtable hash)
                           throws com.flexstor.common.exceptions.ejb.EjbException,
                                  java.rmi.RemoteException
Update User Role Preferences Transaction Attribute: Required


fastAuthenticate

public boolean fastAuthenticate(java.lang.String aUserID,
                                java.lang.String aLoginPassword)
                         throws com.flexstor.common.exceptions.ejb.EjbException,
                                com.flexstor.common.exceptions.ejb.NotFoundException,
                                com.flexstor.common.exceptions.ejb.AuthenticationFailedException,
                                java.rmi.RemoteException
Confirms that the user logging into Flexstor.DB is authorized to do so. Transaction Attribute: Not Supported


authenticate

public com.flexstor.common.data.ejb.user.UserData authenticate(java.lang.String aUserID,
                                                               java.lang.String aLoginPassword)
                                                        throws com.flexstor.common.exceptions.ejb.EjbException,
                                                               com.flexstor.common.exceptions.ejb.NotFoundException,
                                                               com.flexstor.common.exceptions.ejb.AuthenticationFailedException,
                                                               java.rmi.RemoteException
Confirms that the user logging into Flexstor.DB is authorized to do so. Transaction Attribute: Not Supported


authenticateNumber

public boolean authenticateNumber(java.lang.Long nUserNumber)
                           throws com.flexstor.common.exceptions.ejb.EjbException,
                                  com.flexstor.common.exceptions.ejb.NotFoundException,
                                  java.rmi.RemoteException
Confirms that the user logging into Flexstor.DB is authorized to do so. Transaction Attribute: Not Supported