public class DefaultCIBALoginUserResolver extends Object implements CIBALoginUserResolver
Constructor and Description |
---|
DefaultCIBALoginUserResolver(KeycloakSession session) |
Modifier and Type | Method and 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUserFromIdTokenHint, getUserFromLoginHintToken
public DefaultCIBALoginUserResolver(KeycloakSession session)
public UserModel getUserFromLoginHint(String loginHint)
CIBALoginUserResolver
getUserFromLoginHint
in interface CIBALoginUserResolver
public String getInfoUsedByAuthentication(UserModel user)
CIBALoginUserResolver
getInfoUsedByAuthentication
in interface CIBALoginUserResolver
public UserModel getUserFromInfoUsedByAuthentication(String info)
CIBALoginUserResolver
getUserFromInfoUsedByAuthentication
in interface CIBALoginUserResolver
Copyright © 2021 JBoss by Red Hat. All rights reserved.