org.opensaml.ws.security
Class ServletRequestX509CredentialAdapter

java.lang.Object
  extended by org.opensaml.xml.security.credential.AbstractCredential
      extended by org.opensaml.xml.security.credential.BasicCredential
          extended by org.opensaml.xml.security.x509.BasicX509Credential
              extended by org.opensaml.ws.security.ServletRequestX509CredentialAdapter
All Implemented Interfaces:
org.opensaml.xml.security.credential.Credential, org.opensaml.xml.security.x509.X509Credential

public class ServletRequestX509CredentialAdapter
extends org.opensaml.xml.security.x509.BasicX509Credential
implements org.opensaml.xml.security.x509.X509Credential

An adapter that exposes the X.509 certificates contained in the servlet request attribute.


Field Summary
static String X509_CERT_REQUEST_ATTRIBUTE
          Servlet request attribute to pull certificate info from.
 
Fields inherited from class org.opensaml.xml.security.credential.AbstractCredential
credentialContextSet, entityID, keyNames, privateKey, publicKey, secretKey, usageType
 
Constructor Summary
ServletRequestX509CredentialAdapter(javax.servlet.ServletRequest request)
          Constructor.
 
Method Summary
 
Methods inherited from class org.opensaml.xml.security.x509.BasicX509Credential
getCredentialType, getCRLs, getEntityCertificate, getEntityCertificateChain, getSecretKey, setCRLs, setEntityCertificate, setEntityCertificateChain, setPublicKey, setSecretKey
 
Methods inherited from class org.opensaml.xml.security.credential.BasicCredential
setEntityId, setPrivateKey, setUsageType
 
Methods inherited from class org.opensaml.xml.security.credential.AbstractCredential
getCredentalContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getUsageType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.security.x509.X509Credential
getCRLs, getEntityCertificate, getEntityCertificateChain
 
Methods inherited from interface org.opensaml.xml.security.credential.Credential
getCredentalContextSet, getCredentialType, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType
 

Field Detail

X509_CERT_REQUEST_ATTRIBUTE

public static final String X509_CERT_REQUEST_ATTRIBUTE
Servlet request attribute to pull certificate info from.

See Also:
Constant Field Values
Constructor Detail

ServletRequestX509CredentialAdapter

public ServletRequestX509CredentialAdapter(javax.servlet.ServletRequest request)
Constructor.

Parameters:
request - the servlet request


Copyright © 2006-2013 Internet2. All Rights Reserved.