com.plumtree.server.authsource.sso
Interface IPTSSOAuthTokenGenerator


public interface IPTSSOAuthTokenGenerator

Generates secure tokens used for authentication during SSO login.


Method Summary
 java.lang.String GetPasswordForRegistry(java.lang.String bstrPlainPassword)
          Encrypts a plaintext password for storage in the registry.
 java.lang.String GetSecureToken()
          Generates a secure token which can be passed as the third parameter (SecurityProviderInfo) to Session.Connect for login with SSO.
 java.lang.String GetUIDForRegistry()
          Generates and the associated UID to be stored in registry by the control panel applet.
 java.lang.String RetrieveUIDFromRegistry()
          Retrieves the SSO password from the registry.
 

Method Detail

GetSecureToken

public java.lang.String GetSecureToken()
Generates a secure token which can be passed as the third parameter (SecurityProviderInfo) to Session.Connect for login with SSO.
Returns:
a secure token
See Also:
IPTSession.Connect(int, String, Object), IPTSession.Connect(String, String, Object)

RetrieveUIDFromRegistry

public java.lang.String RetrieveUIDFromRegistry()
Retrieves the SSO password from the registry. Should be passed as the second parameter (strPassword) to Session.Connect for login with SSO.
Returns:
a password for use with SSO
See Also:
IPTSession.Connect(int, String, Object), IPTSession.Connect(String, String, Object)

GetPasswordForRegistry

public java.lang.String GetPasswordForRegistry(java.lang.String bstrPlainPassword)
Encrypts a plaintext password for storage in the registry. Used by the Plumtree Administrator control panel applet.
Parameters:
bstrPlainPassword - the unencrypted password
Returns:
the encrypted password

GetUIDForRegistry

public java.lang.String GetUIDForRegistry()
Generates and the associated UID to be stored in registry by the control panel applet. Should be called only after GetPasswordForRegistry.
Returns:
the UID


Copyright © 2003 Plumtree Software Inc. All Rights Reserved.