blob: 083fdcb62d8ffc6e99e4f4574b76e7f8f6650bda (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
* Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christian W. Damus (CEA LIST) - initial API and implementation
*/
package org.eclipse.net4j.signal.security;
import org.eclipse.net4j.signal.SignalProtocol;
import org.eclipse.net4j.util.security.IPasswordCredentialsProvider;
/**
* An abstract signal protocol that supports authentication.
*
* @author Christian W. Damus (CEA LIST)
*
* @since 4.3
*/
public class AuthenticatingSignalProtocol<INFRA_STRUCTURE extends IPasswordCredentialsProvider.Provider> extends
SignalProtocol<INFRA_STRUCTURE> implements IPasswordCredentialsProvider.Provider
{
public AuthenticatingSignalProtocol(String type)
{
super(type);
}
public IPasswordCredentialsProvider getCredentialsProvider()
{
return getInfraStructure().getCredentialsProvider();
}
}
|