public class JKSAuthenticationPlugin extends AuthenticationPlugin
Modifier and Type | Field and Description |
---|---|
static String |
JKS_CA_KEY |
static String |
JKS_KEYSTORE_KEY |
static String |
JKS_KEYSTORE_PASSWORD_KEY |
static String |
JKS_PRINCIPAL_KEY |
static String |
JKS_PRINCIPAL_PASSWORD_KEY |
static String |
PLUGIN_NAME |
AUTH_LOG_CATEGORY
Constructor and Description |
---|
JKSAuthenticationPlugin(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
beginHandshake(ParticipantData pd)
Begins a handshake protocol.
|
Guid |
getGuid()
Gets the Guid of local participant
|
IdentityToken |
getIdentityToken()
Gets IdentityToken
|
String |
getName()
Gets the name of this plugin.
|
void |
init(Participant p)
This method is called after security endpoints have been created by participant.
|
addAuthenticationListener, getConfiguration, getCryptoPlugin, getInstance, notifyListenersOfFailure, notifyListenersOfSuccess, registerPlugin, removeAuthenticationListener
public static final String PLUGIN_NAME
public static final String JKS_KEYSTORE_KEY
public static final String JKS_KEYSTORE_PASSWORD_KEY
public static final String JKS_CA_KEY
public static final String JKS_PRINCIPAL_KEY
public static final String JKS_PRINCIPAL_PASSWORD_KEY
public JKSAuthenticationPlugin(Configuration conf) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException, InvalidKeyException, NoSuchProviderException, SignatureException, UnrecoverableKeyException, NoSuchPaddingException
public void init(Participant p)
AuthenticationPlugin
init
in class AuthenticationPlugin
p
- Participantpublic IdentityToken getIdentityToken()
getIdentityToken
in class AuthenticationPlugin
public void beginHandshake(ParticipantData pd)
beginHandshake
in class AuthenticationPlugin
pd
- ParticipantData to authenticatepublic Guid getGuid()
AuthenticationPlugin
getGuid
in class AuthenticationPlugin
public String getName()
AuthenticationPlugin
getName
in class AuthenticationPlugin
Copyright © 2016. All rights reserved.