org.openpermis.xacml.io.v2
Class BasicXacmlWriter
java.lang.Object
org.openpermis.xacml.io.v2.BasicXacmlWriter
- All Implemented Interfaces:
- XacmlWriter
public class BasicXacmlWriter
- extends Object
- implements XacmlWriter
Basic implementation of a xacml writer.
- Since:
- 0.4.0
Method Summary |
String |
writeResponse(org.openpermis.policy.AccessDecision inputDecision,
XacmlStatus inputStatus)
Writes a permis access decision to an xacml response. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XACML_CONTEXT_NAMESPACE
public static final String XACML_CONTEXT_NAMESPACE
- Constant Field Value:
"urn:oasis:names:tc:xacml:2.0:context:schema:os"
- Since:
- 0.4.0
XACML_POLICY_NAMESPACE
public static final String XACML_POLICY_NAMESPACE
- Constant Field Value:
"urn:oasis:names:tc:xacml:2.0:policy:schema:os"
- Since:
- 0.4.0
BasicXacmlWriter
public BasicXacmlWriter()
- Creates a new basic response writer.
- Since:
- 0.4.0
writeResponse
public String writeResponse(org.openpermis.policy.AccessDecision inputDecision,
XacmlStatus inputStatus)
- Description copied from interface:
XacmlWriter
- Writes a permis access decision to an xacml response. If the decision is
null
an
appropriate response is generated (Used to signal an exception).
- Specified by:
writeResponse
in interface XacmlWriter
- Parameters:
inputDecision
- the access decision, may be null.inputStatus
- the status, may be null.
- Returns:
- the xacml response.
- Since:
- 0.4.0
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:42
Copyright (c) 2002-2007 Ergon Informatik AG