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 void
close()
String
getInfoUsedByAuthentication(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.UserModel
getUserFromInfoUsedByAuthentication(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.UserModel
getUserFromLoginHint(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:CIBALoginUserResolver
This method receives the login_hint parameter and returns its corresponding UserModel.- Specified by:
getUserFromLoginHint
in interfaceCIBALoginUserResolver
- Returns:
- UserModel
-
getInfoUsedByAuthentication
public String getInfoUsedByAuthentication(UserModel user)
Description copied from interface:CIBALoginUserResolver
This 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:
getInfoUsedByAuthentication
in interfaceCIBALoginUserResolver
- Returns:
- its corresponding user identifier
-
getUserFromInfoUsedByAuthentication
public UserModel getUserFromInfoUsedByAuthentication(String info)
Description copied from interface:CIBALoginUserResolver
This 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:
getUserFromInfoUsedByAuthentication
in interfaceCIBALoginUserResolver
- Returns:
- UserModel
-
-