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.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, write
public SubjectSupplementalService getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<SubjectSupplementalService>
IllegalStateException
IllegalArgumentException
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<SubjectSupplementalService>
start
in class PropertiesFileLoader
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<SubjectSupplementalService>
stop
in class PropertiesFileLoader
public org.jboss.as.domain.management.security.SubjectSupplemental getSubjectSupplemental(Map<String,Object> sharedState)
SubjectSupplementalService
getSubjectSupplemental
in interface SubjectSupplementalService
sharedState
- - The state to be shared between the authentication side of the call and the authorization side.public void supplementSubject(Subject subject) throws IOException
IOException
SubjectSupplemental.supplementSubject(javax.security.auth.Subject)
Copyright © 2023 JBoss by Red Hat. All rights reserved.