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 aJKDisabledUserException
with 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 JKUser
JKUser.create()
This method creates a newJKUser
.static JKUser
JKSecurityManager.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 newJKUser
with the specified name.Methods in com.jk.core.security with parameters of type JKUserModifier and TypeMethodDescriptionvoid
JKAuthorizer.checkAllowed
(JKUser user, JKPrivilige privilige) This method checks if the specified user has the given privilege allowed.static boolean
JKSecurityManager.matchPassword
(String plain, JKUser user) This method checks if a plain password matches the hashed password of a user.static void
JKSecurityManager.setCurrentUser
(JKUser currentUser) This method sets the current user to the provided value.void
This method sets the user associated with the audit entry to the provided value.