org.openpermis.examples.xacml
Class DummyAuthorizationService
java.lang.Object
org.openpermis.examples.xacml.DummyAuthorizationService
- All Implemented Interfaces:
- org.openpermis.AuthorizationService
public class DummyAuthorizationService
- extends Object
- implements org.openpermis.AuthorizationService
A simple dummy version of an authentication service that authorizes only a subject "S" to
execute action "A" on resource "R".
- Since:
- 0.4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyAuthorizationService
public DummyAuthorizationService()
getAccessDecision
public org.openpermis.policy.AccessDecision getAccessDecision(URI subject,
URI resource,
String actionName,
List<?> arguments)
throws org.openpermis.AuthorizationServiceException
- Specified by:
getAccessDecision
in interface org.openpermis.AuthorizationService
- Throws:
org.openpermis.AuthorizationServiceException
- Since:
- 0.4.0
getAccessDecision
public org.openpermis.policy.AccessDecision getAccessDecision(org.openpermis.Subject subject,
URI resource,
String actionName,
List<?> arguments)
throws org.openpermis.AuthorizationServiceException
- Specified by:
getAccessDecision
in interface org.openpermis.AuthorizationService
- Throws:
org.openpermis.AuthorizationServiceException
- Since:
- 0.4.0
retrieveSubject
public org.openpermis.Subject retrieveSubject(URI identity)
throws org.openpermis.AuthorizationServiceException
- Specified by:
retrieveSubject
in interface org.openpermis.AuthorizationService
- Throws:
org.openpermis.AuthorizationServiceException
- Since:
- 0.4.0
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:58
Copyright (c) 2002-2007 Ergon Informatik AG