org.openpermis.policy.io
Class StrictPolicyReader
java.lang.Object
org.openpermis.policy.io.StrictPolicyReader
- All Implemented Interfaces:
- PolicyReader
public class StrictPolicyReader
- extends Object
- implements PolicyReader
Strict policy reader, which only successfully reads valid policies.
- Since:
- 0.4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrictPolicyReader
public StrictPolicyReader(PolicyReader policyReader)
throws PolicyException
- Creates a new strict policy reader that uses the specified reader.
- Parameters:
policyReader
- the policy reader.
- Throws:
PolicyException
- if the XML reader cannot be created.- Since:
- 0.4.0
readPolicy
public Policy readPolicy()
throws PolicyException
- Description copied from interface:
PolicyReader
- Reads a policy.
- Specified by:
readPolicy
in interface PolicyReader
- Returns:
- the policy read.
- Throws:
PolicyException
- if there is an error reading the policy.- Since:
- 0.4.0
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG