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

java.lang.Object
  extended bycom.sun.identity.liberty.ws.authnsvc.AuthnSvcClient

public class AuthnSvcClient
extends java.lang.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, java.lang.String connectTo)
          Sends a SASL request to the Authentication Service SOAP endpoint and returns a SASL response.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthnSvcClient

public AuthnSvcClient()
Method Detail

sendRequest

public static SASLResponse sendRequest(SASLRequest saslReq,
                                       java.lang.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


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.