|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.rules.RuleSubjectActAs
public class RuleSubjectActAs
definition for the subject act as for a rule
Field Summary | |
---|---|
static java.lang.String |
ACT_AS_SEPARATOR
when packing things in a single param, this is the separator |
Constructor Summary | |
---|---|
RuleSubjectActAs()
|
|
RuleSubjectActAs(java.lang.String subjectId,
java.lang.String sourceId,
java.lang.String subjectIdentifier)
|
Method Summary | |
---|---|
static void |
actAsThreadLocalAssign(edu.internet2.middleware.subject.Subject subject)
clear act as thread local |
static void |
actAsThreadLocalClear()
clear act as thread local |
static boolean |
allowedToActAs(RuleDefinition ruleDefinition,
edu.internet2.middleware.subject.Subject subject,
edu.internet2.middleware.subject.Subject subjectToActAs)
see if a subject can act as another subject |
java.lang.String |
getSourceId()
source id to act as |
java.lang.String |
getSubjectId()
subject id to act as |
java.lang.String |
getSubjectIdentifier()
subject identifier to act as |
void |
setSourceId(java.lang.String sourceId1)
source id to act as |
void |
setSubjectId(java.lang.String subjectId1)
subject id to act as |
void |
setSubjectIdentifier(java.lang.String subjectIdentifier1)
subject identifier to act as |
edu.internet2.middleware.subject.Subject |
subject(boolean exceptionIfNotFound)
resolve the subject |
java.lang.String |
toString()
|
java.lang.String |
validate(RuleDefinition ruleDefinition)
validate this |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ACT_AS_SEPARATOR
Constructor Detail |
---|
public RuleSubjectActAs(java.lang.String subjectId, java.lang.String sourceId, java.lang.String subjectIdentifier)
subjectId
- sourceId
- subjectIdentifier
- public RuleSubjectActAs()
Method Detail |
---|
public java.lang.String getSubjectId()
public void setSubjectId(java.lang.String subjectId1)
subjectId1
- public java.lang.String getSourceId()
public void setSourceId(java.lang.String sourceId1)
sourceId1
- public java.lang.String getSubjectIdentifier()
public void setSubjectIdentifier(java.lang.String subjectIdentifier1)
subjectIdentifier1
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public edu.internet2.middleware.subject.Subject subject(boolean exceptionIfNotFound)
exceptionIfNotFound
- true if exception if not found
public static void actAsThreadLocalClear()
public static void actAsThreadLocalAssign(edu.internet2.middleware.subject.Subject subject)
public java.lang.String validate(RuleDefinition ruleDefinition)
ruleDefinition
-
public static boolean allowedToActAs(RuleDefinition ruleDefinition, edu.internet2.middleware.subject.Subject subject, edu.internet2.middleware.subject.Subject subjectToActAs)
ruleDefinition
- subject
- subjectToActAs
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |