Class AuthenticationConnection<T>
- java.lang.Object
-
- org.silverpeas.core.security.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
Constructors Constructor Description AuthenticationConnection(T connector)
Constructs a new connection with an authentication server by using the specified specific server connector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getConnector()
Gets the connector specific to the remote authentication server used by this connection.
-
-
-
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.
-
-