org.gcube.soa3.connector.impl
Class PolicyManagerBasedAuthorization

java.lang.Object
  extended by 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)

Constructor Summary
PolicyManagerBasedAuthorization(String soa3Endpoint)
           
 
Method Summary
 boolean authorize(Map<String,List<String>> attributes, String action, String resource)
          Authentication service
 void setSoa3Endpoint(String soa3Endpoint)
          Setter for the endpoint to Soa3
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyManagerBasedAuthorization

public PolicyManagerBasedAuthorization(String soa3Endpoint)
Method Detail

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.