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, 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.service.Service<SubjectSupplementalService>start in class PropertiesFileLoaderorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<SubjectSupplementalService>stop 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 void supplementSubject(Subject subject) throws IOException
IOExceptionSubjectSupplemental.supplementSubject(javax.security.auth.Subject)Copyright © 2015 JBoss by Red Hat. All rights reserved.