public class UDDISecurityService extends UnicastRemoteObject implements UDDISecurityPortType
ref
Modifier | Constructor and Description |
---|---|
protected |
UDDISecurityService(int port) |
Modifier and Type | Method and Description |
---|---|
void |
discardAuthToken(DiscardAuthToken body)
The discard_authToken API call is used to inform a node that the passed
authentication token is to be discarded, effectively ending the session.
|
AuthToken |
getAuthToken(GetAuthToken body)
The get_authToken API call is used to obtain an authentication token.
|
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
protected UDDISecurityService(int port) throws RemoteException
RemoteException
public void discardAuthToken(DiscardAuthToken body) throws RemoteException
UDDISecurityPortType
discardAuthToken
in interface UDDISecurityPortType
body
- ·
authInfo: This required argument is an
element that contains an authentication token. Authentication
tokens are obtained using the get_authToken API call. Discarding an
expired authToken is processed and reported as a success condition.DispositionReportFaultMessage
- Upon successful completion, an
empty message is returned. See section 4.8 Success and Error Reporting.
If an error occurs in processing this API call, a dispositionReport
structure will be returned to the caller in a SOAP Fault.RemoteException
public AuthToken getAuthToken(GetAuthToken body) throws RemoteException
UDDISecurityPortType
getAuthToken
in interface UDDISecurityPortType
body
- · userID: This required attribute argument is the user identifier that an individual authorized user was assigned by a UDDI node. Nodes SHOULD provide a means for individuals to obtain a userID and password credentials that will be valid at the given node.
· cred: This required attribute argument is the password or credential that is associated with the user.
DispositionReportFaultMessage
- If an error occurs in processing this API call, a dispositionReport element will be returned to the caller within a SOAP Fault. In addition to the errors common to all APIs, the following error information is relevant here:
· E_unknownUser: Signifies that the UDDI node that received the request does not accept the userID and/or cred argument values passed as valid credentials.
RemoteException
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.