Package com.sun.ts.lib.porting
Interface TSLoginContextInterface
- All Known Implementing Classes:
TSLoginContext
public interface TSLoginContextInterface
TSLoginContextInterface provides the interface that must be implemented to provide the implementation specific login
code to login as a specified user.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This login method is used for Certificate based login Note: This method also uses keystore and keystore password from the TS configuration filevoid
This method is used for login with username and password.void
This login method is used for Certificate based loginlogout()
This method is used for logout
-
Method Details
-
login
This method is used for login with username and password.- Parameters:
usr
- - string usernamepwd
- - string password- Throws:
Exception
-
login
This login method is used for Certificate based login Note: This method also uses keystore and keystore password from the TS configuration file- Parameters:
alias
- - alias is used to pick up the certificate from keystore- Throws:
Exception
-
login
This login method is used for Certificate based login- Parameters:
alias
- - alias is used to pick up the certificate from keystorekeystore
- - keystore filekeyPass
- - keystore password- Throws:
Exception
-
logout
Boolean logout()This method is used for logout
-