org.gcube.soa3.connector.impl
Class HeaderBasedAuthentication
java.lang.Object
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeaderBasedAuthentication
public HeaderBasedAuthentication(String authenticationMethod,
String soa3Endpoint)
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.