org.jboss.security.auth.certs
Class SubjectX500Principal

java.lang.Object
  extended by org.jboss.security.auth.certs.SubjectX500Principal
All Implemented Interfaces:
CertificatePrincipal

public class SubjectX500Principal
extends Object
implements CertificatePrincipal

A CertificatePrincipal implementation that uses the client cert SubjectX500Principal as the principal.

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

Constructor Summary
SubjectX500Principal()
           
 
Method Summary
 Principal toPrinicipal(X509Certificate[] certs)
          Returns the client cert SubjectX500Principal as the principal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubjectX500Principal

public SubjectX500Principal()
Method Detail

toPrinicipal

public Principal toPrinicipal(X509Certificate[] certs)
Returns the client cert SubjectX500Principal as the principal.

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.