org.openpermis.xacml.io.v2
Class BasicXacmlReader

java.lang.Object
  extended by org.openpermis.xacml.io.v2.BasicXacmlReader
All Implemented Interfaces:
XacmlReader

public class BasicXacmlReader
extends Object
implements XacmlReader

Basic implementation of a xacml reader.

Since:
0.4.0

Field Summary
static String ACTION_ID
           
static String RESOURCE_ID
           
static String STRING_TYPE
           
static String SUBJECT_ID
           
static String URI_TYPE
           
static String XACML_CONTEXT_NAMESPACE
           
 
Constructor Summary
BasicXacmlReader()
           
 
Method Summary
 XacmlRequest readRequest(Reader request)
          Reads a request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

SUBJECT_ID

public static final String SUBJECT_ID
Constant Field Value:
"urn:oasis:names:tc:xacml:1.0:subject:subject-id"
Since:
0.4.0

ACTION_ID

public static final String ACTION_ID
Constant Field Value:
"urn:oasis:names:tc:xacml:1.0:action:action-id"
Since:
0.4.0

RESOURCE_ID

public static final String RESOURCE_ID
Constant Field Value:
"urn:oasis:names:tc:xacml:1.0:resource:resource-id"
Since:
0.4.0

STRING_TYPE

public static final String STRING_TYPE
Constant Field Value:
"http://www.w3.org/2001/XMLSchema#string"
Since:
0.4.0

URI_TYPE

public static final String URI_TYPE
Constant Field Value:
"http://www.w3.org/2001/XMLSchema#anyURI"
Since:
0.4.0
Constructor Detail

BasicXacmlReader

public BasicXacmlReader()
Since:
0.4.0
Method Detail

readRequest

public XacmlRequest readRequest(Reader request)
                         throws XacmlException
Description copied from interface: XacmlReader
Reads a request.

Specified by:
readRequest in interface XacmlReader
Parameters:
request - the xacml request.
Throws:
XacmlException - indicates a reading problem.
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