public class SecurityRealmService extends Object implements org.jboss.msc.service.Service<SecurityRealm>, SecurityRealm
SecurityRealm.ServiceUtil| Constructor and Description |
|---|
SecurityRealmService(String name,
boolean mapGroupsToRoles) |
| Modifier and Type | Method and Description |
|---|---|
AuthorizingCallbackHandler |
getAuthorizingCallbackHandler(AuthMechanism mechanism) |
org.jboss.msc.value.InjectedSetValue<CallbackHandlerService> |
getCallbackHandlerService() |
Map<String,String> |
getMechanismConfig(AuthMechanism mechanism) |
String |
getName() |
org.jboss.msc.value.InjectedValue<CallbackHandlerFactory> |
getSecretCallbackFactory() |
CallbackHandlerFactory |
getSecretCallbackHandlerFactory() |
SSLContext |
getSSLContext()
Used to obtain the SSLContext as configured for this security realm.
|
org.jboss.msc.value.InjectedValue<SSLIdentity> |
getSSLIdentityInjector() |
org.jboss.msc.value.InjectedValue<SubjectSupplementalService> |
getSubjectSupplementalInjector() |
Set<AuthMechanism> |
getSupportedAuthenticationMechanisms() |
SecurityRealmService |
getValue() |
boolean |
isReady()
Indicate that all supported mechanisms are ready.
|
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public SecurityRealmService(String name, boolean mapGroupsToRoles)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<SecurityRealm>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<SecurityRealm>public SecurityRealmService getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<SecurityRealm>IllegalStateExceptionIllegalArgumentExceptionpublic String getName()
getName in interface SecurityRealmpublic Set<AuthMechanism> getSupportedAuthenticationMechanisms()
getSupportedAuthenticationMechanisms in interface SecurityRealmpublic Map<String,String> getMechanismConfig(AuthMechanism mechanism)
getMechanismConfig in interface SecurityRealmpublic boolean isReady()
SecurityRealmisReady in interface SecurityRealmpublic AuthorizingCallbackHandler getAuthorizingCallbackHandler(AuthMechanism mechanism)
getAuthorizingCallbackHandler in interface SecurityRealmmechanism - - The mechanism being used for authentication.AuthorizingCallbackHandler for the specified mechanism.public org.jboss.msc.value.InjectedValue<SubjectSupplementalService> getSubjectSupplementalInjector()
public org.jboss.msc.value.InjectedValue<SSLIdentity> getSSLIdentityInjector()
public org.jboss.msc.value.InjectedValue<CallbackHandlerFactory> getSecretCallbackFactory()
public org.jboss.msc.value.InjectedSetValue<CallbackHandlerService> getCallbackHandlerService()
public SSLContext getSSLContext()
SecurityRealmgetSSLContext in interface SecurityRealmpublic CallbackHandlerFactory getSecretCallbackHandlerFactory()
getSecretCallbackHandlerFactory in interface SecurityRealmCopyright © 2013 JBoss by Red Hat. All rights reserved.