| Package | Description |
|---|---|
| org.openliberty.wsc |
This package contains all of the Service Client classes and the basic WSFMessage.
|
| Modifier and Type | Class and Description |
|---|---|
class |
WSCNoServiceAvailableException
This exception is thrown by methods within the WSCUtilities class when a discovery
service is unable to produce an epr for the specified service with the specified
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
EndpointReference |
AuthenticationService.authenticate(String username,
String password,
AuthenticationService.AuthMechanism mechanism)
This wraps method calls
|
EndpointReference |
AuthenticationService.authenticate(String username,
String password,
AuthenticationService.AuthMechanism mechanism,
org.opensaml.saml.saml2.core.RequestedAuthnContext requestedAuthnContext) |
EndpointReference |
AuthenticationService.authenticateCRAM_MD5(String username,
String password,
org.opensaml.saml.saml2.core.RequestedAuthnContext requestedAuthnContext)
CRAM-MD5 is a two stage authentication procedure.
|
EndpointReference |
AuthenticationService.authenticatePLAIN(String username,
String password,
org.opensaml.saml.saml2.core.RequestedAuthnContext requestedAuthnContext)
authenticate
Perform the (multi-step) authentication
|
static EndpointReference |
WSCUtilities.boostrapDiscoveryEPRFromDefaultAS(AuthenticationService.AuthMechanism authMechanism)
Attempts to retrieve a Discovery Service Endpoint Reference from the default
Authentication Service.
|
static EndpointReference |
WSCUtilities.boostrapDiscoveryEPRFromDefaultAS(AuthenticationService.AuthMechanism authMechanism,
String username,
String password)
Returns a DS EPR by attempting the suggested AuthMechanism using the
username/password supplied and the default Authentication service settings
that are loaded by OpenLibertyBootstrap
|
static BaseServiceClient |
WSCUtilities.clientForDiscoveryEPR(EndpointReference discoEPR,
DiscoveryService.WSFServiceType serviceType)
This method takes a discovery EndpointReference and a WSFServiceType and returns an instantiated service client.
|
static BaseServiceClient |
WSCUtilities.clientForDiscoveryEPR(EndpointReference discoEPR,
DiscoveryService.WSFServiceType serviceType,
Konstantz.WSFSecurityMechanism sechMech) |
static AuthenticationService.AuthMechanism |
AuthenticationService.AuthMechanism.findAuthMechanism(String mechanism) |
static AuthenticationService.ResponseCode |
AuthenticationService.ResponseCode.getResponseCode(SASLResponse response)
Returns a matching ResponseCode enum, or throws a WSCException
if the status is null or not supported.
|
static AuthenticationService.ResponseCode |
AuthenticationService.ResponseCode.getResponseCode(String codeValue)
Returns a matching ResponseCode enum, or throws a WSCException
if the codeValue is not supported.
|
void |
WSFMessage.invoke()
Invoke the WSFMessage sending the SOAP requestEvelope and placing the response in the responseEnvelope.
|
org.opensaml.soap.soap11.Envelope |
BaseServiceClientImpl.invoke(org.opensaml.core.xml.XMLObject bodyChild,
URL invocationURL,
String actionURI)
Creates an EPR using the invicationURL and actionURI and selecting the NULL NULL
security mechanism.
|
private SASLResponse |
AuthenticationService.invokeSASLRequest(URL addressURL,
SASLRequest request)
Invokes a SASLRequest, returning the SASLResponse
|
private void |
WSFMessage.processResponse(String responseString)
This method will take care of all of the responsibilities required of a WSC when receiving
a response from a WSP.
|
Copyright © 1999–2015. All rights reserved.