public abstract static class Principal._Impl extends Object._Impl implements Principal
Principal._Impl, Principal._Proxy, Principal._Static$accessPolicy, $cacheEntry, $class, $history, $isOwned, $numWaiting, $reader, $readMapEntry, $ref, $stackTrace, $updateLabel, $version, $writeLockHolder, $writeLockStackTrace, $writer, TRACE_OBJECTS, writerMapVersion| Constructor and Description |
|---|
_Impl(Store store) |
_Impl(Store store,
long onum,
int version,
long expiry,
Store labelStore,
long labelOnum,
Store accessPolicyStore,
long accessPolicyOnum,
java.io.ObjectInput in,
java.util.Iterator<RefTypeEnum> refTypes,
java.util.Iterator<java.lang.Long> intraStoreRefs,
java.util.Iterator<Pair<java.lang.String,java.lang.Long>> interStoreRefs) |
| Modifier and Type | Method and Description |
|---|---|
Object |
$initLabels()
Initializes the object's update label and access policy.
|
protected Object._Proxy |
$makeProxy()
Subclasses should override this method.
|
void |
$serialize(java.io.ObjectOutput out,
java.util.List<RefTypeEnum> refTypes,
java.util.List<java.lang.Long> intraStoreRefs,
java.util.List<Pair<java.lang.String,java.lang.Long>> interStoreRefs)
Serializes the non-transient fields of this object.
|
abstract boolean |
delegatesTo(Principal p) |
abstract boolean |
equals(Principal p) |
Principal |
fabric$lang$security$Principal$()
Jif initializer.
|
abstract ActsForProof |
findProofDownto(Store store,
Principal q,
java.lang.Object searchState) |
abstract ActsForProof |
findProofUpto(Store store,
Principal p,
java.lang.Object searchState) |
PrivateKeyObject |
getPrivateKeyObject() |
java.security.PublicKey |
getPublicKey() |
abstract boolean |
isAuthorized(java.lang.Object authPrf,
Closure closure,
Label lb,
boolean executeNow) |
static Principal |
jif$cast$fabric_lang_security_Principal(Object o) |
abstract java.lang.String |
name() |
_npe, $copyAppStateFrom, $copyStateFrom, $forceRenumber, $getClass, $getOnum, $getProxy, $getStore, $getVersion, $initPartitions, $readRef, $unwrap, $writeInline, $writeRef, clone, createStatistics, equals, equals, fabric$lang$Object$, fetch, get$$accessPolicy, get$$updateLabel, hashCode, idEquals, oidHashCode, oidHashCode, set$$accessPolicy, set$$updateLabel, toStringfinalize, getClass, notify, notifyAll, wait, wait, wait$forceRenumber, $getOnum, $getProxy, $getStore, $initPartitions, $unwrap, createStatistics, equals, fabric$lang$Object$, fetch, get$$accessPolicy, get$$updateLabel, idEquals, oidHashCode, set$$accessPolicy, set$$updateLabelpublic _Impl(Store store)
public _Impl(Store store, long onum, int version, long expiry, Store labelStore, long labelOnum, Store accessPolicyStore, long accessPolicyOnum, java.io.ObjectInput in, java.util.Iterator<RefTypeEnum> refTypes, java.util.Iterator<java.lang.Long> intraStoreRefs, java.util.Iterator<Pair<java.lang.String,java.lang.Long>> interStoreRefs) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic Object $initLabels()
Object$initLabels in interface Object$initLabels in class Object._Implpublic Principal fabric$lang$security$Principal$()
Principalfabric$lang$security$Principal$ in interface Principalpublic abstract boolean delegatesTo(Principal p)
delegatesTo in interface Principalpublic abstract boolean isAuthorized(java.lang.Object authPrf,
Closure closure,
Label lb,
boolean executeNow)
isAuthorized in interface Principalpublic abstract ActsForProof findProofUpto(Store store, Principal p, java.lang.Object searchState)
findProofUpto in interface Principalpublic abstract ActsForProof findProofDownto(Store store, Principal q, java.lang.Object searchState)
findProofDownto in interface Principalprotected Object._Proxy $makeProxy()
Object._Impl$makeProxy in class Object._Implpublic void $serialize(java.io.ObjectOutput out,
java.util.List<RefTypeEnum> refTypes,
java.util.List<java.lang.Long> intraStoreRefs,
java.util.List<Pair<java.lang.String,java.lang.Long>> interStoreRefs)
throws java.io.IOException
Object._Impl$serialize in class Object._Implout - An output stream for writing serialized primitive values and
inlined objects.refTypes - A list to which RefTypeEnums will be written to
indicate the type of reference being serialized (e.g., null,
inlined, intraStore, interStore).intraStoreRefs - A list to which onums denoting intra-store references will be
written.interStoreRefs - A list to which global object names (hostname/onum pairs),
denoting inter-store references, will be written.java.io.IOExceptionpublic final java.security.PublicKey getPublicKey()
getPublicKey in interface Principalpublic final PrivateKeyObject getPrivateKeyObject()
getPrivateKeyObject in interface Principal