info.informatica.security.auth
Class AnonymousAuthentication

java.lang.Object
  extended by info.informatica.security.auth.AuthenticationDatabase
      extended by info.informatica.security.auth.AnonymousAuthentication

public class AnonymousAuthentication
extends AuthenticationDatabase

Base de datos de usuarios anónimos (sin autentificación)

Version:
1.01
Author:
amengual

Constructor Summary
AnonymousAuthentication()
           
 
Method Summary
 void add(UserInfo user)
           
 void close()
           
 void delete(LoginPrincipal name)
           
 Set getRoles(LoginPrincipal name)
           
 Subject getSubject(LoginPrincipal name)
           
 UserInfo getUserInfo(LoginPrincipal name)
           
 void update(UserInfo user)
           
 
Methods inherited from class info.informatica.security.auth.AuthenticationDatabase
getAuthenticator, getCryptFactory, getRoleDatabase, setRoleDatabase
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnonymousAuthentication

public AnonymousAuthentication()
Method Detail

close

public void close()
           throws AuthenticationDatabaseException
Throws:
AuthenticationDatabaseException

getRoles

public Set getRoles(LoginPrincipal name)
             throws AuthenticationDatabaseException
Throws:
AuthenticationDatabaseException

add

public void add(UserInfo user)
         throws AuthenticationDatabaseException
Specified by:
add in class AuthenticationDatabase
Throws:
AuthenticationDatabaseException

update

public void update(UserInfo user)
            throws AuthenticationDatabaseException
Specified by:
update in class AuthenticationDatabase
Throws:
AuthenticationDatabaseException

delete

public void delete(LoginPrincipal name)
            throws AuthenticationDatabaseException
Specified by:
delete in class AuthenticationDatabase
Throws:
AuthenticationDatabaseException

getSubject

public Subject getSubject(LoginPrincipal name)
                   throws AuthenticationDatabaseException
Overrides:
getSubject in class AuthenticationDatabase
Throws:
AuthenticationDatabaseException

getUserInfo

public UserInfo getUserInfo(LoginPrincipal name)
                     throws AuthenticationDatabaseException
Specified by:
getUserInfo in class AuthenticationDatabase
Throws:
AuthenticationDatabaseException