public class JaasAuthenticationPlugin extends CRaSHPlugin<AuthenticationPlugin> implements AuthenticationPlugin<java.lang.String>
CONSTRUCTED, FAILED, INITIALIZED, INITIALIZING, logAUTH, NULL| Constructor and Description |
|---|
JaasAuthenticationPlugin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(java.lang.String username,
java.lang.String password)
Returns true if the user is authentified by its username and credential.
|
protected java.lang.Iterable<PropertyDescriptor<?>> |
createConfigurationCapabilities()
Returns a list of
PropertyDescriptor this plugin requires for its configuration. |
java.lang.Class<java.lang.String> |
getCredentialType()
Returns the credential type.
|
AuthenticationPlugin |
getImplementation()
Returns the implementation.
|
java.lang.String |
getName()
Returns the authentication plugin name.
|
destroy, getConfigurationCapabilities, getContext, getStatus, getType, init, toStringpublic java.lang.String getName()
AuthenticationPlugingetName in interface AuthenticationPlugin<java.lang.String>protected java.lang.Iterable<PropertyDescriptor<?>> createConfigurationCapabilities()
CRaSHPluginPropertyDescriptor this plugin requires for its configuration.createConfigurationCapabilities in class CRaSHPlugin<AuthenticationPlugin>public java.lang.Class<java.lang.String> getCredentialType()
AuthenticationPlugingetCredentialType in interface AuthenticationPlugin<java.lang.String>public boolean authenticate(java.lang.String username,
java.lang.String password)
throws java.lang.Exception
AuthenticationPluginauthenticate in interface AuthenticationPlugin<java.lang.String>username - the usernamepassword - the credentialjava.lang.Exception - any exception that would prevent authentication to happenpublic AuthenticationPlugin getImplementation()
CRaSHPlugingetImplementation in class CRaSHPlugin<AuthenticationPlugin>Copyright © 2014 eXo Platform SAS. All Rights Reserved.