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 theSamlAssertionWrapper
during 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 AdviceBean
getAdvice()
Element
getAssertionElement()
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.String
getCanonicalizationAlgorithm()
ConditionsBean
getConditions()
Method getConditions returns the conditions of this SAMLCallback object.String
getIssuer()
Method getIssuer returns the issuer of this SAMLCallback object.Crypto
getIssuerCrypto()
String
getIssuerFormat()
String
getIssuerKeyName()
String
getIssuerKeyPassword()
String
getIssuerQualifier()
org.opensaml.saml.common.SAMLVersion
getSamlVersion()
Get the SAMLVersion of the assertion to createString
getSignatureAlgorithm()
String
getSignatureDigestAlgorithm()
SubjectBean
getSubject()
Method getSubject returns the subject of this SAMLCallback object.boolean
isSendKeyValue()
boolean
isSignAssertion()
void
setAdvice(AdviceBean advice)
void
setAssertionElement(Element assertionElement)
Set the DOM representation of this SAML Assertionvoid
setAttributeStatementData(List<AttributeStatementBean> attributeStatementData)
Method setAttributeStatementData sets the attributeStatementData of this SAMLCallback object.void
setAuthDecisionStatementData(List<AuthDecisionStatementBean> authDecisionStatementData)
Method setAuthDecisionStatementData sets the authDecisionStatementData of this SAMLCallback object.void
setAuthenticationStatementData(List<AuthenticationStatementBean> authenticationStatementData)
Method setAuthenticationStatementData sets the authenticationStatementData of this SAMLCallback object.void
setCanonicalizationAlgorithm(String canonicalizationAlgorithm)
void
setConditions(ConditionsBean conditions)
Method setConditions sets the conditions of this SAMLCallback object.void
setIssuer(String issuer)
Method setIssuer sets the issuer of this SAMLCallback object.void
setIssuerCrypto(Crypto issuerCrypto)
void
setIssuerFormat(String issuerFormat)
void
setIssuerKeyName(String issuerKeyName)
void
setIssuerKeyPassword(String issuerKeyPassword)
void
setIssuerQualifier(String issuerQualifier)
void
setSamlVersion(Version samlVersion)
Set the SAML Version of the assertion to createvoid
setSamlVersion(org.opensaml.saml.common.SAMLVersion samlVersion)
Deprecated.void
setSendKeyValue(boolean sendKeyValue)
void
setSignAssertion(boolean signAssertion)
void
setSignatureAlgorithm(String signatureAlgorithm)
void
setSignatureDigestAlgorithm(String signatureDigestAlgorithm)
void
setSubject(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)
-
-