public class SecurityRealmService extends Object implements org.jboss.msc.service.Service<SecurityRealmService>, SecurityRealm
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
BASE_SERVICE_NAME |
| Constructor and Description |
|---|
SecurityRealmService(String name) |
| Modifier and Type | Method and Description |
|---|---|
DomainCallbackHandler |
getCallbackHandler()
Used to obtain the callback handler for the configured 'authorizations'.
|
org.jboss.msc.value.InjectedValue<DomainCallbackHandler> |
getCallbackHandlerInjector() |
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<SSLIdentityService> |
getSSLIdentityInjector() |
SubjectSupplemental |
getSubjectSupplemental()
Used to obtain the linked SubjectSupplemental if available.
|
org.jboss.msc.value.InjectedValue<SubjectSupplemental> |
getSubjectSupplementalInjector() |
SecurityRealmService |
getValue() |
boolean |
hasTrustStore()
Identify if a trust store has been configured for authentication, if defined it means CLIENT-CERT type authentication can
occur.
|
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static final org.jboss.msc.service.ServiceName BASE_SERVICE_NAME
public SecurityRealmService(String name)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<SecurityRealmService>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<SecurityRealmService>public SecurityRealmService getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<SecurityRealmService>IllegalStateExceptionIllegalArgumentExceptionpublic String getName()
getName in interface SecurityRealmpublic org.jboss.msc.value.InjectedValue<DomainCallbackHandler> getCallbackHandlerInjector()
public org.jboss.msc.value.InjectedValue<SubjectSupplemental> getSubjectSupplementalInjector()
public org.jboss.msc.value.InjectedValue<SSLIdentityService> getSSLIdentityInjector()
public org.jboss.msc.value.InjectedValue<CallbackHandlerFactory> getSecretCallbackFactory()
public DomainCallbackHandler getCallbackHandler()
getCallbackHandler in interface SecurityRealmpublic SubjectSupplemental getSubjectSupplemental()
getSubjectSupplemental in interface SecurityRealmSubjectSupplemental The linkes SubjectSupplemental.public SSLContext getSSLContext()
SecurityRealmgetSSLContext in interface SecurityRealmpublic boolean hasTrustStore()
SecurityRealmhasTrustStore in interface SecurityRealmpublic CallbackHandlerFactory getSecretCallbackHandlerFactory()
getSecretCallbackHandlerFactory in interface SecurityRealmCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.