public class UDDISecurityImpl extends AuthenticatedService implements UDDISecurityPortType
Modifier and Type | Field and Description |
---|---|
static String |
AUTH_TOKEN_PREFIX |
AUTHTOKEN_ACTIVE, AUTHTOKEN_RETIRED, baseUrl, baseUrlSSL, ctx, df, UTF8
Modifier | Constructor and Description |
---|---|
|
UDDISecurityImpl() |
protected |
UDDISecurityImpl(WebServiceContext ctx)
used for unit tests only
|
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.
|
AuthToken |
getAuthToken(String publisherId) |
getEntityPublisher, getNode, getRequestorsIPAddress, setContext
public static final String AUTH_TOKEN_PREFIX
public UDDISecurityImpl()
protected UDDISecurityImpl(WebServiceContext ctx)
ctx
- public void discardAuthToken(DiscardAuthToken body) throws DispositionReportFaultMessage
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.public AuthToken getAuthToken(GetAuthToken body) throws DispositionReportFaultMessage
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.
public AuthToken getAuthToken(String publisherId) throws DispositionReportFaultMessage
DispositionReportFaultMessage
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.