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 AuthenticationScheme
s (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)
|
setUserManager
void setUserManager(org.outerj.daisy.repository.user.UserManager userManager)
authenticate
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
org.outerj.daisy.repository.user.AuthenticationSchemeInfos getAuthenticationSchemes()
- Returns the list of available (= registered) authentication schemes.
Copyright © -2012 . All Rights Reserved.