001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.jee.wls;
017:
018: import javax.xml.bind.annotation.XmlAccessType;
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlAttribute;
021: import javax.xml.bind.annotation.XmlElement;
022: import javax.xml.bind.annotation.XmlID;
023: import javax.xml.bind.annotation.XmlType;
024: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
025: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
026:
027: /**
028: * <p>Java class for iiop-security-descriptor complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType name="iiop-security-descriptor">
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <sequence>
037: * <element name="transport-requirements" type="{http://www.bea.com/ns/weblogic/90}transport-requirements" minOccurs="0"/>
038: * <element name="client-authentication" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
039: * <element name="identity-assertion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
040: * </sequence>
041: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
042: * </restriction>
043: * </complexContent>
044: * </complexType>
045: * </pre>
046: *
047: *
048: */
049: @XmlAccessorType(XmlAccessType.FIELD)
050: @XmlType(name="iiop-security-descriptor",propOrder={"transportRequirements","clientAuthentication","identityAssertion"})
051: public class IiopSecurityDescriptor {
052:
053: @XmlElement(name="transport-requirements")
054: protected TransportRequirements transportRequirements;
055: @XmlElement(name="client-authentication")
056: protected String clientAuthentication;
057: @XmlElement(name="identity-assertion")
058: protected String identityAssertion;
059: @XmlAttribute
060: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
061: @XmlID
062: protected String id;
063:
064: /**
065: * Gets the value of the transportRequirements property.
066: *
067: * @return
068: * possible object is
069: * {@link TransportRequirements }
070: *
071: */
072: public TransportRequirements getTransportRequirements() {
073: return transportRequirements;
074: }
075:
076: /**
077: * Sets the value of the transportRequirements property.
078: *
079: * @param value
080: * allowed object is
081: * {@link TransportRequirements }
082: *
083: */
084: public void setTransportRequirements(TransportRequirements value) {
085: this .transportRequirements = value;
086: }
087:
088: /**
089: * Gets the value of the clientAuthentication property.
090: *
091: * @return
092: * possible object is
093: * {@link String }
094: *
095: */
096: public String getClientAuthentication() {
097: return clientAuthentication;
098: }
099:
100: /**
101: * Sets the value of the clientAuthentication property.
102: *
103: * @param value
104: * allowed object is
105: * {@link String }
106: *
107: */
108: public void setClientAuthentication(String value) {
109: this .clientAuthentication = value;
110: }
111:
112: /**
113: * Gets the value of the identityAssertion property.
114: *
115: * @return
116: * possible object is
117: * {@link String }
118: *
119: */
120: public String getIdentityAssertion() {
121: return identityAssertion;
122: }
123:
124: /**
125: * Sets the value of the identityAssertion property.
126: *
127: * @param value
128: * allowed object is
129: * {@link String }
130: *
131: */
132: public void setIdentityAssertion(String value) {
133: this .identityAssertion = value;
134: }
135:
136: /**
137: * Gets the value of the id property.
138: *
139: * @return
140: * possible object is
141: * {@link String }
142: *
143: */
144: public String getId() {
145: return id;
146: }
147:
148: /**
149: * Sets the value of the id property.
150: *
151: * @param value
152: * allowed object is
153: * {@link String }
154: *
155: */
156: public void setId(String value) {
157: this.id = value;
158: }
159:
160: }
|