blob: 8d589f4f8dac359361d2dccb87664a759b9e71cd [file] [log] [blame]
/*
* Copyright (c) 2013, 2015 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();
}
}