/* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this software; if not, write to the Free * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ package org.picketlink.identity.federation.saml.v2.protocol; import java.net.URI; import javax.xml.datatype.XMLGregorianCalendar; import org.picketlink.identity.federation.saml.common.CommonRequestAbstractType; import org.picketlink.identity.federation.saml.v2.SAML2Object; import org.picketlink.identity.federation.saml.v2.assertion.NameIDType; /** * <p> * Java class for RequestAbstractType complex type. * * <p> * The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="RequestAbstractType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Issuer" minOccurs="0"/> * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/> * <element ref="{urn:oasis:names:tc:SAML:2.0:protocol}Extensions" minOccurs="0"/> * </sequence> * <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> * <attribute name="Version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="IssueInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> * <attribute name="Destination" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * <attribute name="Consent" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ public abstract class RequestAbstractType extends CommonRequestAbstractType implements SAML2Object { private static final long serialVersionUID = 1L; protected NameIDType issuer; protected ExtensionsType extensions; protected String version = "2.0"; protected URI destination; protected String consent; public RequestAbstractType(String id, XMLGregorianCalendar instant) { super(id, instant); } /** * Gets the value of the issuer property. * * @return possible object is {@link NameIDType } * */ public NameIDType getIssuer() { return issuer; } /** * Sets the value of the issuer property. * * @param value allowed object is {@link NameIDType } * */ public void setIssuer(NameIDType value) { this.issuer = value; } /** * Gets the value of the extensions property. * * @return possible object is {@link ExtensionsType } * */ public ExtensionsType getExtensions() { return extensions; } /** * Sets the value of the extensions property. * * @param value allowed object is {@link ExtensionsType } * */ public void setExtensions(ExtensionsType value) { this.extensions = value; } /** * Gets the value of the version property. * * @return possible object is {@link String } * */ public String getVersion() { return version; } /** * Gets the value of the destination property. * * @return possible object is {@link String } * */ public URI getDestination() { return destination; } /** * Sets the value of the destination property. * * @param value allowed object is {@link String } * */ public void setDestination(URI value) { this.destination = value; } /** * Gets the value of the consent property. * * @return possible object is {@link String } * */ public String getConsent() { return consent; } /** * Sets the value of the consent property. * * @param value allowed object is {@link String } * */ public void setConsent(String value) { this.consent = value; } }