org.opensaml.ws.security.provider
Class ClientCertAuthRuleFactory.CertificateNameOptions

java.lang.Object
  extended by org.opensaml.ws.security.provider.ClientCertAuthRuleFactory.CertificateNameOptions
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
ClientCertAuthRuleFactory

public class ClientCertAuthRuleFactory.CertificateNameOptions
extends java.lang.Object
implements java.lang.Cloneable

Options for deriving issuer names from an X.509 certificate.


Constructor Summary
protected ClientCertAuthRuleFactory.CertificateNameOptions()
          Constructor.
 
Method Summary
protected  ClientCertAuthRuleFactory.CertificateNameOptions clone()
          
 boolean evaluateSubjectCommonName()
          Get whether to evaluate the certificate subject DN's common name (CN) as a derived issuer entity ID.
 boolean evaluateSubjectDN()
          Get whether to evaluate the certificate subject DN as a derived issuer entity ID.
 java.util.LinkedHashSet<java.lang.Integer> getSubjectAltNames()
          Get the set of types of subject alternative names evaluate as derived issuer entity ID names.
 X500DNHandler getX500DNHandler()
          Get the handler responsible for serializing X.500 names to strings from certificate-derived X500Principal instances.
 java.lang.String getX500SubjectDNFormat()
          Get the the format specifier for serializaing X.500 subject names to strings.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientCertAuthRuleFactory.CertificateNameOptions

protected ClientCertAuthRuleFactory.CertificateNameOptions()
Constructor.

Method Detail

evaluateSubjectCommonName

public boolean evaluateSubjectCommonName()
Get whether to evaluate the certificate subject DN's common name (CN) as a derived issuer entity ID.

Returns:
Returns the evaluateSubjectCommonName.

evaluateSubjectDN

public boolean evaluateSubjectDN()
Get whether to evaluate the certificate subject DN as a derived issuer entity ID.

Returns:
Returns the evaluateSubjectDN.

getSubjectAltNames

public java.util.LinkedHashSet<java.lang.Integer> getSubjectAltNames()
Get the set of types of subject alternative names evaluate as derived issuer entity ID names.

Returns:
Returns the subjectAltNames.

getX500DNHandler

public X500DNHandler getX500DNHandler()
Get the handler responsible for serializing X.500 names to strings from certificate-derived X500Principal instances.

Returns:
Returns the x500DNHandler.

getX500SubjectDNFormat

public java.lang.String getX500SubjectDNFormat()
Get the the format specifier for serializaing X.500 subject names to strings.

Returns:
Returns the x500SubjectDNFormat.

clone

protected ClientCertAuthRuleFactory.CertificateNameOptions clone()

Overrides:
clone in class java.lang.Object