Class AuthHelper
- java.lang.Object
-
- org.apache.ofbiz.common.authentication.AuthHelper
-
public final class AuthHelper extends java.lang.Object
AuthHelper
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
authenticate(java.lang.String username, java.lang.String password, boolean isServiceAuth)
static boolean
authenticatorsLoaded()
static void
loadAuthenticators(LocalDispatcher dispatcher)
static void
logout(java.lang.String username)
static void
syncUser(java.lang.String username)
static void
updatePassword(java.lang.String username, java.lang.String password, java.lang.String newPassword)
-
-
-
Method Detail
-
authenticate
public static boolean authenticate(java.lang.String username, java.lang.String password, boolean isServiceAuth) throws AuthenticatorException
- Throws:
AuthenticatorException
-
logout
public static void logout(java.lang.String username) throws AuthenticatorException
- Throws:
AuthenticatorException
-
syncUser
public static void syncUser(java.lang.String username) throws AuthenticatorException
- Throws:
AuthenticatorException
-
updatePassword
public static void updatePassword(java.lang.String username, java.lang.String password, java.lang.String newPassword) throws AuthenticatorException
- Throws:
AuthenticatorException
-
authenticatorsLoaded
public static boolean authenticatorsLoaded()
-
loadAuthenticators
public static void loadAuthenticators(LocalDispatcher dispatcher)
-
-