Uses of Class
com.jk.core.security.JKUser
Packages that use JKUser
-
Uses of JKUser in com.jk.core.exceptions
Methods in com.jk.core.exceptions that return JKUserModifier and TypeMethodDescriptionJKDisabledUserException.getUser()This method gets the disabled user associated with this exception.Constructors in com.jk.core.exceptions with parameters of type JKUserModifierConstructorDescriptionThis method constructs aJKDisabledUserExceptionwith the disabled user. -
Uses of JKUser in com.jk.core.security
Methods in com.jk.core.security that return JKUserModifier and TypeMethodDescriptionJKAuthenticaor.authenticate(String applicationName, int loginRetries) This method authenticates a user based on the application name and login retries.JKAuthenticaor.authenticate(String userName, String password) This method authenticates a user based on the provided user name and password.static JKUserJKUser.create()This method creates a newJKUser.static JKUserJKSecurityManager.getCurrentUser()This method gets the current user.JKAudit.getUser()This method gets the user associated with the audit entry.This method sets the user password to the provided value.JKUser.plainPassword(char[] password) This method sets the user's password using a character array.This method creates a newJKUserwith the specified name.Methods in com.jk.core.security with parameters of type JKUserModifier and TypeMethodDescriptionvoidJKAuthorizer.checkAllowed(JKUser user, JKPrivilige privilige) This method checks if the specified user has the given privilege allowed.static booleanJKSecurityManager.matchPassword(String plain, JKUser user) This method checks if a plain password matches the hashed password of a user.static voidJKSecurityManager.setCurrentUser(JKUser currentUser) This method sets the current user to the provided value.voidThis method sets the user associated with the audit entry to the provided value.