org.jboss.security.xacml.interfaces
Interface XACMLPolicy

All Superinterfaces:
ContextMapOp
All Known Implementing Classes:
JBossXACMLPolicy

public interface XACMLPolicy
extends ContextMapOp

Represents a Policy or a PolicySet in the XACML World

Since:
Jul 5, 2007
Version:
$Revision$
Author:
Anil.Saldhana@redhat.com

Field Summary
static int POLICY
          Type identifying a Policy
static int POLICYSET
          Type identifying a PolicySet
 
Method Summary
 List<XACMLPolicy> getEnclosingPolicies()
          Return the enclosing policies for a PolicySet
 int getType()
          Return a type (PolicySet or Policy)
 void setEnclosingPolicies(List<XACMLPolicy> policies)
          A PolicySet can contain policies within.
 
Methods inherited from interface org.jboss.security.xacml.interfaces.ContextMapOp
get, set
 

Field Detail

POLICYSET

static final int POLICYSET
Type identifying a PolicySet

See Also:
Constant Field Values

POLICY

static final int POLICY
Type identifying a Policy

See Also:
Constant Field Values
Method Detail

getType

int getType()
Return a type (PolicySet or Policy)

Returns:
int value representing type

setEnclosingPolicies

void setEnclosingPolicies(List<XACMLPolicy> policies)
A PolicySet can contain policies within. Setter to set the policies inside a policyset

Parameters:
policies - a list of policies

getEnclosingPolicies

List<XACMLPolicy> getEnclosingPolicies()
Return the enclosing policies for a PolicySet

Returns:
a list of policies


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.