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 |
|---|---|
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.wildfly.security.auth.server.SecurityRealm |
getElytronSecurityRealm()
Get an Elytron
SecurityRealm that is backed by this subject supplemental. |
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.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicepublic 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.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.Copyright © 2018 JBoss by Red Hat. All rights reserved.