Plumtree Portal UI  
 

PTLoginHelper.AttemptBasicAuthLogin Method

Attempts to create and connect a new user session. This method is used for Basic Auth logins. Unfortunately, in Basic Auth the user name and password are encoded in the character encoding of the client machine, and the server does not know what that is. Therefore we have to guess the appropriate encoding. The user credentials passed to this method need to be unencoded as win-1252, shift-jis, Big5, etc... before they can be used. The credentials are basic auth credentials; user name and password are separated by a colon.

Overload List

Attempts to create and connect a new user session. This method is used for Basic Auth logins. Unfortunately, in Basic Auth the user name and password are encoded in the character encoding of the client machine, and the server does not know what that is. Therefore we have to guess the appropriate encoding. The user credentials passed to this method need to be unencoded as win-1252, shift-jis, Big5, etc... before they can be used. The credentials are basic auth credentials; user name and password are separated by a colon.

public virtual object AttemptBasicAuthLogin(string);

This helper method attempts to login using the credentials and decodes them with the specified encoding.

protected virtual IPTSession AttemptBasicAuthLogin(string,string);

See Also

PTLoginHelper Class | com.plumtree.portaluiinfrastructure.login Namespace