org.silverpeas.authentication
Class AuthenticationConnection<T>

java.lang.Object
  extended by org.silverpeas.authentication.AuthenticationConnection<T>
Type Parameters:
T - the type of the connector to use when communicating with the remote server. The connector is specific to the authentication service.

public class AuthenticationConnection<T>
extends Object

A connection with a server of a remote authentication service. It wraps the actual object of type T used to communicate with the server.


Constructor Summary
AuthenticationConnection(T connector)
          Constructs a new connection with an authentication server by using the specified specific server connector.
 
Method Summary
 T getConnector()
          Gets the connector specific to the remote authentication server used by this connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationConnection

public AuthenticationConnection(T connector)
Constructs a new connection with an authentication server by using the specified specific server connector.

Parameters:
connector - a connector specific to the remote authentication server.
Method Detail

getConnector

public T getConnector()
Gets the connector specific to the remote authentication server used by this connection.

Returns:
a connector of the authentication server.


Copyright © 2016 Silverpeas. All Rights Reserved.