org.outerj.daisy.authentication
Interface UserAuthenticator

All Known Implementing Classes:
UserAuthenticatorImpl

public interface UserAuthenticator

The UserAuthenticator is responsible for the authentication of users, based on registerable AuthenticationSchemes (see also AuthenticationSchemeRegistrar).


Method Summary
 org.outerj.daisy.repository.commonimpl.AuthenticatedUser authenticate(org.outerj.daisy.repository.Credentials credentials)
           
 org.outerj.daisy.repository.user.AuthenticationSchemeInfos getAuthenticationSchemes()
          Returns the list of available (= registered) authentication schemes.
 void setUserManager(org.outerj.daisy.repository.user.UserManager userManager)
           
 

Method Detail

setUserManager

public void setUserManager(org.outerj.daisy.repository.user.UserManager userManager)

authenticate

public org.outerj.daisy.repository.commonimpl.AuthenticatedUser authenticate(org.outerj.daisy.repository.Credentials credentials)
                                                                      throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.AuthenticationFailedException - if the authentication failed
AuthenticationException - if something failed while authenticating
org.outerj.daisy.repository.RepositoryException

getAuthenticationSchemes

public org.outerj.daisy.repository.user.AuthenticationSchemeInfos getAuthenticationSchemes()
Returns the list of available (= registered) authentication schemes.



Copyright © -2005 . All Rights Reserved.