|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IACLPolicy
A policy to be used in the ACL entries.
The supported policies are determined by the implementation. The simplest case would have the allow policy only. Other examples would have allow and deny policies, for instance. The implementation determines how different policies are prioritized and evaluated.
The recommended implementation is an enum containing all
the policies allowed by the middleware.
Also known as 'effect' in the XACML standard.
| Field Summary | |
|---|---|
static short |
TYPE_ALLOW
Flag for a policy which essentially allows the actor access on the resource |
static short |
TYPE_DENY
Flag for a policy which essentially denies the actor access on the resource |
static short |
TYPE_OTHER
Flag for a policy whose effect is not so directly 'allow' or 'deny' |
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns a description of this policy, for instance to be used in tool-tips. |
java.lang.String |
getName()
Returns the name of this policy, for instance "Allow". |
short |
getType()
Returns the policy type, to be used for sorting and grouping similar rules. |
| Field Detail |
|---|
static final short TYPE_ALLOW
static final short TYPE_DENY
static final short TYPE_OTHER
| Method Detail |
|---|
java.lang.String getName()
java.lang.String getDescription()
short getType()
IACLPolicy.TYPE_ALLOW,
IACLPolicy.TYPE_DENY, IACLPolicy.TYPE_OTHER.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||