public class SerialNumberIssuerDNMapping extends Object implements CertificatePrincipal
Constructor and Description |
---|
SerialNumberIssuerDNMapping() |
Modifier and Type | Method and Description |
---|---|
Principal |
toPrincipal(X509Certificate[] certs)
Create a SimplePrincipal with the name composed from
certs[0].getSerialNumber() + " " + certs[0].getIssuerDN()
|
Principal |
toPrinicipal(X509Certificate[] certs)
Return the Principal associated with the specified chain of X509
client certificates.
|
public Principal toPrincipal(X509Certificate[] certs)
toPrincipal
in interface CertificatePrincipal
certs
- Array of client certificates, with the first one in
the array being the certificate of the client itself.public Principal toPrinicipal(X509Certificate[] certs)
CertificatePrincipal
null
.toPrinicipal
in interface CertificatePrincipal
certs
- Array of client certificates, with the first one in
the array being the certificate of the client itself.Copyright © 2016 JBoss by Red Hat. All rights reserved.