| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<Principal> |
superiors |
| Modifier and Type | Method and Description |
|---|---|
protected static Principal[] |
addToChainBottom(Principal[] chain,
Principal principal)
Create a new chain of length
chain.length+1, such that
the last element of the new chain is principal, and
all other elements are copied over from chain. |
protected static Principal[] |
addToChainTop(Principal principal,
Principal[] chain)
Create a new chain of length
chain.length+1, such that
the first element of the new chain is principal, and
all other elements are copied over from chain, offset by one. |
boolean |
delegatesTo(Principal p) |
boolean |
equals(java.lang.Object o) |
boolean |
equals(Principal p) |
ActsForProof |
findProofDownto(Principal q,
java.lang.Object searchState) |
ActsForProof |
findProofUpto(Principal p,
java.lang.Object searchState) |
int |
hashCode() |
boolean |
isAuthorized(java.lang.Object authorizationProof,
Closure closure,
Label lb,
boolean executeNow) |
java.lang.String |
name() |
java.util.Set<Principal> |
superiors() |
protected final java.util.Set<Principal> superiors
public java.util.Set<Principal> superiors()
public boolean delegatesTo(Principal p)
delegatesTo in interface Principalpublic boolean isAuthorized(java.lang.Object authorizationProof,
Closure closure,
Label lb,
boolean executeNow)
isAuthorized in interface Principalpublic ActsForProof findProofDownto(Principal q, java.lang.Object searchState)
findProofDownto in interface Principalpublic ActsForProof findProofUpto(Principal p, java.lang.Object searchState)
findProofUpto in interface Principalpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprotected static Principal[] addToChainBottom(Principal[] chain, Principal principal)
chain.length+1, such that
the last element of the new chain is principal, and
all other elements are copied over from chain.