org.gcube.soa3.connector.impl
Class HeaderBasedAuthentication

java.lang.Object
  extended by org.gcube.soa3.connector.impl.HeaderBasedAuthentication
All Implemented Interfaces:
Authenticate
Direct Known Subclasses:
FederatedAuthentication, UsernamePasswordAuthentication

public abstract class HeaderBasedAuthentication
extends Object
implements Authenticate

Abstract class Authentication service based on the parameters inserted in an header of a REST message

Author:
Ciro Formisano (ENG)

Constructor Summary
HeaderBasedAuthentication(String authenticationMethod, String soa3Endpoint)
           
 
Method Summary
 UserBean authenticate(String parameter)
          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

HeaderBasedAuthentication

public HeaderBasedAuthentication(String authenticationMethod,
                                 String soa3Endpoint)
Method Detail

authenticate

public UserBean authenticate(String parameter)
Authentication service}

Specified by:
authenticate in interface Authenticate
Parameters:
parameter - the authentication parameter
Returns:

setSoa3Endpoint

public void setSoa3Endpoint(String soa3Endpoint)
Setter for the endpoint to Soa3}

Specified by:
setSoa3Endpoint in interface Authenticate


Copyright © 2013. All Rights Reserved.