Interface CIBALoginUserResolver

All Superinterfaces:
Provider
All Known Implementing Classes:
DefaultCIBALoginUserResolver

public interface CIBALoginUserResolver extends Provider
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 Details

    • getUserFromLoginHint

      default UserModel getUserFromLoginHint(String loginHint)
      This method receives the login_hint parameter and returns its corresponding UserModel.
      Parameters:
      loginHint -
      Returns:
      UserModel
    • getUserFromLoginHintToken

      default UserModel getUserFromLoginHintToken(String loginHintToken)
      This method receives the login_hint_token parameter and returns its corresponding UserModel.
      Parameters:
      loginHintToken -
      Returns:
      UserModel
    • getUserFromIdTokenHint

      default UserModel getUserFromIdTokenHint(String idToken)
      This method receives the id_token_hint parameter and returns its corresponding UserModel.
      Parameters:
      idToken -
      Returns:
      UserModel
    • getInfoUsedByAuthentication

      default 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.
      Parameters:
      user -
      Returns:
      its corresponding user identifier
    • getUserFromInfoUsedByAuthentication

      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.
      Parameters:
      info -
      Returns:
      UserModel