|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents a policy attachment according WS-PolicyAttachment.
WS-PolicyAttachment provides the mechanism for associating policy with one
or more subjects or resources. The domain of a scope of policy expression
is identified using an extensible DomainExpression
model.
PolicyManager
.
Method Summary | |
void |
addPolicy(Policy policy)
Adds given policy to this policy attachment. |
javax.xml.transform.Source |
getContent()
Gets the content of this object as Source |
DomainExpression |
getDomainExpression()
Gets the domain expression associated with this policy attachment. |
Policy[] |
getPolicies()
Gets the array of policies associated with this policy attachment. |
void |
removePolicy(Policy policy)
Removes given policy form this policy attachment. |
Method Detail |
public DomainExpression getDomainExpression()
public Policy[] getPolicies()
public void addPolicy(Policy policy)
policy
- policy to addpublic void removePolicy(Policy policy)
policy
- poicy to removepublic javax.xml.transform.Source getContent() throws PolicyException
Source
Source
PolicyException
- when an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |