org.jboss.picketlink.idm.internal.ldap
Class LDAPGroup

java.lang.Object
  extended by org.jboss.picketlink.idm.internal.ldap.DirContextAdaptor
      extended by 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

Field Summary
 String COMMA
           
 
Fields inherited from class org.jboss.picketlink.idm.internal.ldap.DirContextAdaptor
attributes, EQUAL, handler, SPACE_STRING
 
Fields inherited from interface org.jboss.picketlink.idm.model.Group
KEY_PREFIX
 
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
LDAPGroup()
           
 
Method Summary
 void addChildGroup(LDAPGroup childGroup)
           
 void addRole(LDAPRole role)
           
static LDAPGroup create(Attributes attributes, String groupDNSuffix)
           
 String getDN()
           
 String getGroupDNSuffix()
           
 String getId()
           
 String getName()
           
 Group getParentGroup()
           
 void removeRole(LDAPRole role)
           
 void setGroupDNSuffix(String groupDNSuffix)
           
 void setName(String name)
           
 void setParentGroup(Group parent)
           
 
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
 
Methods inherited from interface org.jboss.picketlink.idm.model.IdentityType
getAttribute, getAttributes, getAttributeValues, getCreationDate, getExpirationDate, getKey, isEnabled, removeAttribute, setAttribute, setAttribute
 

Field Detail

COMMA

public final String COMMA
See Also:
Constant Field Values
Constructor Detail

LDAPGroup

public LDAPGroup()
Method Detail

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.