Class AuthHelper
java.lang.Object
org.apache.ofbiz.common.authentication.AuthHelper
AuthHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
authenticate
(String username, String password, boolean isServiceAuth) static boolean
static void
loadAuthenticators
(LocalDispatcher dispatcher) static void
static void
static void
updatePassword
(String username, String password, String newPassword)
-
Method Details
-
authenticate
public static boolean authenticate(String username, String password, boolean isServiceAuth) throws AuthenticatorException - Throws:
AuthenticatorException
-
logout
- Throws:
AuthenticatorException
-
syncUser
- Throws:
AuthenticatorException
-
updatePassword
public static void updatePassword(String username, String password, String newPassword) throws AuthenticatorException - Throws:
AuthenticatorException
-
authenticatorsLoaded
public static boolean authenticatorsLoaded() -
loadAuthenticators
-