it.eng.rdlab.soa3.connector.service.core.impl
Class AuthenticationInternalServiceImpl

java.lang.Object
  extended by it.eng.rdlab.soa3.connector.service.core.impl.AuthenticationInternalServiceImpl
All Implemented Interfaces:
AuthenticationInternalService
Direct Known Subclasses:
DNAuthenticationService, FederatedAuthenticationService, SessionAuthenticationService, UsernamePasswordAuthenticationService

public abstract class AuthenticationInternalServiceImpl
extends Object
implements AuthenticationInternalService

Abstract implementation of the authentication internal service

Author:
Ciro Formisano (ENG)

Constructor Summary
AuthenticationInternalServiceImpl()
           
 
Method Summary
protected abstract  String askToSOA3(String id, long currentTime)
          Sends the request to SOA3
 String authenticate(String id)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationInternalServiceImpl

public AuthenticationInternalServiceImpl()
Method Detail

authenticate

public String authenticate(String id)

Specified by:
authenticate in interface AuthenticationInternalService
Parameters:
id - the authentication id
Returns:
the username if the user is authenticated, null otherwise

askToSOA3

protected abstract String askToSOA3(String id,
                                    long currentTime)
Sends the request to SOA3

Parameters:
id -
currentTime -
Returns:


Copyright © 2013. All Rights Reserved.