org.jboss.security
Interface CertificatePrincipal

All Known Implementing Classes:
SerialNumberIssuerDNMapping, SubjectCNMapping, SubjectDNMapping

public interface CertificatePrincipal

An interface for converting an X509 cert to a Principal

Version:
$Revision: 1.2.6.1 $
Author:
Scott.Stark@jboss.org

Method Summary
 Principal toPrinicipal(X509Certificate[] certs)
          Return the Principal associated with the specified chain of X509 client certificates.
 

Method Detail

toPrinicipal

Principal toPrinicipal(X509Certificate[] certs)
Return the Principal associated with the specified chain of X509 client certificates. If there is none, return null.

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.