org.opentox.toxotis.util.aa.policy
Class PolicySubject

java.lang.Object
  extended by org.opentox.toxotis.util.aa.policy.PolicySubject
Direct Known Subclasses:
GroupSubject, SingleSubject

public abstract class PolicySubject
extends Object

Any subject of a policy that can either be an individual user or a group of such.

Author:
Pantelis Sopasakis, Charalampos Chomenides

Field Summary
protected  String LDAP_Type
           
 
Constructor Summary
PolicySubject()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getSubjectName()
           
abstract  String getValue()
           
 int hashCode()
           
 void setSubjectName(String subjectName)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LDAP_Type

protected String LDAP_Type
Constructor Detail

PolicySubject

public PolicySubject()
Method Detail

getSubjectName

public String getSubjectName()

setSubjectName

public void setSubjectName(String subjectName)

getValue

public abstract String getValue()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011-2012 OpenTox. All Rights Reserved.