1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.juddi.datatype.response;
17
18 import org.apache.juddi.datatype.RegistryObject;
19 import org.apache.juddi.datatype.request.AuthInfo;
20
21 /***
22 * Contains a single authInfo element that contains an access token that is to
23 * be passed back in all of the publisher API messages that change data. This
24 * message is always returned using SSL encryption as a synchronous response
25 * to the get_authToken message.
26 *
27 * @author Steve Viens (sviens@apache.org)
28 */
29 public class AuthToken implements RegistryObject
30 {
31 String generic;
32 String operator;
33 AuthInfo authInfo;
34
35 /***
36 *
37 */
38 public AuthToken()
39 {
40 }
41
42 /***
43 *
44 */
45 public AuthToken(AuthInfo authInfo)
46 {
47 setAuthInfo(authInfo);
48 }
49
50 /***
51 *
52 * @param genericValue
53 */
54 public void setGeneric(String genericValue)
55 {
56 this.generic = genericValue;
57 }
58
59 /***
60 *
61 * @return String UDDI generic value.
62 */
63 public String getGeneric()
64 {
65 return this.generic;
66 }
67
68 /***
69 *
70 */
71 public void setOperator(String operator)
72 {
73 this.operator = operator;
74 }
75
76 /***
77 *
78 */
79 public String getOperator()
80 {
81 return this.operator;
82 }
83
84 /***
85 *
86 */
87 public void setAuthInfo(AuthInfo authInfo)
88 {
89 this.authInfo = authInfo;
90 }
91
92 /***
93 *
94 */
95 public AuthInfo getAuthInfo()
96 {
97 return this.authInfo;
98 }
99 }