com.sas.hls.security.acl
Interface AclPrincipal

All Superinterfaces:
Serializable
All Known Subinterfaces:
Principal
All Known Implementing Classes:
AclMembers, AclOwner, Group, GroupDescriptor, User, UserDescriptor

public interface AclPrincipal
extends Serializable

An interface indicating a principal for which permissions (acls) can be assigned.


Method Summary
 boolean equals(Object obj)
          Refer to the java.lang.Object documentation for the interface contract.
 String getPrincipalId()
          Returns the principal id of the aclPrincipal
 String getPrincipalName()
          Returns the principal name of the aclPrincipal
 int hashCode()
          Refer to the java.lang.Object documentation for the interface contract.
 

Method Detail

getPrincipalId

String getPrincipalId()
Returns the principal id of the aclPrincipal

Returns:
String that represents the principal id

getPrincipalName

String getPrincipalName()
Returns the principal name of the aclPrincipal

Returns:
String that represents the principal name

equals

boolean equals(Object obj)
Refer to the java.lang.Object documentation for the interface contract.

Overrides:
equals in class Object
Parameters:
obj - to be compared
Returns:
true if the objects are equal, false otherwise

hashCode

int hashCode()
Refer to the java.lang.Object documentation for the interface contract.

Overrides:
hashCode in class Object
Returns:
a hash code representation of this object


Copyright (c) 2016, SAS Institute Inc., Cary, NC, USA