keycloak-service
公開メンバ関数 | 静的公開メンバ関数 | 全メンバ一覧
org.keycloak.authentication.authenticators.x509.UserIdentityToModelMapper.UsernameOrEmailMapper クラス
org.keycloak.authentication.authenticators.x509.UserIdentityToModelMapper.UsernameOrEmailMapper の継承関係図
Inheritance graph
org.keycloak.authentication.authenticators.x509.UserIdentityToModelMapper.UsernameOrEmailMapper 連携図
Collaboration graph

公開メンバ関数

UserModel find (AuthenticationFlowContext context, Object userIdentity) throws Exception
 

静的公開メンバ関数

static UserIdentityToModelMapper getUsernameOrEmailMapper ()
 
static UserIdentityToModelMapper getUserIdentityToCustomAttributeMapper (String attributeName)
 

詳解

関数詳解

◆ find()

UserModel org.keycloak.authentication.authenticators.x509.UserIdentityToModelMapper.UsernameOrEmailMapper.find ( AuthenticationFlowContext  context,
Object  userIdentity 
) throws Exception
inline
42  {
43  return KeycloakModelUtils.findUserByNameOrEmail(context.getSession(), context.getRealm(), userIdentity.toString().trim());
44  }

◆ getUserIdentityToCustomAttributeMapper()

static UserIdentityToModelMapper org.keycloak.authentication.authenticators.x509.UserIdentityToModelMapper.getUserIdentityToCustomAttributeMapper ( String  attributeName)
inlinestaticinherited
69  {
70  return new UserIdentityToCustomAttributeMapper(attributeName);
71  }

◆ getUsernameOrEmailMapper()

static UserIdentityToModelMapper org.keycloak.authentication.authenticators.x509.UserIdentityToModelMapper.getUsernameOrEmailMapper ( )
inlinestaticinherited
65  {
66  return new UsernameOrEmailMapper();
67  }

このクラス詳解は次のファイルから抽出されました: