public interface PrincipalExtractor
| Modifier and Type | Interface and Description |
|---|---|
static class |
PrincipalExtractor.Type |
| Modifier and Type | Method and Description |
|---|---|
String |
extractPrincipal(X509Certificate x509Certificate,
PrincipalExtractor.Type type)
Extract the principal name
Please note that this method gets called for principal extraction of other nodes
as well as transport clients.
|
String extractPrincipal(X509Certificate x509Certificate, PrincipalExtractor.Type type)
x509Certificate - The first X509 certificate in the peer certificate chain
This can be null, in this case the method must also return null.null in case where x509Certificate is null
or the principal cannot be extracted because of any other circumstances.Copyright © 2015-2017. All Rights Reserved.