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

クラス

enum  IdentityMapperType
 
enum  MappingSourceType
 

公開メンバ関数

 X509AuthenticatorConfigModel (AuthenticatorConfigModel model)
 
 X509AuthenticatorConfigModel ()
 
boolean getCRLEnabled ()
 
X509AuthenticatorConfigModel setCRLEnabled (boolean value)
 
boolean getOCSPEnabled ()
 
X509AuthenticatorConfigModel setOCSPEnabled (boolean value)
 
boolean getCRLDistributionPointEnabled ()
 
X509AuthenticatorConfigModel setCRLDistributionPointEnabled (boolean value)
 
String getCRLRelativePath ()
 
X509AuthenticatorConfigModel setCRLRelativePath (String path)
 
String getOCSPResponder ()
 
X509AuthenticatorConfigModel setOCSPResponder (String responderUri)
 
MappingSourceType getMappingSourceType ()
 
X509AuthenticatorConfigModel setMappingSourceType (MappingSourceType value)
 
IdentityMapperType getUserIdentityMapperType ()
 
X509AuthenticatorConfigModel setUserIdentityMapperType (IdentityMapperType value)
 
String getRegularExpression ()
 
X509AuthenticatorConfigModel setRegularExpression (String value)
 
String getCustomAttributeName ()
 
X509AuthenticatorConfigModel setCustomAttributeName (String value)
 
String getKeyUsage ()
 
X509AuthenticatorConfigModel setKeyUsage (String value)
 
String getExtendedKeyUsage ()
 
X509AuthenticatorConfigModel setExtendedKeyUsage (String value)
 
boolean getConfirmationPageDisallowed ()
 
boolean getConfirmationPageAllowed ()
 
X509AuthenticatorConfigModel setConfirmationPageDisallowed (boolean value)
 
X509AuthenticatorConfigModel setConfirmationPageAllowed (boolean value)
 

静的非公開変数類

static final long serialVersionUID = 1L
 

詳解

著者
Peter Nalyvayko
バージョン
Revision
1
から
10/26/2016

構築子と解体子

◆ X509AuthenticatorConfigModel() [1/2]

org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.X509AuthenticatorConfigModel ( AuthenticatorConfigModel  model)
inline
83  {
84  this.setAlias(model.getAlias());
85  this.setId(model.getId());
86  this.setConfig(model.getConfig());
87  }

◆ X509AuthenticatorConfigModel() [2/2]

org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.X509AuthenticatorConfigModel ( )
inline
88  {
89 
90  }

関数詳解

◆ getConfirmationPageAllowed()

boolean org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getConfirmationPageAllowed ( )
inline
219  {
220  return !Boolean.parseBoolean(getConfig().get(CONFIRMATION_PAGE_DISALLOWED));
221  }

◆ getConfirmationPageDisallowed()

boolean org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getConfirmationPageDisallowed ( )
inline
215  {
216  return Boolean.parseBoolean(getConfig().get(CONFIRMATION_PAGE_DISALLOWED));
217  }

◆ getCRLDistributionPointEnabled()

boolean org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getCRLDistributionPointEnabled ( )
inline
110  {
111  return Boolean.parseBoolean(getConfig().get(ENABLE_CRLDP));
112  }

◆ getCRLEnabled()

boolean org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getCRLEnabled ( )
inline
92  {
93  return Boolean.parseBoolean(getConfig().get(ENABLE_CRL));
94  }

◆ getCRLRelativePath()

String org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getCRLRelativePath ( )
inline
119  {
120  return getConfig().getOrDefault(CRL_RELATIVE_PATH, null);
121  }

◆ getCustomAttributeName()

String org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getCustomAttributeName ( )
inline
176  {
177  return getConfig().getOrDefault(CUSTOM_ATTRIBUTE_NAME, DEFAULT_ATTRIBUTE_NAME);
178  }

◆ getExtendedKeyUsage()

String org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getExtendedKeyUsage ( )
inline
202  {
203  return getConfig().getOrDefault(CERTIFICATE_EXTENDED_KEY_USAGE, null);
204  }

◆ getKeyUsage()

String org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getKeyUsage ( )
inline
189  {
190  return getConfig().getOrDefault(CERTIFICATE_KEY_USAGE, null);
191  }

◆ getMappingSourceType()

MappingSourceType org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getMappingSourceType ( )
inline
145  {
146  return MappingSourceType.parse(getConfig().getOrDefault(MAPPING_SOURCE_SELECTION, MAPPING_SOURCE_CERT_SUBJECTDN));
147  }

◆ getOCSPEnabled()

