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.oejb2;
017:
018: import javax.xml.bind.annotation.XmlAccessType;
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlElement;
021: import javax.xml.bind.annotation.XmlType;
022:
023: /**
024: * <p>Java class for web-service-securityType complex type.
025: *
026: * <p>The following schema fragment specifies the expected content contained within this class.
027: *
028: * <pre>
029: * <complexType name="web-service-securityType">
030: * <complexContent>
031: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
032: * <sequence>
033: * <element name="security-realm-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
034: * <element name="realm-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
035: * <element name="transport-guarantee" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}transport-guaranteeType"/>
036: * <element name="auth-method" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}auth-methodType"/>
037: * </sequence>
038: * </restriction>
039: * </complexContent>
040: * </complexType>
041: * </pre>
042: *
043: *
044: */
045: @XmlAccessorType(XmlAccessType.FIELD)
046: @XmlType(name="web-service-securityType",propOrder={"securityRealmName","realmName","transportGuarantee","authMethod"})
047: public class WebServiceSecurityType {
048:
049: @XmlElement(name="security-realm-name",required=true)
050: protected String securityRealmName;
051: @XmlElement(name="realm-name")
052: protected String realmName;
053: @XmlElement(name="transport-guarantee",required=true)
054: protected TransportGuaranteeType transportGuarantee;
055: @XmlElement(name="auth-method",required=true)
056: protected AuthMethodType authMethod;
057:
058: /**
059: * Gets the value of the securityRealmName property.
060: *
061: * @return
062: * possible object is
063: * {@link String }
064: *
065: */
066: public String getSecurityRealmName() {
067: return securityRealmName;
068: }
069:
070: /**
071: * Sets the value of the securityRealmName property.
072: *
073: * @param value
074: * allowed object is
075: * {@link String }
076: *
077: */
078: public void setSecurityRealmName(String value) {
079: this .securityRealmName = value;
080: }
081:
082: /**
083: * Gets the value of the realmName property.
084: *
085: * @return
086: * possible object is
087: * {@link String }
088: *
089: */
090: public String getRealmName() {
091: return realmName;
092: }
093:
094: /**
095: * Sets the value of the realmName property.
096: *
097: * @param value
098: * allowed object is
099: * {@link String }
100: *
101: */
102: public void setRealmName(String value) {
103: this .realmName = value;
104: }
105:
106: /**
107: * Gets the value of the transportGuarantee property.
108: *
109: * @return
110: * possible object is
111: * {@link TransportGuaranteeType }
112: *
113: */
114: public TransportGuaranteeType getTransportGuarantee() {
115: return transportGuarantee;
116: }
117:
118: /**
119: * Sets the value of the transportGuarantee property.
120: *
121: * @param value
122: * allowed object is
123: * {@link TransportGuaranteeType }
124: *
125: */
126: public void setTransportGuarantee(TransportGuaranteeType value) {
127: this .transportGuarantee = value;
128: }
129:
130: /**
131: * Gets the value of the authMethod property.
132: *
133: * @return
134: * possible object is
135: * {@link AuthMethodType }
136: *
137: */
138: public AuthMethodType getAuthMethod() {
139: return authMethod;
140: }
141:
142: /**
143: * Sets the value of the authMethod property.
144: *
145: * @param value
146: * allowed object is
147: * {@link AuthMethodType }
148: *
149: */
150: public void setAuthMethod(AuthMethodType value) {
151: this.authMethod = value;
152: }
153:
154: }
|