org.csapi.jr.se.pam
Class PAMAccessControlData

java.lang.Object
  extended byorg.csapi.jr.se.pam.PAMAccessControlData
All Implemented Interfaces:
java.io.Serializable

public final class PAMAccessControlData
extends java.lang.Object
implements java.io.Serializable

This is a Sequence of Data Elements for access control data.

See Also:
Serialized Form

Constructor Summary
PAMAccessControlData()
          Creates a new PAMAccessControlData instance.
PAMAccessControlData(PAMACLDefault _defaultPolicy, java.lang.String[] _allowList, java.lang.String[] _denyList)
          Creates a new PAMAccessControlData instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String[] getAllowList()
          This method returns a allowList.
 PAMACLDefault getDefaultPolicy()
          This method returns a defaultPolicy.
 java.lang.String[] getDenyList()
          This method returns a denyList.
 int hashCode()
          Returns a hashcode value for the object.
 void setAllowList(java.lang.String[] allowList)
          This method sets a allowList.
 void setDefaultPolicy(PAMACLDefault defaultPolicy)
          This method sets a defaultPolicy.
 void setDenyList(java.lang.String[] denyList)
          This method sets a denyList.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PAMAccessControlData

public PAMAccessControlData()
Creates a new PAMAccessControlData instance.


PAMAccessControlData

public PAMAccessControlData(PAMACLDefault _defaultPolicy,
                            java.lang.String[] _allowList,
                            java.lang.String[] _denyList)
Creates a new PAMAccessControlData instance.

Parameters:
_defaultPolicy - Specifies whether the default policy is to allow or deny access for names not mentioned in the list
_allowList - Specifies a list of identities to be allowed access
_denyList - Specifies a list of identities to be denied access
Method Detail

getDefaultPolicy

public PAMACLDefault getDefaultPolicy()
This method returns a defaultPolicy.

Returns:
a org.csapi.jr.se.pam.PAMACLDefault value

getAllowList

public java.lang.String[] getAllowList()
This method returns a allowList.

Returns:
a String[] value

getDenyList

public java.lang.String[] getDenyList()
This method returns a denyList.

Returns:
a String[] value

setDefaultPolicy

public void setDefaultPolicy(PAMACLDefault defaultPolicy)
This method sets a defaultPolicy.


setAllowList

public void setAllowList(java.lang.String[] allowList)
This method sets a allowList.


setDenyList

public void setDenyList(java.lang.String[] denyList)
This method sets a denyList.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.


hashCode

public int hashCode()
Returns a hashcode value for the object.