org.apache.juddi.datatype.request
Class AuthInfo

java.lang.Object
  extended by org.apache.juddi.datatype.request.AuthInfo
All Implemented Interfaces:
java.io.Serializable, RegistryObject

public class AuthInfo
extends java.lang.Object
implements RegistryObject

Authentication info is used in calls to the Publish API, the content of an AuthToken. It contains an access token that is to be passed back in all of the publisher API messages that change data.

Author:
Steve Viens (sviens@apache.org)
See Also:
Serialized Form

Constructor Summary
AuthInfo()
          Constructs a new initialized authentication info.
AuthInfo(java.lang.String auth)
          Constructs a new authentication info with the given access token.
 
Method Summary
 java.lang.String getValue()
          Returns the value of the access token of this authentication info.
 void setValue(java.lang.String newValue)
          Sets the access token of this authentication info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthInfo

public AuthInfo()
Constructs a new initialized authentication info.


AuthInfo

public AuthInfo(java.lang.String auth)
Constructs a new authentication info with the given access token.

Parameters:
auth - The access token of the new authentication info.
Method Detail

setValue

public void setValue(java.lang.String newValue)
Sets the access token of this authentication info.

Parameters:
newValue - The new value of the access token.

getValue

public java.lang.String getValue()
Returns the value of the access token of this authentication info.

Returns:
The value of the access token of this authentication info.


Copyright © 2004-2007. All Rights Reserved.