com.pingidentity.sts.clientapi.authentication
Class WSSEAuthentication

java.lang.Object
  extended by com.pingidentity.sts.clientapi.authentication.UsernameAuthentication
      extended by com.pingidentity.sts.clientapi.authentication.WSSEAuthentication
All Implemented Interfaces:
SoapAuthentication

public class WSSEAuthentication
extends UsernameAuthentication
implements SoapAuthentication

Stores informations about requestor with WSSE authentication.


Constructor Summary
WSSEAuthentication(java.lang.String requestorID, java.lang.String requestorPassword)
          Associates requestorID and password with WSSE authentication type
 
Method Summary
 void addCredentials(STSMessage stsMessage)
          Adds the credentials to the stsMessage.
 
Methods inherited from class com.pingidentity.sts.clientapi.authentication.UsernameAuthentication
getName, getPassword, setName, setPassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSSEAuthentication

public WSSEAuthentication(java.lang.String requestorID,
                          java.lang.String requestorPassword)
Associates requestorID and password with WSSE authentication type

Parameters:
requestorID - the requestor ID
requestorPassword - the password or null if you need just uid auth
Method Detail

addCredentials

public void addCredentials(STSMessage stsMessage)
                    throws STSClientException
Description copied from interface: SoapAuthentication
Adds the credentials to the stsMessage.

Specified by:
addCredentials in interface SoapAuthentication
Parameters:
stsMessage - the STSMessage object
Throws:
STSClientException - if it is impossible to add the credentials


Copyright © 2006-2009 Ping Identity Corporation. All Rights Reserved.