Package com.ebasetech.xi.services.auth
Class BasicAuthentication
java.lang.Object
com.ebasetech.xi.services.auth.BasicAuthentication
- All Implemented Interfaces:
Authentication
public class BasicAuthentication extends java.lang.Object implements Authentication
Basic Authentication holding the username and password for HTTP Basic Authentication
- Since:
- v5.1
-
Field Summary
Fields inherited from interface com.ebasetech.xi.services.Authentication
BASIC_AUTHENTICATION, DIGEST_AUTHENTICATION, GATEWAY_AUTHENTICATION, NTLM_AUTHENTICATION, OAUTH_AUTHENTICATION
-
Constructor Summary
Constructors Constructor Description BasicAuthentication()
-
Method Summary
Modifier and Type Method Description java.lang.String
getPassword()
Returns the password to be authenticatedint
getType()
Returns the Authentication type IDjava.lang.String
getUsername()
Returns the username to be authenticatedvoid
setPassword(java.lang.String password)
Sets the password to be authenticatedvoid
setUsername(java.lang.String username)
Sets the username to be authenticatedMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BasicAuthentication
public BasicAuthentication()
-
-
Method Details
-
getUsername
public java.lang.String getUsername()Returns the username to be authenticated- Since:
- v5.1
-
setUsername
public void setUsername(java.lang.String username)Sets the username to be authenticated- Since:
- v5.1
-
getPassword
public java.lang.String getPassword()Returns the password to be authenticated- Since:
- v5.1
-
setPassword
public void setPassword(java.lang.String password)Sets the password to be authenticated- Since:
- v5.1
-
getType
public int getType()Description copied from interface:Authentication
Returns the Authentication type ID- Specified by:
getType
in interfaceAuthentication
-