Class UsernamePasswordAuthentication
java.lang.Object
de.fraunhofer.iese.mydata.component.connector.UsernamePasswordAuthentication
- All Implemented Interfaces:
Authentication
Authentication Object that takes username and password.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the password.Returns the username.
-
Constructor Details
-
UsernamePasswordAuthentication
-
-
Method Details
-
getPrincipal
Returns the username.- Specified by:
getPrincipal
in interfaceAuthentication
- Returns:
- username
-
getCredentials
Returns the password.- Specified by:
getCredentials
in interfaceAuthentication
- Returns:
- password
-