com.liferay.portal.security.ldap
Class PortalLDAPContext
java.lang.Object
com.liferay.util.ldap.DummyContext
com.liferay.util.ldap.DummyDirContext
com.liferay.portal.security.ldap.PortalLDAPContext
- All Implemented Interfaces:
- Context, DirContext
public class PortalLDAPContext
- extends DummyDirContext
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 |
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 |
PortalLDAPContext
public PortalLDAPContext(Attributes attributes)
PortalLDAPContext
public PortalLDAPContext(boolean ignoreCase)
addAttribute
public void addAttribute(String name,
Object object)
getAttributes
public Attributes getAttributes()
getAttributes
public Attributes getAttributes(Name name)
throws NamingException
- Specified by:
getAttributes
in interface DirContext
- Overrides:
getAttributes
in class DummyDirContext
- Throws:
NamingException
getAttributes
public Attributes getAttributes(Name name,
String[] ids)
throws NamingException
- Specified by:
getAttributes
in interface DirContext
- Overrides:
getAttributes
in class DummyDirContext
- Throws:
NamingException
getAttributes
public Attributes getAttributes(String name)
throws NamingException
- Specified by:
getAttributes
in interface DirContext
- Overrides:
getAttributes
in class DummyDirContext
- Throws:
NamingException
getAttributes
public Attributes getAttributes(String name,
String[] ids)
throws NamingException
- Specified by:
getAttributes
in interface DirContext
- Overrides:
getAttributes
in class DummyDirContext
- Throws:
NamingException
setAttributes
public void setAttributes(Attributes attributes)