com.sun.im.service
Interface CollaborationPrincipal

All Superinterfaces:
java.security.Principal
All Known Subinterfaces:
CollaborationGroup

public interface CollaborationPrincipal
extends java.security.Principal


Method Summary
 java.util.Set getAttributeValues(java.lang.String attribute)
          retrieve the value of a single-valued or multi-valued user attribute
 java.lang.String getDisplayName()
          get the display string to use for this principal
 java.lang.String getDomainName()
          get the canonical domain name for this principal
 java.lang.String getProperty(java.lang.String attribute)
          retrieve the value of a single-valued user attribute
 java.lang.String getUID()
          get the fully qualified uid for this principal
 java.util.Enumeration propertyNames()
          retrieve the names of all properties available, both single and multi-valued.
 void setAttributeValues(java.lang.String attribute, java.util.Set values)
          set the values of a single-valued or multi-valued attribute
 void setProperty(java.lang.String attribute, java.lang.String value)
          retrieve the value of a single-valued user attribute
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Method Detail

getUID

public java.lang.String getUID()
get the fully qualified uid for this principal


getDisplayName

public java.lang.String getDisplayName()
get the display string to use for this principal


getDomainName

public java.lang.String getDomainName()
get the canonical domain name for this principal


getProperty

public java.lang.String getProperty(java.lang.String attribute)
retrieve the value of a single-valued user attribute


setProperty

public void setProperty(java.lang.String attribute,
                        java.lang.String value)
retrieve the value of a single-valued user attribute


propertyNames

public java.util.Enumeration propertyNames()
retrieve the names of all properties available, both single and multi-valued.


setAttributeValues

public void setAttributeValues(java.lang.String attribute,
                               java.util.Set values)
set the values of a single-valued or multi-valued attribute


getAttributeValues

public java.util.Set getAttributeValues(java.lang.String attribute)
retrieve the value of a single-valued or multi-valued user attribute