|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthenticationScheme
A means to do password-based authentication.
Method Summary | |
---|---|
boolean |
check(org.outerj.daisy.repository.Credentials credentials)
|
void |
clearCaches()
Clear caches maintained by this authentication scheme, if any. |
org.outerj.daisy.repository.user.User |
createUser(org.outerj.daisy.repository.Credentials crendentials,
org.outerj.daisy.repository.user.UserManager userManager)
If a user does not exist, the authentication scheme can be offered the possibility to create the user (this is defined in the configuration of the UserAuthenticator). |
java.lang.String |
getDescription()
|
java.lang.String |
getName()
A unique name for this authentication scheme (max. |
Method Detail |
---|
java.lang.String getName()
java.lang.String getDescription()
boolean check(org.outerj.daisy.repository.Credentials credentials) throws AuthenticationException
AuthenticationException
- if an error occured while authenticatingvoid clearCaches()
org.outerj.daisy.repository.user.User createUser(org.outerj.daisy.repository.Credentials crendentials, org.outerj.daisy.repository.user.UserManager userManager) throws AuthenticationException
AuthenticationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |