public interface SecurityRealm
| Modifier and Type | Interface and Description |
|---|---|
static class |
SecurityRealm.ServiceUtil |
| Modifier and Type | Method and Description |
|---|---|
AuthorizingCallbackHandler |
getAuthorizingCallbackHandler(AuthMechanism mechanism) |
org.wildfly.security.auth.server.HttpAuthenticationFactory |
getHttpAuthenticationFactory()
Get a
HttpAuthenticationFactory backed by this SecurityRealm. |
Map<String,String> |
getMechanismConfig(AuthMechanism mechanism) |
String |
getName() |
org.wildfly.security.auth.server.SaslAuthenticationFactory |
getSaslAuthenticationFactory()
Get a
SaslAuthenticationFactory backed by this SecurityRealm. |
org.wildfly.security.auth.server.SaslAuthenticationFactory |
getSaslAuthenticationFactory(String[] mechanismNames,
Boolean policyNoanonymous)
Get a
SaslAuthenticationFactory backed by this SecurityRealm. |
CallbackHandlerFactory |
getSecretCallbackHandlerFactory() |
SSLContext |
getSSLContext()
Used to obtain the SSLContext as configured for this security realm.
|
SubjectIdentity |
getSubjectIdentity(String protocol,
String forHost)
Used to obtain a
SubjectIdentity containing a Subject for the Kerberos server identity represented by this SecurityRealm. |
Set<AuthMechanism> |
getSupportedAuthenticationMechanisms() |
boolean |
isReadyForHttpChallenge()
Indicate of this security realm is ready for challenge/response style HTTP authentication.
|
String getName()
Set<AuthMechanism> getSupportedAuthenticationMechanisms()
Map<String,String> getMechanismConfig(AuthMechanism mechanism)
AuthorizingCallbackHandler getAuthorizingCallbackHandler(AuthMechanism mechanism)
mechanism - - The mechanism being used for authentication.AuthorizingCallbackHandler for the specified mechanism.IllegalArgumentException - If the mechanism is not supported by this realm.boolean isReadyForHttpChallenge()
SSLContext getSSLContext()
CallbackHandlerFactory getSecretCallbackHandlerFactory()
SubjectIdentity getSubjectIdentity(String protocol, String forHost)
SubjectIdentity containing a Subject for the Kerberos server identity represented by this SecurityRealm.
This method can return null if there is no appropriate identity.protocol - The protocol in use.forHost - The name of the host this identity should represent.SubjectIdentity for the server identity or null if none are available.org.wildfly.security.auth.server.SaslAuthenticationFactory getSaslAuthenticationFactory()
SaslAuthenticationFactory backed by this SecurityRealm.SaslAuthenticationFactory backed by this SecurityRealm.org.wildfly.security.auth.server.SaslAuthenticationFactory getSaslAuthenticationFactory(String[] mechanismNames, Boolean policyNoanonymous) throws org.jboss.msc.service.StartException
SaslAuthenticationFactory backed by this SecurityRealm.mechanismNames - Allowed mechanisms defined in remoting subsystem by property SASL_MECHANISMSpolicyNoanonymous - Value of parameter SASL_POLICY_NOANONYMOUSSaslAuthenticationFactory backed by this SecurityRealm.org.jboss.msc.service.StartException - When any of mechanismNames is not suuported.org.wildfly.security.auth.server.HttpAuthenticationFactory getHttpAuthenticationFactory()
HttpAuthenticationFactory backed by this SecurityRealm.HttpAuthenticationFactory backed by this SecurityRealm.Copyright © 2018 JBoss by Red Hat. All rights reserved.