Package | Description |
---|---|
xdi2.core.features.policy | |
xdi2.core.features.policy.operator |
Modifier and Type | Class and Description |
---|---|
class |
PolicyAnd
An XDI $and policy, represented as an XDI entity.
|
class |
PolicyNot
An XDI $not policy, represented as an XDI entity.
|
class |
PolicyOr
An XDI $or policy, represented as an XDI entity.
|
class |
PolicyRoot
An XDI root policy, represented as an XDI entity.
|
Modifier and Type | Method and Description |
---|---|
static Policy |
Policy.castCondition(Policy policy)
Factory method that casts a Policy to the right subclass, e.g. to a PolicyAnd.
|
static Policy |
Policy.fromXdiEntity(XdiEntity xdiEntity)
Factory method that creates an XDI policy bound to a given XDI entity.
|
Modifier and Type | Method and Description |
---|---|
ReadOnlyIterator<Policy> |
Policy.getPolicies()
Returns the XDI policies underneath this XDI policy.
|
Modifier and Type | Method and Description |
---|---|
static Policy |
Policy.castCondition(Policy policy)
Factory method that casts a Policy to the right subclass, e.g. to a PolicyAnd.
|
int |
Policy.compareTo(Policy other) |
static Operator |
PolicyUtil.createSecretTokenValidOperator(Policy policy) |
static Operator |
PolicyUtil.createSenderIsOperator(Policy policy,
XDIAddress sender) |
static Operator |
PolicyUtil.createSignatureValidOperator(Policy policy) |
Modifier and Type | Method and Description |
---|---|
static FalseOperator |
FalseOperator.createFalseOperator(Policy policy,
Condition condition) |
static TrueOperator |
TrueOperator.createTrueOperator(Policy policy,
Condition condition) |
Copyright © 2017. All rights reserved.