org.itracker.core.AuthenticationConstants, PluggableAuthenticatorDefaultAuthenticatorpublic abstract class AbstractPluggableAuthenticator extends Object implements PluggableAuthenticator, org.itracker.core.AuthenticationConstants
AUTH_TYPE_CERTIFICATE, AUTH_TYPE_PASSWORD_ENC, AUTH_TYPE_PASSWORD_PLAIN, AUTH_TYPE_REQUEST, AUTH_TYPE_SHARED_SECRET, AUTH_TYPE_UNKNOWN, REQ_SOURCE_API, REQ_SOURCE_UNKNOWN, REQ_SOURCE_WEB, UPDATE_TYPE_CORE, UPDATE_TYPE_PERMISSION_ADD, UPDATE_TYPE_PERMISSION_SET, UPDATE_TYPE_PREFERENCE| Constructor | Description |
|---|---|
AbstractPluggableAuthenticator() |
| Modifier and Type | Method | Description |
|---|---|---|
ConfigurationService |
getConfigurationService() |
Returns an ConfigurationService session bean that can be used to retreive properties
that have been set in the system.
|
UserService |
getUserService() |
Returns a UserService session bean that can be used to call needed methods such
as retrieving a user.
|
void |
initialize(Map<?,?> values) |
This method is called after creating a new instance of the Authenticator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowPasswordUpdates, allowPermissionUpdates, allowPreferenceUpdates, allowProfileCreation, allowProfileUpdates, allowRegistration, checkLogin, createProfile, getUserPermissions, getUsersWithProjectPermission, getUsersWithProjectPermission, updateProfilepublic void initialize(Map<?,?> values)
initialize in interface PluggableAuthenticatorvalues - A HashMap that contains some default information. The current calls
pass a UserService bean as userService, and an ConfigurationService
bean as configurationServicepublic UserService getUserService() throws AuthenticatorException
AuthenticatorException - an exception if an error occurpublic ConfigurationService getConfigurationService() throws AuthenticatorException
AuthenticatorException - an exception if an error occurCopyright © 2002–2019 itracker. All rights reserved.