com.atlassian.user.impl.ldap.properties
Class DefaultLdapMembershipProperties

java.lang.Object
  extended bycom.atlassian.user.impl.ldap.properties.DefaultLdapMembershipProperties
All Implemented Interfaces:
LdapMembershipProperties

public class DefaultLdapMembershipProperties
extends java.lang.Object
implements LdapMembershipProperties


Constructor Summary
DefaultLdapMembershipProperties()
           
 
Method Summary
 java.lang.String getMembershipAttribute()
           
 boolean isMembershipAttributeOnGroup()
           
 boolean isMembershipAttributeUnqualified()
           
 void setMembershipAttribute(java.lang.String membershipAttribute)
           
 void setMembershipAttributeOnGroup(boolean membershipAttributeOnGroup)
           
 void setMembershipAttributeUnqualified(boolean membershipAttributeUnqualified)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLdapMembershipProperties

public DefaultLdapMembershipProperties()
Method Detail

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 java.lang.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(java.lang.String membershipAttribute)

setMembershipAttributeUnqualified

public void setMembershipAttributeUnqualified(boolean membershipAttributeUnqualified)


Copyright © 2005-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.