org.jboss.security.auth.certs
Class SerialNumberIssuerDNMapping
java.lang.Object
org.jboss.security.auth.certs.SerialNumberIssuerDNMapping
- All Implemented Interfaces:
- CertificatePrincipal
public class SerialNumberIssuerDNMapping
- extends Object
- implements CertificatePrincipal
A CertificatePrincipal implementation that builds the principal name
based on the cert serialNumber and issuerDN
- Version:
- $Revision: 1.1.8.1 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerialNumberIssuerDNMapping
public SerialNumberIssuerDNMapping()
toPrinicipal
public Principal toPrinicipal(X509Certificate[] certs)
- Create a SimplePrincipal with the name composed from
certs[0].getSerialNumber() + " " + certs[0].getIssuerDN()
- Specified by:
toPrinicipal
in interface CertificatePrincipal
- Parameters:
certs
- Array of client certificates, with the first one in
the array being the certificate of the client itself.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.