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, waitgetUserFromIdTokenHint, getUserFromLoginHintTokenpublic DefaultCIBALoginUserResolver(KeycloakSession session)
public UserModel getUserFromLoginHint(String loginHint)
CIBALoginUserResolvergetUserFromLoginHint in interface CIBALoginUserResolverpublic String getInfoUsedByAuthentication(UserModel user)
CIBALoginUserResolvergetInfoUsedByAuthentication in interface CIBALoginUserResolverpublic UserModel getUserFromInfoUsedByAuthentication(String info)
CIBALoginUserResolvergetUserFromInfoUsedByAuthentication in interface CIBALoginUserResolverCopyright © 2021 JBoss by Red Hat. All rights reserved.