Package org.apache.wss4j.common.saml
Class SAMLCallback
- java.lang.Object
-
- org.apache.wss4j.common.saml.SAMLCallback
-
- All Implemented Interfaces:
Callback
public class SAMLCallback extends Object implements Callback
Class SAMLCallback will be called by theSamlAssertionWrapperduring the creation of SAML statements (authentication, attribute, and authz decision). Alternatively, the "assertionElement" member of this class can be set instead, for a pre-existing SAML Assertion.
-
-
Constructor Summary
Constructors Constructor Description SAMLCallback()Constructor SAMLCallback creates a new SAMLCallback instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AdviceBeangetAdvice()ElementgetAssertionElement()Get the DOM representation of this SAML AssertionList<AttributeStatementBean>getAttributeStatementData()Method getAttributeStatementData returns the attributeStatementData of this SAMLCallback object.List<AuthDecisionStatementBean>getAuthDecisionStatementData()Method getAuthDecisionStatementData returns the authDecisionStatementData of this SAMLCallback object.List<AuthenticationStatementBean>getAuthenticationStatementData()Method getAuthenticationStatementData returns the authenticationStatementData of this SAMLCallback object.StringgetCanonicalizationAlgorithm()ConditionsBeangetConditions()Method getConditions returns the conditions of this SAMLCallback object.StringgetIssuer()Method getIssuer returns the issuer of this SAMLCallback object.CryptogetIssuerCrypto()StringgetIssuerFormat()StringgetIssuerKeyName()StringgetIssuerKeyPassword()StringgetIssuerQualifier()org.opensaml.saml.common.SAMLVersiongetSamlVersion()Get the SAMLVersion of the assertion to createStringgetSignatureAlgorithm()StringgetSignatureDigestAlgorithm()SubjectBeangetSubject()Method getSubject returns the subject of this SAMLCallback object.booleanisSendKeyValue()booleanisSignAssertion()voidsetAdvice(AdviceBean advice)voidsetAssertionElement(Element assertionElement)Set the DOM representation of this SAML AssertionvoidsetAttributeStatementData(List<AttributeStatementBean> attributeStatementData)Method setAttributeStatementData sets the attributeStatementData of this SAMLCallback object.voidsetAuthDecisionStatementData(List<AuthDecisionStatementBean> authDecisionStatementData)Method setAuthDecisionStatementData sets the authDecisionStatementData of this SAMLCallback object.voidsetAuthenticationStatementData(List<AuthenticationStatementBean> authenticationStatementData)Method setAuthenticationStatementData sets the authenticationStatementData of this SAMLCallback object.voidsetCanonicalizationAlgorithm(String canonicalizationAlgorithm)voidsetConditions(ConditionsBean conditions)Method setConditions sets the conditions of this SAMLCallback object.voidsetIssuer(String issuer)Method setIssuer sets the issuer of this SAMLCallback object.voidsetIssuerCrypto(Crypto issuerCrypto)voidsetIssuerFormat(String issuerFormat)voidsetIssuerKeyName(String issuerKeyName)voidsetIssuerKeyPassword(String issuerKeyPassword)voidsetIssuerQualifier(String issuerQualifier)voidsetSamlVersion(Version samlVersion)Set the SAML Version of the assertion to createvoidsetSamlVersion(org.opensaml.saml.common.SAMLVersion samlVersion)Deprecated.voidsetSendKeyValue(boolean sendKeyValue)voidsetSignAssertion(boolean signAssertion)voidsetSignatureAlgorithm(String signatureAlgorithm)voidsetSignatureDigestAlgorithm(String signatureDigestAlgorithm)voidsetSubject(SubjectBean subject)Method setSubject sets the subject of this SAMLCallback object.
-
-
-
Method Detail
-
getAuthenticationStatementData
public List<AuthenticationStatementBean> getAuthenticationStatementData()
Method getAuthenticationStatementData returns the authenticationStatementData of this SAMLCallback object.- Returns:
- the authenticationStatementData (type List
) of this SAMLCallback object.
-
setAuthenticationStatementData
public void setAuthenticationStatementData(List<AuthenticationStatementBean> authenticationStatementData)
Method setAuthenticationStatementData sets the authenticationStatementData of this SAMLCallback object.- Parameters:
authenticationStatementData- the authenticationStatementData of this SAMLCallback object.
-
getAttributeStatementData
public List<AttributeStatementBean> getAttributeStatementData()
Method getAttributeStatementData returns the attributeStatementData of this SAMLCallback object.- Returns:
- the attributeStatementData (type List
) of this SAMLCallback object.
-
setAttributeStatementData
public void setAttributeStatementData(List<AttributeStatementBean> attributeStatementData)
Method setAttributeStatementData sets the attributeStatementData of this SAMLCallback object.- Parameters:
attributeStatementData- the attributeStatementData of this SAMLCallback object.
-
getAuthDecisionStatementData
public List<AuthDecisionStatementBean> getAuthDecisionStatementData()
Method getAuthDecisionStatementData returns the authDecisionStatementData of this SAMLCallback object.- Returns:
- the authDecisionStatementData (type List
) of this SAMLCallback object.
-
setAuthDecisionStatementData
public void setAuthDecisionStatementData(List<AuthDecisionStatementBean> authDecisionStatementData)
Method setAuthDecisionStatementData sets the authDecisionStatementData of this SAMLCallback object.- Parameters:
authDecisionStatementData- the authDecisionStatementData of this SAMLCallback object.
-
getSubject
public SubjectBean getSubject()
Method getSubject returns the subject of this SAMLCallback object.- Returns:
- the subject (type SubjectBean) of this SAMLCallback object.
-
setSubject
public void setSubject(SubjectBean subject)
Method setSubject sets the subject of this SAMLCallback object.- Parameters:
subject- the subject of this SAMLCallback object.
-
getIssuer
public String getIssuer()
Method getIssuer returns the issuer of this SAMLCallback object.- Returns:
- the issuer of this SAMLCallback object.
-
setIssuer
public void setIssuer(String issuer)
Method setIssuer sets the issuer of this SAMLCallback object.- Parameters:
issuer- the issuer of this SAMLCallback object.
-
getConditions
public ConditionsBean getConditions()
Method getConditions returns the conditions of this SAMLCallback object.- Returns:
- the conditions (type ConditionsBean) of this SAMLCallback object.
-
setConditions
public void setConditions(ConditionsBean conditions)
Method setConditions sets the conditions of this SAMLCallback object.- Parameters:
conditions- the conditions of this SAMLCallback object.
-
setSamlVersion
@Deprecated public void setSamlVersion(org.opensaml.saml.common.SAMLVersion samlVersion)
Deprecated.Set the SAMLVersion of the assertion to create- Parameters:
samlVersion- the SAMLVersion of the assertion to create
-
getSamlVersion
public org.opensaml.saml.common.SAMLVersion getSamlVersion()
Get the SAMLVersion of the assertion to create- Returns:
- the SAMLVersion of the assertion to create
-
setSamlVersion
public void setSamlVersion(Version samlVersion)
Set the SAML Version of the assertion to create- Parameters:
samlVersion- the SAML Version of the assertion to create
-
setAssertionElement
public void setAssertionElement(Element assertionElement)
Set the DOM representation of this SAML Assertion- Parameters:
assertionElement- the DOM representation of this SAML Assertion
-
getAssertionElement
public Element getAssertionElement()
Get the DOM representation of this SAML Assertion- Returns:
- the DOM representation of this SAML Assertion
-
isSignAssertion
public boolean isSignAssertion()
-
setSignAssertion
public void setSignAssertion(boolean signAssertion)
-
getIssuerKeyName
public String getIssuerKeyName()
-
setIssuerKeyName
public void setIssuerKeyName(String issuerKeyName)
-
getIssuerKeyPassword
public String getIssuerKeyPassword()
-
setIssuerKeyPassword
public void setIssuerKeyPassword(String issuerKeyPassword)
-
getIssuerCrypto
public Crypto getIssuerCrypto()
-
setIssuerCrypto
public void setIssuerCrypto(Crypto issuerCrypto)
-
isSendKeyValue
public boolean isSendKeyValue()
-
setSendKeyValue
public void setSendKeyValue(boolean sendKeyValue)
-
getCanonicalizationAlgorithm
public String getCanonicalizationAlgorithm()
-
setCanonicalizationAlgorithm
public void setCanonicalizationAlgorithm(String canonicalizationAlgorithm)
-
getSignatureAlgorithm
public String getSignatureAlgorithm()
-
setSignatureAlgorithm
public void setSignatureAlgorithm(String signatureAlgorithm)
-
getSignatureDigestAlgorithm
public String getSignatureDigestAlgorithm()
-
setSignatureDigestAlgorithm
public void setSignatureDigestAlgorithm(String signatureDigestAlgorithm)
-
getAdvice
public AdviceBean getAdvice()
-
setAdvice
public void setAdvice(AdviceBean advice)
-
getIssuerFormat
public String getIssuerFormat()
-
setIssuerFormat
public void setIssuerFormat(String issuerFormat)
-
getIssuerQualifier
public String getIssuerQualifier()
-
setIssuerQualifier
public void setIssuerQualifier(String issuerQualifier)
-
-