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, removeAuthenticationListenerpublic 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)
AuthenticationPlugininit in class AuthenticationPluginp - Participantpublic IdentityToken getIdentityToken()
getIdentityToken in class AuthenticationPluginpublic void beginHandshake(ParticipantData pd)
beginHandshake in class AuthenticationPluginpd - ParticipantData to authenticatepublic Guid getGuid()
AuthenticationPlugingetGuid in class AuthenticationPluginpublic String getName()
AuthenticationPlugingetName in class AuthenticationPluginCopyright © 2016. All rights reserved.