Ruddi™ UDDI Client API
1.0

inspireit.uddi.response
Class AuthToken

java.lang.Object
  |
  +--inspireit.uddi.response.AuthToken
All Implemented Interfaces:
java.io.Serializable, inspireit.uddi.util.visitors.UDDIElement

public class AuthToken
extends java.lang.Object
implements java.io.Serializable, inspireit.uddi.util.visitors.UDDIElement

AuthToken represents an authToken response message. The authToken message is used to return the authentication information that should be used in subsequent calls to the publishers API messages.

For information, the XML syntax for an authToken message is:

 <authToken generic="1.0"  operator="uddi.someoperator" xmlns="urn:uddi-org:api" >
     <authInfo>some opaque token value</authInfo>
 </authToken>

Author:
Bertrand Fontaine, INSPIRE IT $Revision: 1.2 $
See Also:
Serialized Form

Field Summary
protected  AuthInfo authInfo
          The autentication information.
protected  java.lang.String generic
          The UDDI version in use.
protected  Operator operator
          The operator information.
 
Constructor Summary
AuthToken(AuthInfo authInfo)
          AuthToken constructor.
AuthToken(java.lang.String generic, AuthInfo authInfo, Operator operator)
          Deprecated. as of UDDI V3.0
 
Method Summary
 AuthInfo getAuthInfo()
          Gets the authentication information.
 java.lang.String getGeneric()
          Deprecated. as of UDDI V3.0
 Operator getOperator()
          Deprecated. as of UDDI V3.0
 java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
          Visits this UDDI element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

generic

protected java.lang.String generic
The UDDI version in use.


authInfo

protected AuthInfo authInfo
The autentication information.


operator

protected Operator operator
The operator information.

Constructor Detail

AuthToken

public AuthToken(java.lang.String generic,
                 AuthInfo authInfo,
                 Operator operator)
Deprecated. as of UDDI V3.0

AuthToken constructor.

Parameters:
generic - The UDDI version in use.
authInfo - The authentication information.
operator - The operator information.

AuthToken

public AuthToken(AuthInfo authInfo)
AuthToken constructor.

Parameters:
authInfo - The authentication information.
Since:
UDDI V3.0
Method Detail

getGeneric

public java.lang.String getGeneric()
Deprecated. as of UDDI V3.0

Gets the UDDI version in use.

Returns:
the UDDI version in use

getAuthInfo

public AuthInfo getAuthInfo()
Gets the authentication information.

Returns:
the authentication information

getOperator

public Operator getOperator()
Deprecated. as of UDDI V3.0

Gets the operator information.

Returns:
the operator information

visit

public java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
Visits this UDDI element.

Specified by:
visit in interface inspireit.uddi.util.visitors.UDDIElement
Parameters:
visitor - The visiting UDDI object.

Ruddi™ UDDI Client API
1.0

Download now! | Submit a bug or feature
(c) 2003 INSPIRE IT
Bld Brand Whitlock 109
1200 Brussels, Belgium
All Rights Reserved.