Esri Geoportal Server
1.0

com.esri.gpt.framework.security.principal
Class UserAttribute

java.lang.Object
  extended by com.esri.gpt.framework.collection.StringAttribute
      extended by com.esri.gpt.framework.security.principal.UserAttribute

public class UserAttribute
extends StringAttribute

Represents an attribute associated with a user's profile.


Constructor Summary
UserAttribute()
          Default constructor.
UserAttribute(String key, String value)
          Constructs with a supplied key and value.
UserAttribute(UserAttribute attributeToClone)
          Constructs a clone of the supplied attribute.
 
Method Summary
 String getLdapName()
          Gets the corresponding LDAP name for this attribute.
 void setLdapName(String name)
          Sets the corresponding LDAP name for this attribute.
 String toString()
          Returns the string representation of the object.
 
Methods inherited from class com.esri.gpt.framework.collection.StringAttribute
getKey, getValue, setKey, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserAttribute

public UserAttribute()
Default constructor.


UserAttribute

public UserAttribute(String key,
                     String value)
Constructs with a supplied key and value.

Parameters:
key - the key
value - the value

UserAttribute

public UserAttribute(UserAttribute attributeToClone)
Constructs a clone of the supplied attribute.

Parameters:
attributeToClone - the attribute to clone
Method Detail

getLdapName

public String getLdapName()
Gets the corresponding LDAP name for this attribute.

Returns:
the LDAP name

setLdapName

public void setLdapName(String name)
Sets the corresponding LDAP name for this attribute.

Parameters:
name - the LDAP name

toString

public String toString()
Returns the string representation of the object.

Overrides:
toString in class StringAttribute
Returns:
the string

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.