BasicAuthentication

Basic Authentication holding the username and password for HTTP Basic Authentication

BasicAuthentication Functions

getPassword BasicAuthentication.getPassword( ) Returns the password to be authenticated
setPassword BasicAuthentication.setPassword( password ) Sets the password to be authenticated
setPreemptive BasicAuthentication.setPreemptive( preemptive ) BasicAuthentication does not support preemptive authentication out of the box, because if misused or used incorrectly the preemptive authentication can lead to significant security issues, such as sending user credentials in clear text to an unauthorized third party.
isPreemptive BasicAuthentication.isPreemptive( ) Returns whether preemptive Basic Authentication strategy is enabled
getType BasicAuthentication.getType( )
getUsername BasicAuthentication.getUsername( ) Returns the username to be authenticated
setUsername BasicAuthentication.setUsername( username ) Sets the username to be authenticated

Authentication Properties

int BASIC_AUTHENTICATION
int DIGEST_AUTHENTICATION
int GATEWAY_AUTHENTICATION
int NTLM_AUTHENTICATION
int OAUTH_AUTHENTICATION

Authentication Functions

getType BasicAuthentication.getType( ) Returns the Authentication type ID