Class DefaultCIBALoginUserResolver

    • Constructor Detail

      • DefaultCIBALoginUserResolver

        public DefaultCIBALoginUserResolver​(org.keycloak.models.KeycloakSession session)
    • Method Detail

      • getUserFromLoginHint

        public org.keycloak.models.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 interface CIBALoginUserResolver
        Returns:
        UserModel
      • getInfoUsedByAuthentication

        public String getInfoUsedByAuthentication​(org.keycloak.models.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 interface CIBALoginUserResolver
        Returns:
        its corresponding user identifier
      • getUserFromInfoUsedByAuthentication

        public org.keycloak.models.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 interface CIBALoginUserResolver
        Returns:
        UserModel
      • close

        public void close()
        Specified by:
        close in interface org.keycloak.provider.Provider