public class LdapConnectionManagerService extends Object implements org.jboss.msc.service.Service<LdapConnectionManagerService>, ConnectionManager
| Modifier and Type | Class and Description |
|---|---|
static class |
LdapConnectionManagerService.ServiceUtil |
| Constructor and Description |
|---|
LdapConnectionManagerService(org.jboss.dmr.ModelNode resolvedConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getConnection()
Obtain a connection based purely on the configuration.
|
Object |
getConnection(String principal,
String credential)
Obtain a connection based on the configuration but override the
principal and credential.
|
org.jboss.msc.value.InjectedValue<SSLIdentity> |
getSSLIdentityInjector() |
LdapConnectionManagerService |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public LdapConnectionManagerService(org.jboss.dmr.ModelNode resolvedConfiguration)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<LdapConnectionManagerService>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<LdapConnectionManagerService>public LdapConnectionManagerService getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<LdapConnectionManagerService>IllegalStateExceptionIllegalArgumentExceptionpublic org.jboss.msc.value.InjectedValue<SSLIdentity> getSSLIdentityInjector()
public Object getConnection() throws Exception
ConnectionManagergetConnection in interface ConnectionManagerExceptionpublic Object getConnection(String principal, String credential) throws Exception
ConnectionManagergetConnection in interface ConnectionManagerprincipal - - The principal to use when connecting.credential - - The credential to use when connecting.ExceptionCopyright © 2013 JBoss by Red Hat. All rights reserved.