org.apache.jetspeed.om.security.ldap
Class LDAPGroup
java.lang.Object
org.apache.jetspeed.om.security.ldap.BaseLDAPObject
org.apache.jetspeed.om.security.ldap.LDAPGroup
- All Implemented Interfaces:
- javax.naming.Context, javax.naming.directory.DirContext, Group
- public class LDAPGroup
- extends BaseLDAPObject
- implements Group
- Version:
- $Id: LDAPGroup.java,v 1.6 2004/02/23 03:12:13 jford Exp $
- Author:
- Ender KILICOGLU, Sami Leino
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 |
Method Summary |
java.lang.String |
getId()
Get the id of the Group |
java.lang.String |
getName()
Get the name of the Group |
boolean |
isNew()
|
void |
setId(java.lang.String id)
Set the id of the Group |
void |
setName(java.lang.String groupName)
Set the name of the Group |
void |
update(boolean create)
|
Methods inherited from class org.apache.jetspeed.om.security.ldap.BaseLDAPObject |
addToEnvironment, bind, bind, bind, bind, close, composeName, composeName, createId, createSubcontext, createSubcontext, createSubcontext, createSubcontext, deserializePerm, destroySubcontext, destroySubcontext, fastgetutil, formatDate, getAttributes, getAttributes, getAttributes, getAttributes, getEnvironment, getldapurl, getNameInNamespace, getNameParser, getNameParser, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, getupdated, getutil, getutil, getutil, getutil, isOK, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, parseDate, parseDate, rebind, rebind, rebind, rebind, removeFromEnvironment, removeutil, rename, rename, search, search, search, search, search, search, search, search, serializePerm, setLdapUrl, setObjectClass, setObjectClasses, setutil, setutil, setutil, setutil, toString, unbind, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OBJECT_CLASS
protected static final java.lang.String OBJECT_CLASS
- See Also:
- Constant Field Values
ORGANIZATIONAL_UNIT
protected static final java.lang.String ORGANIZATIONAL_UNIT
- See Also:
- Constant Field Values
ATTR_GROUP_NAME
protected static final java.lang.String ATTR_GROUP_NAME
- See Also:
- Constant Field Values
ATTR_GROUP_ID
protected static final java.lang.String ATTR_GROUP_ID
- See Also:
- Constant Field Values
name
protected java.lang.String name
id
protected java.lang.String id
isNew
protected boolean isNew
LDAPGroup
public LDAPGroup()
LDAPGroup
public LDAPGroup(java.lang.String id)
LDAPGroup
public LDAPGroup(java.lang.String name,
boolean isNew)
LDAPGroup
public LDAPGroup(LDAPURL ldapurl)
update
public void update(boolean create)
throws GroupException
- Throws:
GroupException
getName
public java.lang.String getName()
- Get the name of the Group
- Specified by:
getName
in interface Group
- Overrides:
getName
in class BaseLDAPObject
- Returns:
- the name of the group.
setName
public void setName(java.lang.String groupName)
- Set the name of the Group
- Specified by:
setName
in interface Group
- Overrides:
setName
in class BaseLDAPObject
- Parameters:
groupName
- the name of the Group.
getId
public java.lang.String getId()
- Get the id of the Group
- Specified by:
getId
in interface Group
- Overrides:
getId
in class BaseLDAPObject
- Returns:
- the id of the group.
setId
public void setId(java.lang.String id)
- Set the id of the Group
- Specified by:
setId
in interface Group
- Overrides:
setId
in class BaseLDAPObject
- Parameters:
id
- the new id for the group
isNew
public boolean isNew()
- Overrides:
isNew
in class BaseLDAPObject
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.