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 SummaryModifier and TypeMethodDescriptionvoidThis login method is used for Certificate based login Note: This method also uses keystore and keystore password from the TS configuration filevoidThis method is used for login with username and password.voidThis login method is used for Certificate based loginlogout()This method is used for logout
- 
Method Details- 
loginThis method is used for login with username and password.- Parameters:
- usr- - string username
- pwd- - string password
- Throws:
- Exception
 
- 
loginThis 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
 
- 
loginThis login method is used for Certificate based login- Parameters:
- alias- - alias is used to pick up the certificate from keystore
- keystore- - keystore file
- keyPass- - keystore password
- Throws:
- Exception
 
- 
logoutBoolean logout()This method is used for logout
 
-