Class DefaultCIBALoginUserResolver
- java.lang.Object
-
- org.keycloak.protocol.oidc.grants.ciba.resolvers.DefaultCIBALoginUserResolver
-
- All Implemented Interfaces:
CIBALoginUserResolver,Provider
public class DefaultCIBALoginUserResolver extends Object implements CIBALoginUserResolver
- Author:
- Takashi Norimatsu
-
-
Constructor Summary
Constructors Constructor Description DefaultCIBALoginUserResolver(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()StringgetInfoUsedByAuthentication(UserModel user)This method converts the UserModel to its corresponding user identifier that can be recognized by the external entity executing AuthN and AuthZ by AD.UserModelgetUserFromInfoUsedByAuthentication(String info)This method converts the user identifier that can be recognized by the external entity executing AuthN and AuthZ by AD to the corresponding UserModel.UserModelgetUserFromLoginHint(String loginHint)This method receives the login_hint parameter and returns its corresponding UserModel.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.protocol.oidc.grants.ciba.resolvers.CIBALoginUserResolver
getUserFromIdTokenHint, getUserFromLoginHintToken
-
-
-
-
Constructor Detail
-
DefaultCIBALoginUserResolver
public DefaultCIBALoginUserResolver(KeycloakSession session)
-
-
Method Detail
-
getUserFromLoginHint
public UserModel getUserFromLoginHint(String loginHint)
Description copied from interface:CIBALoginUserResolverThis method receives the login_hint parameter and returns its corresponding UserModel.- Specified by:
getUserFromLoginHintin interfaceCIBALoginUserResolver- Returns:
- UserModel
-
getInfoUsedByAuthentication
public String getInfoUsedByAuthentication(UserModel user)
Description copied from interface:CIBALoginUserResolverThis method converts the UserModel to its corresponding user identifier that can be recognized by the external entity executing AuthN and AuthZ by AD.- Specified by:
getInfoUsedByAuthenticationin interfaceCIBALoginUserResolver- Returns:
- its corresponding user identifier
-
getUserFromInfoUsedByAuthentication
public UserModel getUserFromInfoUsedByAuthentication(String info)
Description copied from interface:CIBALoginUserResolverThis method converts the user identifier that can be recognized by the external entity executing AuthN and AuthZ by AD to the corresponding UserModel.- Specified by:
getUserFromInfoUsedByAuthenticationin interfaceCIBALoginUserResolver- Returns:
- UserModel
-
-