com.sun.xml.security.core.ai.IdentityType Maven / Gradle / Ivy
/*
* Copyright (c) 2010, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.07.10 at 04:15:53 PM IST
//
package com.sun.xml.security.core.ai;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElementRef;
import jakarta.xml.bind.annotation.XmlElementRefs;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for IdentityType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IdentityType", propOrder = {
"dnsOrSpnOrUpn"
})
public class IdentityType {
@XmlElementRefs({
@XmlElementRef(name = "Spn", namespace = "http://schemas.xmlsoap.org/ws/2006/02/addressingidentity", type = JAXBElement.class),
@XmlElementRef(name = "Dns", namespace = "http://schemas.xmlsoap.org/ws/2006/02/addressingidentity", type = JAXBElement.class),
@XmlElementRef(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class),
@XmlElementRef(name = "Upn", namespace = "http://schemas.xmlsoap.org/ws/2006/02/addressingidentity", type = JAXBElement.class),
@XmlElementRef(name = "BinarySecurityToken", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", type = JAXBElement.class),
@XmlElementRef(name = "SecurityTokenReference", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", type = JAXBElement.class)
})
protected List> dnsOrSpnOrUpn;
/**
* Gets the value of the dnsOrSpnOrUpn property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the dnsOrSpnOrUpn property.
*
*
* For example, to add a new item, do as follows:
*
* getDnsOrSpnOrUpn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code }
* {@link JAXBElement }{@code }
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code }
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*
*/
public List> getDnsOrSpnOrUpn() {
if (dnsOrSpnOrUpn == null) {
dnsOrSpnOrUpn = new ArrayList<>();
}
return this.dnsOrSpnOrUpn;
}
}