com.sun.identity.liberty.ws.authnsvc
Class AuthnSvcClient

java.lang.Object
  extended by com.sun.identity.liberty.ws.authnsvc.AuthnSvcClient

public class AuthnSvcClient
extends Object

The AuthnSvcClient class provides web service clients with a method to SASL request to the Authentication Service and receive SASL response.


Constructor Summary
AuthnSvcClient()
           
 
Method Summary
static SASLResponse sendRequest(SASLRequest saslReq, String connectTo)
          Sends a SASL request to the Authentication Service SOAP endpoint and returns a SASL response.
 

Constructor Detail

AuthnSvcClient

public AuthnSvcClient()
Method Detail

sendRequest

public static SASLResponse sendRequest(SASLRequest saslReq,
                                       String connectTo)
                                throws AuthnSvcException
Sends a SASL request to the Authentication Service SOAP endpoint and returns a SASL response.

Parameters:
saslReq - a SASL request
connectTo - the SOAP endpoint URL
Returns:
a SASL response from the Authentication Service
Throws:
AuthnSvcException - if authentication service is not available or there is an error in SASL request