Package com.tibco.tibjms.admin
Class ACLEntry
- java.lang.Object
- 
- com.tibco.tibjms.admin.ACLEntry
 
- 
 public class ACLEntry extends java.lang.ObjectAn ACLEntry represents the set of permissions that a Principal (User or Group) has on a Destination (Topic or Queue).
- 
- 
Constructor SummaryConstructors Constructor Description ACLEntry(DestinationInfo destination, PrincipalInfo principal, Permissions permissions)Constructor used to create ACLEntries that will be passed to TibjmsAdmin.grant() and TibjmsAdmin.revoke() methods.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DestinationInfogetDestination()Get the destination that this entry applies to.PermissionsgetPermissions()Get the permissions for this entry.PrincipalInfogetPrincipal()Get the principal that this entry applies to.voidsetDestination(DestinationInfo destination)Set the destination that this entry applies to.voidsetPermissions(Permissions permissions)Set the permissions for this entry.voidsetPrincipalName(PrincipalInfo principal)Set the principal that this entry applies to.java.lang.StringtoString()Generate a string representation of this ACLEntry.
 
- 
- 
- 
Constructor Detail- 
ACLEntrypublic ACLEntry(DestinationInfo destination, PrincipalInfo principal, Permissions permissions) Constructor used to create ACLEntries that will be passed to TibjmsAdmin.grant() and TibjmsAdmin.revoke() methods.- Parameters:
- destination- the destination the permissions apply to.
- principal- the principal that has the permissions.
- permissions- the permissions for this entry.
 
 
- 
 - 
Method Detail- 
getDestinationpublic DestinationInfo getDestination() Get the destination that this entry applies to.- Returns:
- the DestinationInfo that this ACLEntry applies to.
 
 - 
setDestinationpublic void setDestination(DestinationInfo destination) Set the destination that this entry applies to.- Parameters:
- destination- The DestinationInfo that this ACLEntry will apply to.
 
 - 
getPrincipalpublic PrincipalInfo getPrincipal() Get the principal that this entry applies to.- Returns:
- the PrincipalInfo that this ACLEntry applies to.
 
 - 
setPrincipalNamepublic void setPrincipalName(PrincipalInfo principal) Set the principal that this entry applies to.- Parameters:
- principal- the PrincipalInfo that this ACLEntry will apply to.
 
 - 
getPermissionspublic Permissions getPermissions() Get the permissions for this entry.- Returns:
- the permissions for this entry.
 
 - 
setPermissionspublic void setPermissions(Permissions permissions) Set the permissions for this entry.- Parameters:
- permissions- the permissions for this entry.
 
 - 
toStringpublic java.lang.String toString() Generate a string representation of this ACLEntry.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- a string representation of this ACLEntry.
 
 
- 
 
-