|
Daisy Open Source CMS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AuthenticationScheme
Interface to be implemented by (password-based) authentication mechanisms.
The AuthenticationScheme should be registered as a plugin with the
PluginRegistry
| Method Summary | |
|---|---|
boolean |
check(Credentials credentials)
|
void |
clearCaches()
Clear caches maintained by this authentication scheme, if any. |
User |
createUser(Credentials crendentials,
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). |
String |
getDescription()
|
| Method Detail |
|---|
String getDescription()
boolean check(Credentials credentials)
throws AuthenticationException
AuthenticationException - if an error occured while authenticatingvoid clearCaches()
User createUser(Credentials crendentials,
UserManager userManager)
throws AuthenticationException
AuthenticationException
|
Daisy Open Source CMS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||