boolean org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getOCSPEnabled ( )
inline
101  {
102  return Boolean.parseBoolean(getConfig().get(ENABLE_OCSP));
103  }

◆ getOCSPResponder()

String org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getOCSPResponder ( )
inline
132  {
133  return getConfig().getOrDefault(OCSPRESPONDER_URI, null);
134  }

◆ getRegularExpression()

String org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getRegularExpression ( )
inline
163  {
164  return getConfig().getOrDefault(REGULAR_EXPRESSION,DEFAULT_MATCH_ALL_EXPRESSION);
165  }

◆ getUserIdentityMapperType()

IdentityMapperType org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.getUserIdentityMapperType ( )
inline
154  {
155  return IdentityMapperType.parse(getConfig().getOrDefault(USER_MAPPER_SELECTION, USERNAME_EMAIL_MAPPER));
156  }

◆ setConfirmationPageAllowed()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setConfirmationPageAllowed ( boolean  value)
inline
228  {
229  getConfig().put(CONFIRMATION_PAGE_DISALLOWED, Boolean.toString(!value));
230  return this;
231  }

◆ setConfirmationPageDisallowed()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setConfirmationPageDisallowed ( boolean  value)
inline
223  {
224  getConfig().put(CONFIRMATION_PAGE_DISALLOWED, Boolean.toString(value));
225  return this;
226  }

◆ setCRLDistributionPointEnabled()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setCRLDistributionPointEnabled ( boolean  value)
inline
114  {
115  getConfig().put(ENABLE_CRLDP, Boolean.toString(value));
116  return this;
117  }

◆ setCRLEnabled()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setCRLEnabled ( boolean  value)
inline
96  {
97  getConfig().put(ENABLE_CRL, Boolean.toString(value));
98  return this;
99  }

◆ setCRLRelativePath()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setCRLRelativePath ( String  path)
inline
123  {
124  if (path != null) {
125  getConfig().put(CRL_RELATIVE_PATH, path);
126  } else {
127  getConfig().remove(CRL_RELATIVE_PATH);
128  }
129  return this;
130  }

◆ setCustomAttributeName()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setCustomAttributeName ( String  value)
inline
180  {
181  if (value != null) {
182  getConfig().put(CUSTOM_ATTRIBUTE_NAME, value);
183  } else {
184  getConfig().remove(CUSTOM_ATTRIBUTE_NAME);
185  }
186  return this;
187  }

◆ setExtendedKeyUsage()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setExtendedKeyUsage ( String  value)
inline
206  {
207  if (value != null) {
208  getConfig().put(CERTIFICATE_EXTENDED_KEY_USAGE, value);
209  } else {
210  getConfig().remove(CERTIFICATE_EXTENDED_KEY_USAGE);
211  }
212  return this;
213  }

◆ setKeyUsage()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setKeyUsage ( String  value)
inline
193  {
194  if (value != null) {
195  getConfig().put(CERTIFICATE_KEY_USAGE, value);
196  } else {
197  getConfig().remove(CERTIFICATE_KEY_USAGE);
198  }
199  return this;
200  }

◆ setMappingSourceType()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setMappingSourceType ( MappingSourceType  value)
inline
149  {
150  getConfig().put(MAPPING_SOURCE_SELECTION, value.getName());
151  return this;
152  }

◆ setOCSPEnabled()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setOCSPEnabled ( boolean  value)
inline
105  {
106  getConfig().put(ENABLE_OCSP, Boolean.toString(value));
107  return this;
108  }

◆ setOCSPResponder()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setOCSPResponder ( String  responderUri)
inline
136  {
137  if (responderUri != null) {
138  getConfig().put(OCSPRESPONDER_URI, responderUri);
139  } else {
140  getConfig().remove(OCSPRESPONDER_URI);
141  }
142  return this;
143  }

◆ setRegularExpression()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setRegularExpression ( String  value)
inline
167  {
168  if (value != null) {
169  getConfig().put(REGULAR_EXPRESSION, value);
170  } else {
171  getConfig().remove(REGULAR_EXPRESSION);
172  }
173  return this;
174  }

◆ setUserIdentityMapperType()

X509AuthenticatorConfigModel org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.setUserIdentityMapperType ( IdentityMapperType  value)
inline
158  {
159  getConfig().put(USER_MAPPER_SELECTION, value.getName());
160  return this;
161  }

メンバ詳解

◆ serialVersionUID

final long org.keycloak.authentication.authenticators.x509.X509AuthenticatorConfigModel.serialVersionUID = 1L
staticprivate

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