KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > jawe > ldap > Security


1 /* Security.java
2  *
3  * Authors:
4  * Stefanovic Nenad chupo@iis.ns.ac.yu
5  * Bojanic Sasa sasaboy@neobee.net
6  * Puskas Vladimir vpuskas@eunet.yu
7  * Pilipovic Goran zboniek@uns.ac.yu
8  *
9  */

10
11 package org.enhydra.jawe.ldap;
12
13
14 import org.enhydra.jawe.xml.*;
15 import org.enhydra.jawe.xml.elements.*;
16
17 import java.util.*;
18
19  // This is not a real WfMC DTD element, but it is introduced to help
20
public class Security extends XMLComplexElement {
21
22    private XMLAttribute level=new XMLAttribute("Level",
23       new String JavaDoc[] {
24          "Anonymous",
25          "UserAndPassword"
26       },0);
27    private XMLAttribute userDN=new XMLAttribute("UserDN");
28    private XMLAttribute password=new XMLAttribute("Password",2);
29
30    public Security () {
31       super();
32
33       complexStructure.add(level);
34       complexStructure.add(userDN);
35       complexStructure.add(password);
36    }
37
38 }
39
Popular Tags