当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
LDAPConnectionContext - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.identity2.ldap
Class LDAPConnectionContext
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.identity2.ldap.LDAPConnectionContext
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class LDAPConnectionContext
- extends AbstractJBossService
Keeps configuration of connection to LDAP server
- Version:
- $Revision: 1.1 $
- Author:
- Boleslaw Dawidowicz
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary |
LDAPConnectionContext(java.lang.String name,
java.lang.String url,
java.lang.String context,
java.lang.String admin,
java.lang.String password,
java.lang.String protocol,
java.lang.String authentication)
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
createService, destroyService, getDeploymentInfo, getLog, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, startService, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
private java.lang.String name
providerUrl
private java.lang.String providerUrl
contextFactory
private java.lang.String contextFactory
adminDN
private java.lang.String adminDN
adminPassword
private java.lang.String adminPassword
protocol
private java.lang.String protocol
authentication
private java.lang.String authentication
LDAPConnectionContext
public LDAPConnectionContext(java.lang.String name,
java.lang.String url,
java.lang.String context,
java.lang.String admin,
java.lang.String password,
java.lang.String protocol,
java.lang.String authentication)
createInitialContext
public javax.naming.ldap.InitialLdapContext createInitialContext()
toString
public java.lang.String toString()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getProviderUrl
public java.lang.String getProviderUrl()
setProviderUrl
public void setProviderUrl(java.lang.String providerUrl)
getContextFactory
public java.lang.String getContextFactory()
setContextFactory
public void setContextFactory(java.lang.String contextFactory)
getAdminDN
public java.lang.String getAdminDN()
setAdminDN
public void setAdminDN(java.lang.String adminDN)
getAdminPassword
public java.lang.String getAdminPassword()
setAdminPassword
public void setAdminPassword(java.lang.String adminPassword)
getProtocol
public java.lang.String getProtocol()
setProtocol
public void setProtocol(java.lang.String protocol)
getAuthentication
public java.lang.String getAuthentication()
setAuthentication
public void setAuthentication(java.lang.String authentication)