package at.gv.egovernment.moa.id.auth.data; import org.w3c.dom.Element; /** * This bean saves all information of the CreateXMLSignature-Response: * a {@link SAMLAttribute} array, the SamlAssertion-Element and the * saml NameIdentifier * * @author Stefan Knirsch * @version $Id$ * */ public class CreateXMLSignatureResponse { /** the samlNameIdentifier */ private String samlNameIdentifier; /** an array of saml-attributes */ private SAMLAttribute[] samlAttributes; /** * the original saml:Assertion-Element */ private Element samlAssertion; /** * Returns the samlAssertion. * @return Element */ public Element getSamlAssertion() { return samlAssertion; } /** * Returns the samlAttribute. * @return SAMLAttribute[] */ public SAMLAttribute[] getSamlAttributes() { return samlAttributes; } /** * Returns the samlNameIdentifier. * @return String */ public String getSamlNameIdentifier() { return samlNameIdentifier; } /** * Sets the samlAssertion. * @param samlAssertion The samlAssertion to set */ public void setSamlAssertion(Element samlAssertion) { this.samlAssertion = samlAssertion; } /** * Sets the samlAttribute. * @param samlAttribute The samlAttribute to set */ public void setSamlAttributes(SAMLAttribute[] samlAttributes) { this.samlAttributes = samlAttributes; } /** * Sets the samlNameIdentifier. * @param samlNameIdentifier The samlNameIdentifier to set */ public void setSamlNameIdentifier(String samlNameIdentifier) { this.samlNameIdentifier = samlNameIdentifier; } }