com.sas.hls.security.acl
Class AclMembers

java.lang.Object
  extended by com.sas.hls.security.acl.AclMembers
All Implemented Interfaces:
AclPrincipal, Serializable

public class AclMembers
extends Object
implements AclPrincipal

A data object which represents the members acl. For every AclSecurable, there is one AclMembers entry which designates the permissions for the members of the associated context of the object.

See Also:
Serialized Form

Constructor Summary
AclMembers()
          Zero-arg AclMembers constructor
AclMembers(String principalId)
          AclMembers constructor
 
Method Summary
 boolean equals(Object obj)
          Refer to the java.lang.Object documentation for the interface contract.
 String getPrincipalId()
          Gets the principal id of the acl members principal
 String getPrincipalName()
          Gets the principal name of the acl members principal
 int hashCode()
          Refer to the java.lang.Object documentation for the interface contract.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AclMembers

public AclMembers()
Zero-arg AclMembers constructor


AclMembers

public AclMembers(String principalId)
AclMembers constructor

Parameters:
principalId - pricipalId of the acl members principal
Method Detail

getPrincipalId

public String getPrincipalId()
Gets the principal id of the acl members principal

Specified by:
getPrincipalId in interface AclPrincipal
Returns:
The principal id of the acl members principal

getPrincipalName

public String getPrincipalName()
Gets the principal name of the acl members principal

Specified by:
getPrincipalName in interface AclPrincipal
Returns:
The principal name of the acl members principal

hashCode

public int hashCode()
Description copied from interface: AclPrincipal
Refer to the java.lang.Object documentation for the interface contract.

Specified by:
hashCode in interface AclPrincipal
Overrides:
hashCode in class Object
Returns:
a hash code representation of this object

equals

public boolean equals(Object obj)
Description copied from interface: AclPrincipal
Refer to the java.lang.Object documentation for the interface contract.

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


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