AuthenticationConstants
, PluggableAuthenticator
WindowsSSONAuthenticatorADInfo
public abstract class WindowsSSONAuthenticator extends DefaultAuthenticator
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 |
---|---|
WindowsSSONAuthenticator() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
allowPasswordUpdates(User user,
Object authentication,
int authType,
int reqSource) |
The DefaultAuthenticator always allows password updates.
|
boolean |
allowProfileUpdates(User user,
Object authentication,
int authType,
int reqSource) |
The DefaultAuthenticator always allows profile updates.
|
User |
checkLogin(String login,
Object authentication,
int authType,
int reqSource) |
Checks the login of a user against the user profile provided in ITracker.
|
protected abstract User |
getExternalUserInfo(String login) |
getConfigurationService, getUserService, initialize
allowPermissionUpdates, allowPreferenceUpdates, allowProfileCreation, allowRegistration, createProfile, getUserPermissions, getUsersWithProjectPermission, getUsersWithProjectPermission, updateProfile
public User checkLogin(String login, Object authentication, int authType, int reqSource) throws AuthenticatorException
DefaultAuthenticator
checkLogin
in interface PluggableAuthenticator
checkLogin
in class DefaultAuthenticator
login
- the login the user/client providedauthentication
- the user's authentication information, if knownauthType
- the type of authentication information being providedreqSource
- the source of the request (eg web, api)AuthenticatorException
- an exception if the login is unsuccessful, or an error occursorg.itracker.ejb.authentication.AbstractPluggableAuthenticator#checkLogin(java.lang.String,
java.lang.Object, int, int)
protected abstract User getExternalUserInfo(String login) throws AuthenticatorException
AuthenticatorException
public boolean allowProfileUpdates(User user, Object authentication, int authType, int reqSource) throws AuthenticatorException
DefaultAuthenticator
allowProfileUpdates
in interface PluggableAuthenticator
allowProfileUpdates
in class DefaultAuthenticator
user
- a User object that contains the data the user submittedauthentication
- the user's authentication information, if knownauthType
- the type of authentication information being providedreqSource
- the source of the request (eg web, api)AuthenticatorException
- an exception if an error occursPluggableAuthenticator.allowPasswordUpdates(org.itracker.model.User, java.lang.Object, int, int)
,
PluggableAuthenticator.allowPermissionUpdates(org.itracker.model.User, java.lang.Object, int, int)
,
PluggableAuthenticator.allowPreferenceUpdates(org.itracker.model.User, java.lang.Object, int, int)
public boolean allowPasswordUpdates(User user, Object authentication, int authType, int reqSource) throws AuthenticatorException
DefaultAuthenticator
allowPasswordUpdates
in interface PluggableAuthenticator
allowPasswordUpdates
in class DefaultAuthenticator
user
- a User object that contains the data the user submittedauthentication
- the user's authentication information, if knownauthType
- the type of authentication information being providedreqSource
- the source of the request (eg web, api)AuthenticatorException
- an exception if an error occursPluggableAuthenticator.allowProfileUpdates(org.itracker.model.User, java.lang.Object, int, int)
,
PluggableAuthenticator.allowPermissionUpdates(org.itracker.model.User, java.lang.Object, int, int)
,
PluggableAuthenticator.allowPreferenceUpdates(org.itracker.model.User, java.lang.Object, int, int)
Copyright © 2002–2019 itracker. All rights reserved.