001: /**
002: * SSOIdentityManagerSoapBindingSkeleton.java
003: *
004: * This file was auto-generated from WSDL
005: * by the Apache Axis 1.2.1 Jul 21, 2005 (10:26:06 GMT-03:00) WSDL2Java emitter.
006: */package org.josso.gateway.identity.service.ws.impl;
007:
008: public class SSOIdentityManagerSoapBindingSkeleton implements
009: org.josso.gateway.identity.service.ws.impl.SSOIdentityManager,
010: org.apache.axis.wsdl.Skeleton {
011: private org.josso.gateway.identity.service.ws.impl.SSOIdentityManager impl;
012: private static java.util.Map _myOperations = new java.util.Hashtable();
013: private static java.util.Collection _myOperationsList = new java.util.ArrayList();
014:
015: /**
016: * Returns List of OperationDesc objects with this name
017: */
018: public static java.util.List getOperationDescByName(
019: java.lang.String methodName) {
020: return (java.util.List) _myOperations.get(methodName);
021: }
022:
023: /**
024: * Returns Collection of OperationDescs
025: */
026: public static java.util.Collection getOperationDescs() {
027: return _myOperationsList;
028: }
029:
030: static {
031: org.apache.axis.description.OperationDesc _oper;
032: org.apache.axis.description.FaultDesc _fault;
033: org.apache.axis.description.ParameterDesc[] _params;
034: _params = new org.apache.axis.description.ParameterDesc[] { new org.apache.axis.description.ParameterDesc(
035: new javax.xml.namespace.QName("", "in0"),
036: org.apache.axis.description.ParameterDesc.IN,
037: new javax.xml.namespace.QName(
038: "http://www.w3.org/2001/XMLSchema", "string"),
039: java.lang.String.class, false, false), };
040: _oper = new org.apache.axis.description.OperationDesc(
041: "findUser", _params, new javax.xml.namespace.QName("",
042: "findUserReturn"));
043: _oper.setReturnType(new javax.xml.namespace.QName(
044: "http://josso.org/gateway/identity/service/ws/impl",
045: "SSOUser"));
046: _oper.setElementQName(new javax.xml.namespace.QName(
047: "http://josso.org/gateway/identity/service/ws/impl",
048: "findUser"));
049: _oper.setSoapAction("");
050: _myOperationsList.add(_oper);
051: if (_myOperations.get("findUser") == null) {
052: _myOperations.put("findUser", new java.util.ArrayList());
053: }
054: ((java.util.List) _myOperations.get("findUser")).add(_oper);
055: _fault = new org.apache.axis.description.FaultDesc();
056: _fault.setName("SSOIdentityException");
057: _fault.setQName(new javax.xml.namespace.QName(
058: "http://josso.org/gateway/identity/service/ws/impl",
059: "fault"));
060: _fault
061: .setClassName("org.josso.gateway.identity.service.ws.impl.SSOIdentityException");
062: _fault.setXmlType(new javax.xml.namespace.QName(
063: "http://josso.org/gateway/identity/service/ws/impl",
064: "SSOIdentityException"));
065: _oper.addFault(_fault);
066: _fault = new org.apache.axis.description.FaultDesc();
067: _fault.setName("NoSuchUserException");
068: _fault.setQName(new javax.xml.namespace.QName(
069: "http://josso.org/gateway/identity/service/ws/impl",
070: "fault"));
071: _fault
072: .setClassName("org.josso.gateway.identity.service.ws.impl.NoSuchUserException");
073: _fault.setXmlType(new javax.xml.namespace.QName(
074: "http://josso.org/gateway/identity/service/ws/impl",
075: "NoSuchUserException"));
076: _oper.addFault(_fault);
077: _params = new org.apache.axis.description.ParameterDesc[] { new org.apache.axis.description.ParameterDesc(
078: new javax.xml.namespace.QName("", "in0"),
079: org.apache.axis.description.ParameterDesc.IN,
080: new javax.xml.namespace.QName(
081: "http://www.w3.org/2001/XMLSchema", "string"),
082: java.lang.String.class, false, false), };
083: _oper = new org.apache.axis.description.OperationDesc(
084: "findUserInSession", _params,
085: new javax.xml.namespace.QName("",
086: "findUserInSessionReturn"));
087: _oper.setReturnType(new javax.xml.namespace.QName(
088: "http://josso.org/gateway/identity/service/ws/impl",
089: "SSOUser"));
090: _oper.setElementQName(new javax.xml.namespace.QName(
091: "http://josso.org/gateway/identity/service/ws/impl",
092: "findUserInSession"));
093: _oper.setSoapAction("");
094: _myOperationsList.add(_oper);
095: if (_myOperations.get("findUserInSession") == null) {
096: _myOperations.put("findUserInSession",
097: new java.util.ArrayList());
098: }
099: ((java.util.List) _myOperations.get("findUserInSession"))
100: .add(_oper);
101: _fault = new org.apache.axis.description.FaultDesc();
102: _fault.setName("SSOIdentityException");
103: _fault.setQName(new javax.xml.namespace.QName(
104: "http://josso.org/gateway/identity/service/ws/impl",
105: "fault"));
106: _fault
107: .setClassName("org.josso.gateway.identity.service.ws.impl.SSOIdentityException");
108: _fault.setXmlType(new javax.xml.namespace.QName(
109: "http://josso.org/gateway/identity/service/ws/impl",
110: "SSOIdentityException"));
111: _oper.addFault(_fault);
112: _fault = new org.apache.axis.description.FaultDesc();
113: _fault.setName("NoSuchUserException");
114: _fault.setQName(new javax.xml.namespace.QName(
115: "http://josso.org/gateway/identity/service/ws/impl",
116: "fault"));
117: _fault
118: .setClassName("org.josso.gateway.identity.service.ws.impl.NoSuchUserException");
119: _fault.setXmlType(new javax.xml.namespace.QName(
120: "http://josso.org/gateway/identity/service/ws/impl",
121: "NoSuchUserException"));
122: _oper.addFault(_fault);
123: _params = new org.apache.axis.description.ParameterDesc[] { new org.apache.axis.description.ParameterDesc(
124: new javax.xml.namespace.QName("", "in0"),
125: org.apache.axis.description.ParameterDesc.IN,
126: new javax.xml.namespace.QName(
127: "http://www.w3.org/2001/XMLSchema", "string"),
128: java.lang.String.class, false, false), };
129: _oper = new org.apache.axis.description.OperationDesc(
130: "findRolesByUsername", _params,
131: new javax.xml.namespace.QName("",
132: "findRolesByUsernameReturn"));
133: _oper.setReturnType(new javax.xml.namespace.QName(
134: "http://josso.org/gateway/identity/service/ws/impl",
135: "ArrayOfSSORole"));
136: _oper.setElementQName(new javax.xml.namespace.QName(
137: "http://josso.org/gateway/identity/service/ws/impl",
138: "findRolesByUsername"));
139: _oper.setSoapAction("");
140: _myOperationsList.add(_oper);
141: if (_myOperations.get("findRolesByUsername") == null) {
142: _myOperations.put("findRolesByUsername",
143: new java.util.ArrayList());
144: }
145: ((java.util.List) _myOperations.get("findRolesByUsername"))
146: .add(_oper);
147: _fault = new org.apache.axis.description.FaultDesc();
148: _fault.setName("SSOIdentityException");
149: _fault.setQName(new javax.xml.namespace.QName(
150: "http://josso.org/gateway/identity/service/ws/impl",
151: "fault"));
152: _fault
153: .setClassName("org.josso.gateway.identity.service.ws.impl.SSOIdentityException");
154: _fault.setXmlType(new javax.xml.namespace.QName(
155: "http://josso.org/gateway/identity/service/ws/impl",
156: "SSOIdentityException"));
157: _oper.addFault(_fault);
158: _params = new org.apache.axis.description.ParameterDesc[] { new org.apache.axis.description.ParameterDesc(
159: new javax.xml.namespace.QName("", "in0"),
160: org.apache.axis.description.ParameterDesc.IN,
161: new javax.xml.namespace.QName(
162: "http://www.w3.org/2001/XMLSchema", "string"),
163: java.lang.String.class, false, false), };
164: _oper = new org.apache.axis.description.OperationDesc(
165: "userExists", _params, null);
166: _oper.setElementQName(new javax.xml.namespace.QName(
167: "http://josso.org/gateway/identity/service/ws/impl",
168: "userExists"));
169: _oper.setSoapAction("");
170: _myOperationsList.add(_oper);
171: if (_myOperations.get("userExists") == null) {
172: _myOperations.put("userExists", new java.util.ArrayList());
173: }
174: ((java.util.List) _myOperations.get("userExists")).add(_oper);
175: _fault = new org.apache.axis.description.FaultDesc();
176: _fault.setName("SSOIdentityException");
177: _fault.setQName(new javax.xml.namespace.QName(
178: "http://josso.org/gateway/identity/service/ws/impl",
179: "fault"));
180: _fault
181: .setClassName("org.josso.gateway.identity.service.ws.impl.SSOIdentityException");
182: _fault.setXmlType(new javax.xml.namespace.QName(
183: "http://josso.org/gateway/identity/service/ws/impl",
184: "SSOIdentityException"));
185: _oper.addFault(_fault);
186: _fault = new org.apache.axis.description.FaultDesc();
187: _fault.setName("NoSuchUserException");
188: _fault.setQName(new javax.xml.namespace.QName(
189: "http://josso.org/gateway/identity/service/ws/impl",
190: "fault"));
191: _fault
192: .setClassName("org.josso.gateway.identity.service.ws.impl.NoSuchUserException");
193: _fault.setXmlType(new javax.xml.namespace.QName(
194: "http://josso.org/gateway/identity/service/ws/impl",
195: "NoSuchUserException"));
196: _oper.addFault(_fault);
197: _params = new org.apache.axis.description.ParameterDesc[] {};
198: _oper = new org.apache.axis.description.OperationDesc(
199: "initialize", _params, null);
200: _oper.setElementQName(new javax.xml.namespace.QName(
201: "http://josso.org/gateway/identity/service/ws/impl",
202: "initialize"));
203: _oper.setSoapAction("");
204: _myOperationsList.add(_oper);
205: if (_myOperations.get("initialize") == null) {
206: _myOperations.put("initialize", new java.util.ArrayList());
207: }
208: ((java.util.List) _myOperations.get("initialize")).add(_oper);
209: }
210:
211: public SSOIdentityManagerSoapBindingSkeleton() {
212: this .impl = new org.josso.gateway.identity.service.ws.impl.SSOIdentityManagerSoapBindingImpl();
213: }
214:
215: public SSOIdentityManagerSoapBindingSkeleton(
216: org.josso.gateway.identity.service.ws.impl.SSOIdentityManager impl) {
217: this .impl = impl;
218: }
219:
220: public org.josso.gateway.identity.service.ws.impl.SSOUser findUser(
221: java.lang.String in0)
222: throws java.rmi.RemoteException,
223: org.josso.gateway.identity.service.ws.impl.SSOIdentityException,
224: org.josso.gateway.identity.service.ws.impl.NoSuchUserException {
225: org.josso.gateway.identity.service.ws.impl.SSOUser ret = impl
226: .findUser(in0);
227: return ret;
228: }
229:
230: public org.josso.gateway.identity.service.ws.impl.SSOUser findUserInSession(
231: java.lang.String in0)
232: throws java.rmi.RemoteException,
233: org.josso.gateway.identity.service.ws.impl.SSOIdentityException,
234: org.josso.gateway.identity.service.ws.impl.NoSuchUserException {
235: org.josso.gateway.identity.service.ws.impl.SSOUser ret = impl
236: .findUserInSession(in0);
237: return ret;
238: }
239:
240: public org.josso.gateway.identity.service.ws.impl.SSORole[] findRolesByUsername(
241: java.lang.String in0)
242: throws java.rmi.RemoteException,
243: org.josso.gateway.identity.service.ws.impl.SSOIdentityException {
244: org.josso.gateway.identity.service.ws.impl.SSORole[] ret = impl
245: .findRolesByUsername(in0);
246: return ret;
247: }
248:
249: public void userExists(java.lang.String in0)
250: throws java.rmi.RemoteException,
251: org.josso.gateway.identity.service.ws.impl.SSOIdentityException,
252: org.josso.gateway.identity.service.ws.impl.NoSuchUserException {
253: impl.userExists(in0);
254: }
255:
256: public void initialize() throws java.rmi.RemoteException {
257: impl.initialize();
258: }
259:
260: }
|