Uses of Class
com.jk.core.security.JKPrivilige
Packages that use JKPrivilige
-
Uses of JKPrivilige in com.jk.core.security
Methods in com.jk.core.security that return JKPriviligeModifier and TypeMethodDescriptionstatic JKPrivilige
JKSecurityManager.createPrivilige
(String name, JKPrivilige parent) This method creates a new privilege with the given name and parent privilege.static JKPrivilige
JKSecurityManager.createPrivilige
(String name, JKPrivilige parent, int number) This method creates a new privilege with the given name, parent privilege, and number.JKPrivilige.getParentPrivlige()
This method gets the parent privilege.Methods in com.jk.core.security that return types with arguments of type JKPriviligeModifier and TypeMethodDescriptionJKPrivilige.getChilds()
This method gets the list of child privileges associated with this privilege.JKUser.getPriviliges()
This method gets the privileges list.Methods in com.jk.core.security with parameters of type JKPriviligeModifier and TypeMethodDescriptionvoid
JKAuthorizer.checkAllowed
(JKPrivilige privilige) This method checks if the specified privilege is allowed.void
JKAuthorizer.checkAllowed
(JKUser user, JKPrivilige privilige) This method checks if the specified user has the given privilege allowed.static void
JKSecurityManager.checkAllowedPrivilige
(JKPrivilige privilige) This method checks if the current user has the privilege to perform a specific action.static JKPrivilige
JKSecurityManager.createPrivilige
(String name, JKPrivilige parent) This method creates a new privilege with the given name and parent privilege.static JKPrivilige
JKSecurityManager.createPrivilige
(String name, JKPrivilige parent, int number) This method creates a new privilege with the given name, parent privilege, and number.boolean
JKAuthorizer.isValidPrivilige
(JKPrivilige privilige) This method checks if the specified privilege is valid.void
JKPrivilige.setParentPrivlige
(JKPrivilige parentPrivlige) This method sets the parent privilege to the specified value.Method parameters in com.jk.core.security with type arguments of type JKPriviligeModifier and TypeMethodDescriptionvoid
JKPrivilige.setChilds
(List<JKPrivilige> childs) This method sets the list of child privileges.void
JKUser.setPriviliges
(List<JKPrivilige> priviliges) This method sets the privileges list to the provided one.Constructors in com.jk.core.security with parameters of type JKPriviligeModifierConstructorDescriptionJKPrivilige
(int priviligeId, String name, JKPrivilige parent) This method constructs a newJKPrivilige
with a given identifier (ID), name, and parent privilege.JKPrivilige
(int priviligeId, String name, JKPrivilige parent, int number) This method constructs a newJKPrivilige
with a given identifier (ID), name, parent privilege and number.JKPrivilige
(String name, JKPrivilige parent, int number) This method constructs a newJKPrivilige
with a given name, parent privilege and number.