public class LdapSubjectSupplementalService extends Object implements org.jboss.msc.service.Service<SubjectSupplementalService>, SubjectSupplementalService
SubjectSupplemental for loading a users groups from LDAP.| Modifier and Type | Class and Description |
|---|---|
class |
LdapSubjectSupplementalService.LdapSubjectSupplemental |
static class |
LdapSubjectSupplementalService.ServiceUtil |
| Modifier and Type | Field and Description |
|---|---|
protected int |
searchTimeLimit |
| Constructor and Description |
|---|
LdapSubjectSupplementalService(String realmName,
boolean shareConnection,
boolean forceUserDnSearch,
boolean iterative,
BaseLdapGroupSearchResource.GroupName groupName) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.inject.Injector<LdapConnectionManager> |
getConnectionManagerInjector() |
org.jboss.msc.inject.Injector<org.jboss.as.domain.management.security.LdapSearcherCache<org.jboss.as.domain.management.security.LdapEntry[],org.jboss.as.domain.management.security.LdapEntry>> |
getLdapGroupSearcherInjector() |
org.jboss.msc.inject.Injector<org.jboss.as.domain.management.security.LdapSearcherCache<org.jboss.as.domain.management.security.LdapEntry,String>> |
getLdapUserSearcherInjector() |
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) |
protected final int searchTimeLimit
public LdapSubjectSupplementalService(String realmName, boolean shareConnection, boolean forceUserDnSearch, boolean iterative, BaseLdapGroupSearchResource.GroupName groupName)
public 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>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<SubjectSupplementalService>public org.jboss.msc.inject.Injector<LdapConnectionManager> getConnectionManagerInjector()
public org.jboss.msc.inject.Injector<org.jboss.as.domain.management.security.LdapSearcherCache<org.jboss.as.domain.management.security.LdapEntry,String>> getLdapUserSearcherInjector()
public org.jboss.msc.inject.Injector<org.jboss.as.domain.management.security.LdapSearcherCache<org.jboss.as.domain.management.security.LdapEntry[],org.jboss.as.domain.management.security.LdapEntry>> getLdapGroupSearcherInjector()
public 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.Copyright © 2015 JBoss by Red Hat. All rights reserved.