public class Login extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ADMIN_ACTION |
| Constructor and Description |
|---|
Login() |
| Modifier and Type | Method and Description |
|---|---|
static void |
logout()
Logout the current user
|
static boolean |
passwordLogin(String userid,
String password,
boolean rememberMe)
Login using password credentials instead of OpenID.
|
static void |
registerUser(AppRealm realm,
String userid,
String password,
String name) |
static void |
resetPassword(AppRealm realm,
String userid,
String newPassword) |
static void |
setPassword(AppRealm realm,
String currentPassword,
String newPassword) |
public static final String ADMIN_ACTION
public static boolean passwordLogin(String userid, String password, boolean rememberMe)
public static void setPassword(AppRealm realm, String currentPassword, String newPassword)
public static void registerUser(AppRealm realm, String userid, String password, String name)
public static void logout()
throws IOException
IOExceptionCopyright © 2015. All rights reserved.