Package org.apache.wss4j.common.saml
Class SAMLCallback
java.lang.Object
org.apache.wss4j.common.saml.SAMLCallback
- All Implemented Interfaces:
Callback
Class SAMLCallback will be called by the
SamlAssertionWrapper 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
ConstructorsConstructorDescriptionConstructor SAMLCallback creates a new SAMLCallback instance. -
Method Summary
Modifier and TypeMethodDescriptionGet the DOM representation of this SAML AssertionMethod getAttributeStatementData returns the attributeStatementData of this SAMLCallback object.Method getAuthDecisionStatementData returns the authDecisionStatementData of this SAMLCallback object.Method getAuthenticationStatementData returns the authenticationStatementData of this SAMLCallback object.Method getConditions returns the conditions of this SAMLCallback object.Method getIssuer returns the issuer of this SAMLCallback object.org.opensaml.saml.common.SAMLVersionGet the SAMLVersion of the assertion to createMethod getSubject returns the subject of this SAMLCallback object.booleanbooleanvoidsetAdvice(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.voidMethod 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.
-
Constructor Details
-
SAMLCallback
public SAMLCallback()Constructor SAMLCallback creates a new SAMLCallback instance.
-
-
Method Details
-
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
Method getAttributeStatementData returns the attributeStatementData of this SAMLCallback object.- Returns:
- the attributeStatementData (type List
) of this SAMLCallback object.
-
setAttributeStatementData
Method setAttributeStatementData sets the attributeStatementData of this SAMLCallback object.- Parameters:
attributeStatementData- the attributeStatementData of this SAMLCallback object.
-
getAuthDecisionStatementData
Method getAuthDecisionStatementData returns the authDecisionStatementData of this SAMLCallback object.- Returns:
- the authDecisionStatementData (type List
) of this SAMLCallback object.
-
setAuthDecisionStatementData
Method setAuthDecisionStatementData sets the authDecisionStatementData of this SAMLCallback object.- Parameters:
authDecisionStatementData- the authDecisionStatementData of this SAMLCallback object.
-
getSubject
Method getSubject returns the subject of this SAMLCallback object.- Returns:
- the subject (type SubjectBean) of this SAMLCallback object.
-
setSubject
Method setSubject sets the subject of this SAMLCallback object.- Parameters:
subject- the subject of this SAMLCallback object.
-
getIssuer
Method getIssuer returns the issuer of this SAMLCallback object.- Returns:
- the issuer of this SAMLCallback object.
-
setIssuer
Method setIssuer sets the issuer of this SAMLCallback object.- Parameters:
issuer- the issuer of this SAMLCallback object.
-
getConditions
Method getConditions returns the conditions of this SAMLCallback object.- Returns:
- the conditions (type ConditionsBean) of this SAMLCallback object.
-
setConditions
Method setConditions sets the conditions of this SAMLCallback object.- Parameters:
conditions- the conditions of this SAMLCallback object.
-
setSamlVersion
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
Set the SAML Version of the assertion to create- Parameters:
samlVersion- the SAML Version of the assertion to create
-
setAssertionElement
Set the DOM representation of this SAML Assertion- Parameters:
assertionElement- the DOM representation of this SAML Assertion
-
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
-
setIssuerKeyName
-
getIssuerKeyPassword
-
setIssuerKeyPassword
-
getIssuerCrypto
-
setIssuerCrypto
-
isSendKeyValue
public boolean isSendKeyValue() -
setSendKeyValue
public void setSendKeyValue(boolean sendKeyValue) -
getCanonicalizationAlgorithm
-
setCanonicalizationAlgorithm
-
getSignatureAlgorithm
-
setSignatureAlgorithm
-
getSignatureDigestAlgorithm
-
setSignatureDigestAlgorithm
-
getAdvice
-
setAdvice
-
getIssuerFormat
-
setIssuerFormat
-
getIssuerQualifier
-
setIssuerQualifier
-