com.atlassian.user.impl.ldap.properties
Class DefaultLdapMembershipProperties
java.lang.Object
com.atlassian.user.impl.ldap.properties.DefaultLdapMembershipProperties
- All Implemented Interfaces:
- LdapMembershipProperties
public class DefaultLdapMembershipProperties
- extends Object
- implements LdapMembershipProperties
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLdapMembershipProperties
public DefaultLdapMembershipProperties()
isMembershipAttributeOnGroup
public boolean isMembershipAttributeOnGroup()
- Specified by:
isMembershipAttributeOnGroup in interface LdapMembershipProperties
- Returns:
true if the membership attribute specified in LdapMembershipProperties.getMembershipAttribute() is
on the group record (the most common situation), or false if the user record lists the memberships
of the user.
getMembershipAttribute
public String getMembershipAttribute()
- Specified by:
getMembershipAttribute in interface LdapMembershipProperties
- Returns:
- attribute name of the attribute on an LDAP group or user which represents a user's membership in that group,
for example 'member'
isMembershipAttributeUnqualified
public boolean isMembershipAttributeUnqualified()
- Specified by:
isMembershipAttributeUnqualified in interface LdapMembershipProperties
- Returns:
false if the membership attribute specified in LdapMembershipProperties.getMembershipAttribute() is a
fully-qualified distinguished name (DN), or true if the membership attribute has an unqualified
identifier of the member or group.- See Also:
LdapSearchProperties.getUsernameAttribute(),
LdapSearchProperties.getGroupnameAttribute()
setMembershipAttributeOnGroup
public void setMembershipAttributeOnGroup(boolean membershipAttributeOnGroup)
setMembershipAttribute
public void setMembershipAttribute(String membershipAttribute)
setMembershipAttributeUnqualified
public void setMembershipAttributeUnqualified(boolean membershipAttributeUnqualified)
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.