Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » [javadoc | source]
    1   /**
    2    *
    3    * Licensed to the Apache Software Foundation (ASF) under one or more
    4    * contributor license agreements.  See the NOTICE file distributed with
    5    * this work for additional information regarding copyright ownership.
    6    * The ASF licenses this file to You under the Apache License, Version 2.0
    7    * (the "License"); you may not use this file except in compliance with
    8    * the License.  You may obtain a copy of the License at
    9    *
   10    *     http://www.apache.org/licenses/LICENSE-2.0
   11    *
   12    *  Unless required by applicable law or agreed to in writing, software
   13    *  distributed under the License is distributed on an "AS IS" BASIS,
   14    *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   15    *  See the License for the specific language governing permissions and
   16    *  limitations under the License.
   17    */
   18   package org.apache.openejb.jee;
   19   
   20   import javax.xml.bind.annotation.XmlAccessType;
   21   import javax.xml.bind.annotation.XmlAccessorType;
   22   import javax.xml.bind.annotation.XmlAttribute;
   23   import javax.xml.bind.annotation.XmlElement;
   24   import javax.xml.bind.annotation.XmlID;
   25   import javax.xml.bind.annotation.XmlType;
   26   import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
   27   import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
   28   
   29   @XmlAccessorType(XmlAccessType.FIELD)
   30   @XmlType(name = "login-configType", propOrder = {
   31           "authMethod",
   32           "realmName",
   33           "formLoginConfig"
   34   })
   35   public class LoginConfigType {
   36   
   37       @XmlElement(name = "auth-method")
   38       protected String authMethod;
   39       @XmlElement(name = "realm-name")
   40       protected String realmName;
   41       @XmlElement(name = "form-login-config")
   42       protected FormLoginConfig formLoginConfig;
   43       @XmlAttribute
   44       @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
   45       @XmlID
   46       protected String id;
   47   
   48       public String getAuthMethod() {
   49           return authMethod;
   50       }
   51   
   52       public void setAuthMethod(String value) {
   53           this.authMethod = value;
   54       }
   55   
   56       public String getRealmName() {
   57           return realmName;
   58       }
   59   
   60       public void setRealmName(String value) {
   61           this.realmName = value;
   62       }
   63   
   64       public FormLoginConfig getFormLoginConfig() {
   65           return formLoginConfig;
   66       }
   67   
   68       public void setFormLoginConfig(FormLoginConfig value) {
   69           this.formLoginConfig = value;
   70       }
   71   
   72       public String getId() {
   73           return id;
   74       }
   75   
   76       public void setId(String value) {
   77           this.id = value;
   78       }
   79   
   80   }

Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » [javadoc | source]