Package com.tibco.tibjms.admin
Class PrincipalInfo
- java.lang.Object
- 
- com.tibco.tibjms.admin.PrincipalInfo
 
- 
- 
Constructor SummaryConstructors Constructor Description PrincipalInfo(java.lang.Object json)For Internal use only, may be removed or deprecated in future.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Get the description of this user or group.java.lang.StringgetName()Get the name of this user or group.booleanisExternal()Indicates whether or not this user or group is external.voidsetDescription(java.lang.String description)Set the description of this user or group.java.lang.StringtoString()Generate a string representation of this PrincipalInfo.
 
- 
- 
- 
Constructor Detail- 
PrincipalInfopublic PrincipalInfo(java.lang.Object json) throws JMSExceptionFor Internal use only, may be removed or deprecated in future.- Throws:
- JMSException
 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Get the name of this user or group.- Returns:
- the name of this user or group.
 
 - 
getDescriptionpublic java.lang.String getDescription() Get the description of this user or group.- Returns:
- the description of this user or group.
 
 - 
setDescriptionpublic void setDescription(java.lang.String description) throws TibjmsAdminExceptionSet the description of this user or group. If the user or group is external then it is an error to attempt to change its description.- Parameters:
- description- the description of this user or group.
- Throws:
- TibjmsAdminException- if the user or group is external.
 
 - 
isExternalpublic boolean isExternal() Indicates whether or not this user or group is external. Users and groups that are defined in an external repository such as an LDAP server are external whereas those defined in users.conf or groups.conf are not.- Returns:
- true if the user or group is external, false otherwise.
 
 - 
toStringpublic java.lang.String toString() Generate a string representation of this PrincipalInfo.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- a string representation of this PrincipalInfo.
 
 
- 
 
-