public class Security3to2 extends Object implements UDDISecurityPortType, BindingProvider
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
Constructor and Description |
---|
Security3to2() |
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.
|
Binding |
getBinding() |
EndpointReference |
getEndpointReference() |
<T extends EndpointReference> |
getEndpointReference(Class<T> clazz) |
Map<String,Object> |
getRequestContext() |
Map<String,Object> |
getResponseContext() |
public void discardAuthToken(DiscardAuthToken body) throws DispositionReportFaultMessage, 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 DispositionReportFaultMessage, 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
public Map<String,Object> getRequestContext()
getRequestContext
in interface BindingProvider
public Map<String,Object> getResponseContext()
getResponseContext
in interface BindingProvider
public Binding getBinding()
getBinding
in interface BindingProvider
public EndpointReference getEndpointReference()
getEndpointReference
in interface BindingProvider
public <T extends EndpointReference> T getEndpointReference(Class<T> clazz)
getEndpointReference
in interface BindingProvider
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.