public class PropertiesSubjectSupplemental extends PropertiesFileLoader implements org.jboss.msc.service.Service<SubjectSupplementalService>, SubjectSupplementalService
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertiesSubjectSupplemental.ServiceUtil |
COMMENT_PREFIX, DISABLE_SUFFIX_KEY, propertiesFile, PROPERTY_PATTERN| Constructor and Description |
|---|
PropertiesSubjectSupplemental(String realmName,
String path,
String relativeTo) |
| Modifier and Type | Method and Description |
|---|---|
org.wildfly.security.auth.server.SecurityRealm |
getElytronSecurityRealm()
Get an Elytron
SecurityRealm that is backed by this subject supplemental. |
org.jboss.as.domain.management.security.SubjectSupplemental |
getSubjectSupplemental(Map<String,Object> sharedState)
Obtain a SubjectSupplemental instance to load role information.
|
SubjectSupplementalService |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
void |
supplementSubject(Subject subject) |
addLineContent, beginPersistence, cleanKey, endPersistence, escapeString, getPathManagerInjectorInjector, getProperties, load, loadAsRequired, persistProperties, readFile, safeClose, verifyProperties, writepublic SubjectSupplementalService getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<SubjectSupplementalService>IllegalStateExceptionIllegalArgumentExceptionpublic void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Servicestart in class PropertiesFileLoaderorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicestop in class PropertiesFileLoaderpublic org.jboss.as.domain.management.security.SubjectSupplemental getSubjectSupplemental(Map<String,Object> sharedState)
SubjectSupplementalServicegetSubjectSupplemental in interface SubjectSupplementalServicesharedState - - The state to be shared between the authentication side of the call and the authorization side.public org.wildfly.security.auth.server.SecurityRealm getElytronSecurityRealm()
SubjectSupplementalServiceSecurityRealm that is backed by this subject supplemental.getElytronSecurityRealm in interface SubjectSupplementalServiceSecurityRealm that is backed by this subject supplemental.public void supplementSubject(Subject subject) throws IOException
IOExceptionSubjectSupplemental.supplementSubject(javax.security.auth.Subject)Copyright © 2018 JBoss by Red Hat. All rights reserved.