com.sun.identity.liberty.ws.authnsvc
Class AuthnSvcClient
java.lang.Object
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.
AuthnSvcClient
public AuthnSvcClient()
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
requestconnectTo
- 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