public interface SingleSignOn
Modifier and Type | Method and Description |
---|---|
String |
getCurrentUsername()
Should return the current logged in Single Sign On username returned from
the implementation-specific authentication API.
|
boolean |
getLastConnectionStatus()
Should provide information (true or false) as to whether the last
connection to the SSO authentication service was successful.
|
boolean |
isLoggedIn()
Returns
true when the user is logged in, or false otherwise. |
boolean |
login(String username,
String password)
Logs the user with the provided
username and
password in to the SSO authentication mechanism. |
void |
logout()
Logs the current SSO user out of her session.
|
List<String> |
retrieveGroupsForUser(String username)
Obtains a user's groups from the security principal that this SSO object
talks to.
|
String getCurrentUsername()
boolean isLoggedIn()
true
when the user is logged in, or false otherwise.boolean login(String username, String password)
username
and
password
in to the SSO authentication mechanism.username
- The username credentials.password
- The password credentials.void logout()
boolean getLastConnectionStatus()
Copyright © 1999–2017 Apache OODT. All rights reserved.