org.gcube.soa3.connector.impl
Class PolicyManagerBasedAuthorization
java.lang.Object
org.gcube.soa3.connector.impl.PolicyManagerBasedAuthorization
- All Implemented Interfaces:
- Authorize
public class PolicyManagerBasedAuthorization
- extends Object
- implements Authorize
Abstract class Authentication service based on the parameters inserted in an header of a REST message
- Author:
- Ciro Formisano (ENG)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyManagerBasedAuthorization
public PolicyManagerBasedAuthorization(String soa3Endpoint)
authorize
public boolean authorize(Map<String,List<String>> attributes,
String action,
String resource)
- Authentication service}
- Specified by:
authorize in interface Authorize
- Returns:
setSoa3Endpoint
public void setSoa3Endpoint(String soa3Endpoint)
- Setter for the endpoint to Soa3}
- Specified by:
setSoa3Endpoint in interface Authorize
Copyright © 2013. All Rights Reserved.