Package org.hisp.dhis.auth
Class BasicAuthentication
java.lang.Object
org.hisp.dhis.auth.BasicAuthentication
- All Implemented Interfaces:
Serializable,Authentication
Class representing basic authentication.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the HTTP header to use for authentication.Returns the value of the HTTP header to use for authentication.
-
Constructor Details
-
BasicAuthentication
public BasicAuthentication()
-
-
Method Details
-
getHttpHeaderAuthName
Description copied from interface:AuthenticationReturns the name of the HTTP header to use for authentication.- Specified by:
getHttpHeaderAuthNamein interfaceAuthentication- Returns:
- the name of the HTTP header to use for authentication.
-
getHttpHeaderAuthValue
Description copied from interface:AuthenticationReturns the value of the HTTP header to use for authentication.- Specified by:
getHttpHeaderAuthValuein interfaceAuthentication- Returns:
- the value of the HTTP header to use for authentication.
-