Package com.tibco.tibjms.admin
Class PrincipalInfo
- java.lang.Object
-
- com.tibco.tibjms.admin.PrincipalInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Get the description of this user or group.java.lang.String
getName()
Get the name of this user or group.boolean
isExternal()
Indicates whether or not this user or group is external.void
setDescription(java.lang.String description)
Set the description of this user or group.java.lang.String
toString()
Generate a string representation of this PrincipalInfo.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name of this user or group.- Returns:
- the name of this user or group.
-
getDescription
public java.lang.String getDescription()
Get the description of this user or group.- Returns:
- the description of this user or group.
-
setDescription
public void setDescription(java.lang.String description) throws TibjmsAdminException
Set 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.
-
isExternal
public 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.
-
toString
public java.lang.String toString()
Generate a string representation of this PrincipalInfo.- Overrides:
toString
in classjava.lang.Object
- Returns:
- a string representation of this PrincipalInfo.
-
-