org.apache.wss4j.common.saml
Class SAMLCallback

java.lang.Object
  extended by org.apache.wss4j.common.saml.SAMLCallback
All Implemented Interfaces:
Callback

public class SAMLCallback
extends Object
implements 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
SAMLCallback()
          Constructor SAMLCallback creates a new SAMLCallback instance.
 
Method Summary
 AdviceBean getAdvice()
           
 Element getAssertionElement()
          Get the DOM representation of this SAML Assertion
 List<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 getIssuerKeyName()
           
 String getIssuerKeyPassword()
           
 org.opensaml.common.SAMLVersion getSamlVersion()
          Get the SAMLVersion of the assertion to create
 String 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 Assertion
 void 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 setIssuerKeyName(String issuerKeyName)
           
 void setIssuerKeyPassword(String issuerKeyPassword)
           
 void setSamlVersion(org.opensaml.common.SAMLVersion samlVersion)
          Deprecated. 
 void setSamlVersion(Version samlVersion)
          Set the SAML Version of the assertion to create
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLCallback

public SAMLCallback()
Constructor SAMLCallback creates a new SAMLCallback instance.

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.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.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)


Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.