public class AdminACLEntry
extends java.lang.Object
Constructor and Description |
---|
AdminACLEntry(PrincipalInfo principal,
AdminPermissions permissions)
Constructor used to create AdminACLEntries that will be passed to
TibjmsAdmin.grant() and TibjmsAdmin.revoke() methods.
|
Modifier and Type | Method and Description |
---|---|
AdminPermissions |
getPermissions()
Get the permissions for this entry.
|
PrincipalInfo |
getPrincipal()
Get the principal that this entry applies to.
|
void |
setPermissions(AdminPermissions permissions)
Set the permissions for this entry.
|
void |
setPrincipal(PrincipalInfo principal)
Set the principal that this entry applies to.
|
java.lang.String |
toString()
Generate a string representation of this AdminACLEntry.
|
public AdminACLEntry(PrincipalInfo principal, AdminPermissions permissions)
principal
- the principal that has the permissions.permissions
- the permissions for this entry.public PrincipalInfo getPrincipal()
public void setPrincipal(PrincipalInfo principal)
principal
- the PrincipalInfo that this AdminACLEntry will apply to.public AdminPermissions getPermissions()
public void setPermissions(AdminPermissions permissions)
permissions
- the permissions for this entry.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © Cloud Software Group, Inc. All rights reserved