|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.auth.certs.SerialNumberIssuerDNMapping
A CertificatePrincipal implementation that builds the principal name based on the cert serialNumber and issuerDN
Constructor Summary | |
SerialNumberIssuerDNMapping()
|
Method Summary | |
java.security.Principal |
toPrinicipal(java.security.cert.X509Certificate[] certs)
Create a SimplePrincipal with the name composed from certs[0].getSerialNumber() + " " + certs[0].getIssuerDN() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SerialNumberIssuerDNMapping()
Method Detail |
public java.security.Principal toPrinicipal(java.security.cert.X509Certificate[] certs)
toPrinicipal
in interface CertificatePrincipal (src)
certs
- Array of client certificates, with the first one in
the array being the certificate of the client itself.
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |