Uiinfrastructure API Docs  
 

HTTPBasicAuthenticator Members

HTTPBasicAuthenticator overview

Public Static Fields

AUTH_CHALLENGE Internal string constants for basic auth challenge. Note that the AUTH_CHALLENGE string cannot come between /gateway and /PTARGS_ or the gateway code will not work. The AUTH_CHALLENGE string must also come immediately after the HTTP entry point (server.pt).
AUTH_DOMAIN 
AUTHORIZATION_HEADER Internal string constants for decoding basic auth credentials.
BASIC_AUTH 
BASIC_AUTH_ENCODINGS_ORDERED Ordered with most common first (win-1252 latin characters).
LOGIN_ATTEMPTS Key to data stored on the HTTP Session
MAX_LOGIN_ATTEMPTS 

Public Static Methods

DoBasicAuthLogin Helper method for basic auth login.
GetBasicAuthCookieExpiration Helper method to get the basic auth cookie expiration value from the config files. Logs an error and returns a reasonable default value if there are problems.
GetInstance 
SendBasicAuthChallenge Helper method to send an HTTP basic auth challenge to authenticate the user. The calling method should exit without setting a response after calling this method.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetBasicAuthOverrideSSO Helper method to determine whether or not we should use an HTTP basic auth challenge to authenticate the user.
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.
GetOrSendLoginChallenge Sends an HTTP Basic authentication challenge.
GetType (inherited from Object)Gets the Type of the current instance.
IsBasicAuthURL 
Login Performs login using HTTP basic authentication credentials in the request header.
Logout Logout is handled by the ILoginControl in the Login AS. This method returns false to indicate no logout action has been performed.
ToString (inherited from Object)Returns a String that represents the current Object.
UseThisAuth Helper method to determine whether or not we should use an HTTP basic auth challenge to authenticate the user.

Protected Instance Methods

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.

See Also

HTTPBasicAuthenticator Class | com.plumtree.uiinfrastructure.login Namespace