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.StartException
public 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>
IllegalStateException
IllegalArgumentException
public String getName()
getName
in interface SecurityRealm
public 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 SecurityRealm
public SubjectSupplemental getSubjectSupplemental()
getSubjectSupplemental
in interface SecurityRealm
SubjectSupplemental
The linkes SubjectSupplemental.public SSLContext getSSLContext()
SecurityRealm
getSSLContext
in interface SecurityRealm
public boolean hasTrustStore()
SecurityRealm
hasTrustStore
in interface SecurityRealm
public CallbackHandlerFactory getSecretCallbackHandlerFactory()
getSecretCallbackHandlerFactory
in interface SecurityRealm
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.