|  | Plumtree Portal UI | |
| PTLoginHelper Members
|
PTLoginHelper overview
Public Static Fields
 ALLOW_USER_CREATION_LINK_CACHE_LIFE_MS | This is the number of milliseconds for which the Boolean indicating whether or not the allow user creation link is cached on the application. After this many milliseconds, the server will be again querried, and a new value will be generated. |
Public Static Methods
Public Instance Constructors
Public Instance Methods
AttemptBasicAuthLogin | Overloaded. 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. |
AttemptGuestLogin | Overloaded. |
AttemptLogin | Overloaded. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetDefaultPageRedirect | Overloaded. |
GetDetailedFailureMessage | |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetIsGuestUser | |
GetStyleSheetLinks | Returns an HTMLElementCollection of style sheet links. A style sheet is named "stylesheetname-language", for instance "mainstyle12-en". This function creates a valid PTStyleSheetLink by collecting the style sheet name from the user's subportal, and the user's language from the activity space, then forming a PTStyleSheetLink object from this information. |
GetType (inherited from Object) | Gets the Type of the current instance. |
GetUserSessionID | |
GetUserSessionName | |
HandleCOMPlusProcessRecycled | Checks if the current process has been recycled. This method won't do any further checks if the call to the COM server fails. The assumption is if a check fails then COM+ recycling is not supported |
SetAutologinToken | Call this method to set an autologin token for the user. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Protected Instance Methods
AttemptBasicAuthLogin | Overloaded. This helper method attempts to login using the credentials and decodes them with the specified encoding. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
VerifyNoAlternateLogins | This helper method verifies that after a successful login, no other character encodings could be used to get a successful login. |
See Also
PTLoginHelper Class | com.plumtree.portaluiinfrastructure.login Namespace