org.apache.ws.security.saml.ext
Class SAMLCallback

java.lang.Object
  extended by org.apache.ws.security.saml.ext.SAMLCallback
All Implemented Interfaces:
Callback

public class SAMLCallback
extends Object
implements Callback

Class SAMLCallback will be called by the AssertionWrapper 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
 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.
 ConditionsBean getConditions()
          Method getConditions returns the conditions of this SAMLCallback object.
 String getIssuer()
          Method getIssuer returns the issuer of this SAMLCallback object.
 org.opensaml.common.SAMLVersion getSamlVersion()
          Get the SAMLVersion of the assertion to create
 SubjectBean getSubject()
          Method getSubject returns the subject of this SAMLCallback object.
 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 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 setSamlVersion(org.opensaml.common.SAMLVersion samlVersion)
          Set the SAMLVersion of the assertion to create
 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

public void setSamlVersion(org.opensaml.common.SAMLVersion samlVersion)
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

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


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.