public class AcquireHoKTokenByHoKTokenSample
extends java.lang.Object
AcquireHoKTokenByUserCredentialSample sample using the generated
key/certificate pair at the runtime to first acquire a Holder-Of-Key token,
which then is used to acquire another Holder-Of-Key token
Usage: run.bat com.vmware.sso.client.samples.AcquireHoKTokenByHoKTokenSample [sso url] [username] [password]
| Constructor and Description |
|---|
AcquireHoKTokenByHoKTokenSample() |
public static org.w3c.dom.Element getToken(java.lang.String ssoUrl,
org.w3c.dom.Element token,
java.security.PrivateKey privateKey,
java.security.cert.X509Certificate userCert)
throws javax.xml.datatype.DatatypeConfigurationException
ssoUrl - SSO server urltoken - An existing Holder-Of-Key tokenprivateKey - PrivateKey of the user or solutionuserCert - X509Certificate certificate of the user or solutionjavax.xml.datatype.DatatypeConfigurationExceptionpublic static void main(java.lang.String[] args)
throws javax.xml.datatype.DatatypeConfigurationException
javax.xml.datatype.DatatypeConfigurationException