C - the credential parameter typepublic interface AuthenticationPlugin<C>
| Modifier and Type | Field and Description |
|---|---|
static PropertyDescriptor<java.util.List> |
AUTH
The authentication plugin to use.
|
static AuthenticationPlugin<java.lang.Object> |
NULL
The plugin that never authenticates, returns the name value
null. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(java.lang.String username,
C credential)
Returns true if the user is authentified by its username and credential.
|
java.lang.Class<C> |
getCredentialType()
Returns the credential type.
|
java.lang.String |
getName()
Returns the authentication plugin name.
|
static final PropertyDescriptor<java.util.List> AUTH
static final AuthenticationPlugin<java.lang.Object> NULL
null.java.lang.String getName()
java.lang.Class<C> getCredentialType()
boolean authenticate(java.lang.String username,
C credential)
throws java.lang.Exception
username - the usernamecredential - the credentialjava.lang.Exception - any exception that would prevent authentication to happenCopyright © 2014 eXo Platform SAS. All Rights Reserved.