public abstract class AbstractSAMLCallbackHandler extends Object implements SAMLCallbackHandler
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AbstractSAMLCallbackHandler.Statement | 
| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.ws.security.saml.ext.bean.KeyInfoBean.CERT_IDENTIFIER | certIdentifier | 
| protected X509Certificate[] | certs | 
| protected String | confirmationMethod | 
| protected List<?> | customAttributeValues | 
| protected byte[] | ephemeralKey | 
| protected String | issuer | 
| protected String | resource | 
| protected AbstractSAMLCallbackHandler.Statement | statement | 
| protected String | subjectLocalityDnsAddress | 
| protected String | subjectLocalityIpAddress | 
| protected String | subjectName | 
| protected String | subjectNameIDFormat | 
| protected String | subjectQualifier | 
| Constructor and Description | 
|---|
| AbstractSAMLCallbackHandler(org.apache.ws.security.components.crypto.Crypto crypto,
                           String alias,
                           String assertionTypeFriendlyName,
                           String confirmationMethodFriendlyName)Use this for signed assertion | 
| AbstractSAMLCallbackHandler(String assertionTypeFriendlyName,
                           String confirmationMethodFriendlyName)Use this is for unsigned assertions | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | createAndSetStatement(org.apache.ws.security.saml.ext.bean.SubjectBean subjectBean,
                     org.apache.ws.security.saml.ext.SAMLCallback callback)Note that the SubjectBean parameter should be null for SAML2.0 | 
| protected org.apache.ws.security.saml.ext.bean.KeyInfoBean | createKeyInfo() | 
| String | getAlias() | 
| org.apache.ws.security.components.crypto.Crypto | getCrypto() | 
| byte[] | getEphemeralKey() | 
| void | setAlias(String alias) | 
| void | setCertIdentifier(org.apache.ws.security.saml.ext.bean.KeyInfoBean.CERT_IDENTIFIER certIdentifier) | 
| void | setCerts(X509Certificate[] certs) | 
| void | setCrypto(org.apache.ws.security.components.crypto.Crypto crypto) | 
| void | setCustomAttributeName(String customAttributeName) | 
| void | setCustomAttributeValues(List<?> customAttributeValues) | 
| void | setIssuer(String issuer) | 
| void | setResource(String resource) | 
| void | setStatement(String statement) | 
| void | setSubjectLocality(String ipAddress,
                  String dnsAddress) | 
| void | setSubjectName(String subjectName) | 
| void | setSubjectNameIDFormat(String subjectNameIDFormat) | 
| void | setSubjectQualifier(String subjectQualifier) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConfirmationMethodhandleprotected String subjectName
protected String subjectQualifier
protected String confirmationMethod
protected X509Certificate[] certs
protected AbstractSAMLCallbackHandler.Statement statement
protected org.apache.ws.security.saml.ext.bean.KeyInfoBean.CERT_IDENTIFIER certIdentifier
protected byte[] ephemeralKey
protected String issuer
protected String subjectNameIDFormat
protected String subjectLocalityIpAddress
protected String subjectLocalityDnsAddress
protected String resource
protected List<?> customAttributeValues
public AbstractSAMLCallbackHandler(org.apache.ws.security.components.crypto.Crypto crypto,
                                   String alias,
                                   String assertionTypeFriendlyName,
                                   String confirmationMethodFriendlyName)
public void setCertIdentifier(org.apache.ws.security.saml.ext.bean.KeyInfoBean.CERT_IDENTIFIER certIdentifier)
setCertIdentifier in interface SAMLCallbackHandlerpublic void setCerts(X509Certificate[] certs)
setCerts in interface SAMLCallbackHandlerpublic byte[] getEphemeralKey()
getEphemeralKey in interface SAMLCallbackHandlerpublic void setIssuer(String issuer)
setIssuer in interface SAMLCallbackHandlerpublic void setSubjectName(String subjectName)
setSubjectName in interface SAMLCallbackHandlerpublic void setSubjectQualifier(String subjectQualifier)
setSubjectQualifier in interface SAMLCallbackHandlerpublic void setSubjectNameIDFormat(String subjectNameIDFormat)
setSubjectNameIDFormat in interface SAMLCallbackHandlerpublic void setSubjectLocality(String ipAddress, String dnsAddress)
setSubjectLocality in interface SAMLCallbackHandlerpublic void setResource(String resource)
setResource in interface SAMLCallbackHandlerpublic void setCustomAttributeName(String customAttributeName)
setCustomAttributeName in interface SAMLCallbackHandlerpublic void setCustomAttributeValues(List<?> customAttributeValues)
setCustomAttributeValues in interface SAMLCallbackHandlerpublic org.apache.ws.security.components.crypto.Crypto getCrypto()
getCrypto in interface SAMLCallbackHandlerpublic void setCrypto(org.apache.ws.security.components.crypto.Crypto crypto)
setCrypto in interface SAMLCallbackHandlerpublic String getAlias()
getAlias in interface SAMLCallbackHandlerpublic void setAlias(String alias)
setAlias in interface SAMLCallbackHandlerpublic void setStatement(String statement)
setStatement in interface SAMLCallbackHandlerprotected void createAndSetStatement(org.apache.ws.security.saml.ext.bean.SubjectBean subjectBean,
                                     org.apache.ws.security.saml.ext.SAMLCallback callback)
Copyright © 2019. All Rights Reserved.