info.informatica.security.auth
Class AuthenticationDatabase

java.lang.Object
  extended by info.informatica.security.auth.AuthenticationDatabase
Direct Known Subclasses:
AnonymousAuthentication, FileAuthenticationDatabase, SQLAuthenticationDatabase

public abstract class AuthenticationDatabase
extends Object

Base de datos de usuarios

Author:
amengual at informatica dot info

Method Summary
abstract  void add(UserInfo user)
           
abstract  void delete(LoginPrincipal name)
           
 Authenticator getAuthenticator()
           
 CryptFactory getCryptFactory()
           
 RoleDatabase getRoleDatabase()
           
 Subject getSubject(LoginPrincipal name)
           
abstract  UserInfo getUserInfo(LoginPrincipal name)
           
 void setRoleDatabase(RoleDatabase rdb)
           
abstract  void update(UserInfo user)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAuthenticator

public Authenticator getAuthenticator()

getCryptFactory

public CryptFactory getCryptFactory()

setRoleDatabase

public void setRoleDatabase(RoleDatabase rdb)

getRoleDatabase

public RoleDatabase getRoleDatabase()

getSubject

public Subject getSubject(LoginPrincipal name)
                   throws AuthenticationDatabaseException
Throws:
AuthenticationDatabaseException

add

public abstract void add(UserInfo user)
                  throws AuthenticationDatabaseException
Throws:
AuthenticationDatabaseException

update

public abstract void update(UserInfo user)
                     throws AuthenticationDatabaseException
Throws:
AuthenticationDatabaseException

delete

public abstract void delete(LoginPrincipal name)
                     throws AuthenticationDatabaseException
Throws:
AuthenticationDatabaseException

getUserInfo

public abstract UserInfo getUserInfo(LoginPrincipal name)
                              throws AuthenticationDatabaseException
Throws:
AuthenticationDatabaseException