org.jboss.picketlink.idm.internal.ldap
Class LDAPGroup
java.lang.Object
org.jboss.picketlink.idm.internal.ldap.DirContextAdaptor
org.jboss.picketlink.idm.internal.ldap.LDAPGroup
- All Implemented Interfaces:
- Context, DirContext, Group, IdentityType
public class LDAPGroup
- extends DirContextAdaptor
- implements Group
LDAP Representation of the Group
- Since:
- Sep 4, 2012
- Author:
- anil saldhana
| Fields inherited from interface org.jboss.picketlink.idm.model.Group |
KEY_PREFIX |
| 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 org.jboss.picketlink.idm.internal.ldap.DirContextAdaptor |
addToEnvironment, bind, bind, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getAttribute, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getAttributeValues, getCreationDate, getEnvironment, getExpirationDate, getKey, getNameInNamespace, getNameParser, getNameParser, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, isEnabled, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, rebind, rebind, removeAttribute, removeFromEnvironment, rename, rename, search, search, search, search, search, search, search, search, setAttribute, setAttribute, setLDAPChangeNotificationHandler, unbind, unbind |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMA
public final String COMMA
- See Also:
- Constant Field Values
LDAPGroup
public LDAPGroup()
getDN
public String getDN()
addRole
public void addRole(LDAPRole role)
removeRole
public void removeRole(LDAPRole role)
getId
public String getId()
- Specified by:
getId in interface Group
setName
public void setName(String name)
getName
public String getName()
- Specified by:
getName in interface Group
setParentGroup
public void setParentGroup(Group parent)
getParentGroup
public Group getParentGroup()
- Specified by:
getParentGroup in interface Group
addChildGroup
public void addChildGroup(LDAPGroup childGroup)
getGroupDNSuffix
public String getGroupDNSuffix()
setGroupDNSuffix
public void setGroupDNSuffix(String groupDNSuffix)
create
public static LDAPGroup create(Attributes attributes,
String groupDNSuffix)
Copyright © 2012. All Rights Reserved.