com.liferay.portal.security.ldap
Class LDAPUser

java.lang.Object
  extended bycom.liferay.util.ldap.DummyContext
      extended bycom.liferay.util.ldap.DummyDirContext
          extended bycom.liferay.portal.security.ldap.LDAPUser
All Implemented Interfaces:
javax.naming.Context, javax.naming.directory.DirContext

public class LDAPUser
extends com.liferay.util.ldap.DummyDirContext

View Source

Author:
Scott Lee, Brian Wing Shun Chan

Field Summary
 
Fields inherited from interface javax.naming.directory.DirContext
ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTE
 
Fields inherited from interface javax.naming.Context
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES
 
Constructor Summary
LDAPUser()
           
 
Method Summary
 javax.naming.directory.Attributes getAttributes()
           
 javax.naming.directory.Attributes getAttributes(javax.naming.Name name)
           
 javax.naming.directory.Attributes getAttributes(javax.naming.Name name, java.lang.String[] ids)
           
 javax.naming.directory.Attributes getAttributes(java.lang.String name)
           
 javax.naming.directory.Attributes getAttributes(java.lang.String name, java.lang.String[] ids)
           
 com.liferay.portal.model.User getUser()
           
 void setUser(com.liferay.portal.model.User user)
           
 
Methods inherited from class com.liferay.util.ldap.DummyDirContext
bind, bind, createSubcontext, createSubcontext, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, search, search, search, search, search, search, search, search
 
Methods inherited from class com.liferay.util.ldap.DummyContext
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.naming.Context
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
 

Constructor Detail

LDAPUser

public LDAPUser()
Method Detail

getUser

public com.liferay.portal.model.User getUser()

setUser

public void setUser(com.liferay.portal.model.User user)
             throws java.lang.Exception
Throws:
java.lang.Exception

getAttributes

public javax.naming.directory.Attributes getAttributes()

getAttributes

public javax.naming.directory.Attributes getAttributes(java.lang.String name)
                                                throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getAttributes

public javax.naming.directory.Attributes getAttributes(javax.naming.Name name)
                                                throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getAttributes

public javax.naming.directory.Attributes getAttributes(java.lang.String name,
                                                       java.lang.String[] ids)
                                                throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getAttributes

public javax.naming.directory.Attributes getAttributes(javax.naming.Name name,
                                                       java.lang.String[] ids)
                                                throws javax.naming.NamingException
Throws:
javax.naming.NamingException