Package org.gluu.oxauth.service
Class AuthenticationService
java.lang.Object
org.gluu.oxauth.service.AuthenticationService
Authentication service methods
- Version:
- November 23, 2017
- Author:
- Yuriy Movchan, Javier Rojas Blum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(String userName) booleanauthenticate(String userName, String password) Authenticate user.booleanauthenticate(String nameValue, String password, String... nameAttributes) Authenticate user.booleanauthenticate(String keyValue, String password, String primaryKey, String localPrimaryKey) booleanauthenticate(org.gluu.model.ldap.GluuLdapConfiguration ldapAuthConfig, org.gluu.persist.PersistenceEntryManager ldapAuthEntryManager, String keyValue, String password, String primaryKey, String localPrimaryKey) booleanauthenticate(org.gluu.model.ldap.GluuLdapConfiguration ldapAuthConfig, org.gluu.persist.PersistenceEntryManager ldapAuthEntryManager, String keyValue, String password, String primaryKey, String localPrimaryKey, boolean updateMetrics) voidclearExternalScriptExtraParameters(Map<String, String> sessionIdAttributes) voidconfigureEventUser(SessionId sessionId) voidconfigureSessionClient(Client client) configureSessionUser(SessionId sessionId, Map<String, String> sessionIdAttributes) voidcopyAuthenticatorExternalAttributes(SessionId oldSession, SessionId newSession) getExternalScriptExtraParameters(Map<String, String> sessionIdAttributes) List<org.gluu.model.ldap.GluuLdapConfiguration> List<org.gluu.persist.PersistenceEntryManager> getParametersMap(List<String> extraParameters) getUserOrRemoveSession(SessionId p_sessionId) booleanisParameterExists(String p_name) voidonSuccessfulLogin(SessionId sessionUser) voidquietLogin(String userName) voidsetExternalScriptExtraParameters(Map<String, String> sessionIdAttributes, Map<String, String> authExternalAttributes) void
-
Constructor Details
-
AuthenticationService
public AuthenticationService()
-
-
Method Details
-
authenticate
Authenticate user.- Parameters:
userName- The username.password- The user's password.- Returns:
trueif success, otherwisefalse.
-
authenticate
Authenticate user.- Parameters:
nameValue- The name value to find userpassword- The user's password.nameAttributes- List of attribute to search.- Returns:
trueif success, otherwisefalse.
-
authenticate
-
authenticate
-
authenticate
-
authenticate
-
configureSessionUser
-
configureEventUser
-
configureEventUser
-
quietLogin
-
getAuthenticatedUser
-
getAuthenticatedUserId
-
configureSessionClient
-
configureSessionClient
-
onSuccessfulLogin
-
getUserOrRemoveSession
-
parametersAsString
- Throws:
UnsupportedEncodingException
-
getParametersMap
-
isParameterExists
-
updateExtraParameters
-
getExternalScriptExtraParameters
-
setExternalScriptExtraParameters
-
clearExternalScriptExtraParameters
-
copyAuthenticatorExternalAttributes
-
getLdapAuthConfigs
-
getLdapAuthEntryManagers
-