org.openpermis.xacml.basic
Class BasicXacmlAuthorizationService
java.lang.Object
org.openpermis.xacml.basic.BasicXacmlAuthorizationService
- All Implemented Interfaces:
- XacmlAuthorizationService
public class BasicXacmlAuthorizationService
- extends Object
- implements XacmlAuthorizationService
A basic implementation of an xacml authorization service.
- Since:
- 0.4.0
Constructor Summary |
BasicXacmlAuthorizationService(org.openpermis.AuthorizationService service)
Creates an xacml authorization service based on a normal authorization service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicXacmlAuthorizationService
public BasicXacmlAuthorizationService(org.openpermis.AuthorizationService service)
- Creates an xacml authorization service based on a normal authorization service.
- Parameters:
service
- the AuthorizationService
to determine access decisions.- Since:
- 0.4.0
getAccessDescision
public Writer getAccessDescision(Reader request,
Writer response)
throws IOException
- Description copied from interface:
XacmlAuthorizationService
- Evaluates an xacml request and returns an xacml response.
- Specified by:
getAccessDescision
in interface XacmlAuthorizationService
- Parameters:
request
- the authorization request.response
- the authorization response.
- Returns:
- the authorization response.
- Throws:
IOException
- indicates a io problem of Reader
or Writer
.
decision.- Since:
- 0.4.0
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:56
Copyright (c) 2002-2007 Ergon Informatik AG