org.opensaml.ws.security.provider
Class CertificateNameOptions

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

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

Options for deriving message context issuer names from an X.509 certificate. Used by ClientCertAuthRule.


Constructor Summary
CertificateNameOptions()
          Constructor.
 
Method Summary
 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.
 org.opensaml.xml.security.x509.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.
 void setEvaluateSubjectCommonName(boolean flag)
          Set whether to evaluate the certificate subject DN's common name (CN) as a derived issuer entity ID.
 void setEvaluateSubjectDN(boolean flag)
          Set whether to evaluate the certificate subject DN as a derived issuer entity ID.
 void setX500DNHandler(org.opensaml.xml.security.x509.X500DNHandler handler)
          Set the handler responsible for serializing X.500 names to strings from certificate-derived X500Principal instances.
 void setX500SubjectDNFormat(java.lang.String format)
          Set 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

CertificateNameOptions

public 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.

setEvaluateSubjectCommonName

public void setEvaluateSubjectCommonName(boolean flag)
Set whether to evaluate the certificate subject DN's common name (CN) as a derived issuer entity ID.

Parameters:
flag - new new evaluateSubjectCommonName value.

evaluateSubjectDN

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

Returns:
Returns the evaluateSubjectDN.

setEvaluateSubjectDN

public void setEvaluateSubjectDN(boolean flag)
Set whether to evaluate the certificate subject DN as a derived issuer entity ID.

Parameters:
flag - the new evaluateSubjectDN value.

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 org.opensaml.xml.security.x509.X500DNHandler getX500DNHandler()
Get the handler responsible for serializing X.500 names to strings from certificate-derived X500Principal instances.

Returns:
Returns the x500DNHandler.

setX500DNHandler

public void setX500DNHandler(org.opensaml.xml.security.x509.X500DNHandler handler)
Set the handler responsible for serializing X.500 names to strings from certificate-derived X500Principal instances.

Parameters:
handler - the new x500DNHandler value.

getX500SubjectDNFormat

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

Returns:
Returns the x500SubjectDNFormat.

setX500SubjectDNFormat

public void setX500SubjectDNFormat(java.lang.String format)
Set the the format specifier for serializaing X.500 subject names to strings.

Parameters:
format - the new x500SubjectDNFormat value.

clone

public CertificateNameOptions clone()

Overrides:
clone in class java.lang.Object


Copyright © 2006-2011 Internet2. All Rights Reserved.