Interface CIBALoginUserResolver
- All Superinterfaces:
Provider
- All Known Implementing Classes:
DefaultCIBALoginUserResolver
Provides the resolver that converts several types of receives login hint to its corresponding UserModel.
Also converts between UserModel and the user identifier that can be recognized by the external entity executing AuthN and AuthZ by AD.
- Author:
- Takashi Norimatsu
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
This method converts the UserModel to its corresponding user identifier that can be recognized by the external entity executing AuthN and AuthZ by AD.default UserModel
getUserFromIdTokenHint
(String idToken) This method receives the id_token_hint parameter and returns its corresponding UserModel.This method converts the user identifier that can be recognized by the external entity executing AuthN and AuthZ by AD to the corresponding UserModel.default UserModel
getUserFromLoginHint
(String loginHint) This method receives the login_hint parameter and returns its corresponding UserModel.default UserModel
getUserFromLoginHintToken
(String loginHintToken) This method receives the login_hint_token parameter and returns its corresponding UserModel.
-
Method Details
-
getUserFromLoginHint
This method receives the login_hint parameter and returns its corresponding UserModel.- Parameters:
loginHint
-- Returns:
- UserModel
-
getUserFromLoginHintToken
This method receives the login_hint_token parameter and returns its corresponding UserModel.- Parameters:
loginHintToken
-- Returns:
- UserModel
-
getUserFromIdTokenHint
This method receives the id_token_hint parameter and returns its corresponding UserModel.- Parameters:
idToken
-- Returns:
- UserModel
-
getInfoUsedByAuthentication
This method converts the UserModel to its corresponding user identifier that can be recognized by the external entity executing AuthN and AuthZ by AD.- Parameters:
user
-- Returns:
- its corresponding user identifier
-
getUserFromInfoUsedByAuthentication
This method converts the user identifier that can be recognized by the external entity executing AuthN and AuthZ by AD to the corresponding UserModel.- Parameters:
info
-- Returns:
- UserModel
-