站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

LDAPConnectionContext - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.identity2.ldap
Class LDAPConnectionContext

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.portal.jems.as.system.AbstractJBossService
              extended byorg.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

Field Summary
private  java.lang.String adminDN
           
private  java.lang.String adminPassword
           
private  java.lang.String authentication
           
private  java.lang.String contextFactory
           
private  java.lang.String name
           
private  java.lang.String protocol
           
private  java.lang.String providerUrl
           
 
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)
           
 
Method Summary
 javax.naming.ldap.InitialLdapContext createInitialContext()
           
 java.lang.String getAdminDN()
           
 java.lang.String getAdminPassword()
           
 java.lang.String getAuthentication()
           
 java.lang.String getContextFactory()
           
 java.lang.String getName()
           
 java.lang.String getProtocol()
           
 java.lang.String getProviderUrl()
           
 void setAdminDN(java.lang.String adminDN)
           
 void setAdminPassword(java.lang.String adminPassword)
           
 void setAuthentication(java.lang.String authentication)
           
 void setContextFactory(java.lang.String contextFactory)
           
 void setName(java.lang.String name)
           
 void setProtocol(java.lang.String protocol)
           
 void setProviderUrl(java.lang.String providerUrl)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jboss.portal.jems.as.system.AbstractJBossService
create, destroy, getState, getStateString, start, stop
 
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
 

Field Detail

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
Constructor Detail

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)
Method Detail

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)