Verwendungen von Klasse
org.apache.fulcrum.security.util.DataBackendException
Packages, die DataBackendException verwenden
Package
Beschreibung
-
Verwendungen von DataBackendException in org.apache.fulcrum.security
Methoden in org.apache.fulcrum.security, die DataBackendException auslösenModifizierer und TypMethodeBeschreibung<T extends Group>
TGroupManager.addGroup
(T group) Creates a new group with specified attributes.<T extends Permission>
TPermissionManager.addPermission
(T permission) Creates a new permission with specified attributes.<T extends Role>
TRoleManager.addRole
(T role) Creates a new role with specified attributes.<T extends User>
TCreates new user account with specified attributes.void
UserManager.authenticate
(User user, String password) Authenticate an User with the specified password.void
UserManager.changePassword
(User user, String oldPassword, String newPassword) Change the password for an User.boolean
GroupManager.checkExists
(String groupName) Determines if aGroup
exists in the security system with the specified name.boolean
GroupManager.checkExists
(Group group) Determines if theGroup
exists in the security system.boolean
PermissionManager.checkExists
(String permissionName) Determines if aPermission
exists in the security system with the specified name.boolean
PermissionManager.checkExists
(Permission permission) Determines if thePermission
exists in the security system.boolean
RoleManager.checkExists
(String roleName) Determines if aRole
exists in the security system with the specified role name.boolean
RoleManager.checkExists
(Role role) Determines if theRole
exists in the security system.boolean
UserManager.checkExists
(String userName) Check whether a specified user's account exists.boolean
UserManager.checkExists
(User user) Determines if theUser
exists in the security system.void
UserManager.forcePassword
(User user, String password) Forcibly sets new password for an User.GroupManager.getAllGroups()
Retrieves all groups defined in the system.PermissionManager.getAllPermissions()
Retrieves all permissions defined in the system.RoleManager.getAllRoles()
Retrieves all roles defined in the system.UserManager.getAllUsers()
Retrieves all users defined in the system.<T extends Group>
TGroupManager.getGroupById
(Object id) Retrieve a Group object with specified Id.<T extends Group>
TGroupManager.getGroupByName
(String name) Retrieve a Group object with specified name.<T extends Group>
TGroupManager.getGroupInstance()
Construct a blank Group object.<T extends Group>
TGroupManager.getGroupInstance
(String groupName) Construct a blank Group object.<T extends Permission>
TPermissionManager.getPermissionById
(Object id) Retrieve a Permission object with specified Id.<T extends Permission>
TPermissionManager.getPermissionByName
(String name) Retrieve a Permission object with specified name.<T extends Permission>
TPermissionManager.getPermissionInstance()
Construct a blank Permission object.<T extends Permission>
TPermissionManager.getPermissionInstance
(String permName) Construct a blank Permission object.<T extends Role>
TRoleManager.getRoleById
(Object id) Retrieve a Role object with specified Id.<T extends Role>
TRoleManager.getRoleByName
(String name) Retrieve a Role object with specified name.<T extends Role>
TRoleManager.getRoleInstance()
Construct a blank Role object This method calls getRoleClass, and then creates a new object using the default constructor.<T extends Role>
TRoleManager.getRoleInstance
(String roleName) Construct a blank Role object.<T extends User>
TRetrieve a user from persistent storage using username as the key.<T extends User>
TRetrieve a user from persistent storage using username as the key, and authenticate the user.<T extends User>
TUserManager.getUserById
(Object id) Retrieve a user from persistent storage using the id as the key.<T extends User>
TUserManager.getUserInstance()
Construct a blank User object.<T extends User>
TUserManager.getUserInstance
(String userName) Construct a blank User object.void
GroupManager.removeGroup
(Group group) Removes a Group from the system.void
PermissionManager.removePermission
(Permission permission) Removes a Permission from the system.void
RoleManager.removeRole
(Role role) Removes a Role from the system.void
UserManager.removeUser
(User user) Removes an user account from the system.void
GroupManager.renameGroup
(Group group, String name) Renames an existing Group.void
PermissionManager.renamePermission
(Permission permission, String name) Renames an existing Permission.void
RoleManager.renameRole
(Role role, String name) Renames an existing Role.UserManager.retrieveUserList
(Object criteria) Retrieve a list of users that meet the specified criteria.void
Saves User's data in the permanent storage. -
Verwendungen von DataBackendException in org.apache.fulcrum.security.authenticator
Methoden in org.apache.fulcrum.security.authenticator, die DataBackendException auslösenModifizierer und TypMethodeBeschreibungboolean
Authenticator.authenticate
(User user, String password) boolean
CryptoAuthenticator.authenticate
(User user, String password) Authenticate a user with the specified password.boolean
NoOpAuthenticator.authenticate
(User user, String password) boolean
TextMatchAuthenticator.authenticate
(User user, String password) Authenticate an username with the specified password. -
Verwendungen von DataBackendException in org.apache.fulcrum.security.model.basic
Methoden in org.apache.fulcrum.security.model.basic, die DataBackendException auslösen -
Verwendungen von DataBackendException in org.apache.fulcrum.security.model.dynamic
Methoden in org.apache.fulcrum.security.model.dynamic, die DataBackendException auslösenModifizierer und TypMethodeBeschreibungvoid
AbstractDynamicModelManager.addDelegate
(User delegator, User delegatee) It is expected the real implementation will overide this and save either side of the function.void
DynamicModelManager.addDelegate
(User delegator, User delegatee) Allow B to assumes A's roles, groups and permissionsvoid
Puts a role into a group This method is used when adding a role to a group.void
DynamicModelManager.grant
(Role role, Permission permission) Puts a permission in a role This method is used when adding a permission to a rolevoid
Puts a user in a group.void
AbstractDynamicModelManager.removeDelegate
(User delegator, User delegatee) Implementors should overide this to save and call super if they want the base class to do the workvoid
DynamicModelManager.removeDelegate
(User delegator, User delegatee) Stop A having B's roles, groups and permissionsvoid
Remove a role from a group This method is used when removeing a role to a group.void
DynamicModelManager.revoke
(Role role, Permission permission) Removes a permission from a rolevoid
Removes a user from a groupvoid
Revokes all users and roles from a group This method is used when deleting a group.void
AbstractDynamicModelManager.revokeAll
(Permission permission) Revokes all roles from a permission This method is used when deleting a permission.void
Revokes all permissions and groups from a Role.void
Revokes all groups from a user This method is used when deleting an account.void
Revokes all roles and users from a Group This method is typically used when deleting a Group.void
DynamicModelManager.revokeAll
(Permission permission) Revoke from a permission all roles This method is typically used when deleting a Permissionvoid
Revokes all permissions from a Role.void
Revokes all roles from an User. -
Verwendungen von DataBackendException in org.apache.fulcrum.security.model.turbine
Methoden in org.apache.fulcrum.security.model.turbine, die DataBackendException auslösenModifizierer und TypMethodeBeschreibungAbstractTurbineModelManager.getGlobalGroup()
Provides a reference to the Group object that represents the global group .TurbineModelManager.getGlobalGroup()
Provides a reference to the Group object that represents the global group.protected TurbineModelManager
TurbineACLFactory.getTurbineModelManager()
void
TurbineModelManager.grant
(Role role, Permission permission) Puts a permission in a role This method is used when adding a permission to a rolevoid
Grant an User a Role in a Group.void
Replaces the assigned old Role to new role in the #global group for User user.void
TurbineModelManager.revoke
(Role role, Permission permission) Removes a permission from a rolevoid
Revoke a Role in a Group from an User.void
Revokes all roles and users from a Group.void
Revokes all permissions from a Role.void
Revokes by default all permissions from a Role and if flag is set all groups and users for this role This method is used when deleting a Role.void
Revokes all roles and groups from a User.void
Revokes all roles and users from a Group.void
Revokes all permissions from a Role.void
Revokes by default all permissions from a Role and if flag is set all groups and users for this role This method is used when deleting a Role.void
Revokes all roles from an User. -
Verwendungen von DataBackendException in org.apache.fulcrum.security.model.turbine.entity
Methoden in org.apache.fulcrum.security.model.turbine.entity, die DataBackendException auslösenModifizierer und TypMethodeBeschreibungvoid
TurbineUserGroupRoleEntity.addUserGroupRole
(TurbineUserGroupRole userGroupRole) Add a User/Group/Role relation to this entity<T extends TurbineUserGroupRole>
Set<T>TurbineUserGroupRoleEntity.getUserGroupRoleSet()
Get the User/Group/Role set associated with this entityvoid
TurbineUserGroupRoleEntity.removeUserGroupRole
(TurbineUserGroupRole userGroupRole) Remove a User/Group/Role relation from this entity -
Verwendungen von DataBackendException in org.apache.fulcrum.security.spi
Methoden in org.apache.fulcrum.security.spi, die DataBackendException auslösenModifizierer und TypMethodeBeschreibung<T extends Group>
TAbstractGroupManager.addGroup
(T group) Creates a new group with specified attributes.<T extends Permission>
TAbstractPermissionManager.addPermission
(T permission) Creates a new permission with specified attributes.<T extends Role>
TAbstractRoleManager.addRole
(T role) Creates a new role with specified attributes.<T extends User>
TCreates new user account with specified attributes.void
AbstractUserManager.authenticate
(User user, String password) Authenticate an User with the specified password.void
AbstractUserManager.changePassword
(User user, String oldPassword, String newPassword) Change the password for an User.boolean
AbstractGroupManager.checkExists
(Group group) Check whether a specified group exists.boolean
AbstractPermissionManager.checkExists
(Permission permission) Check whether a specified permission exists.boolean
AbstractRoleManager.checkExists
(Role role) Check whether a specified role exists.boolean
AbstractUserManager.checkExists
(User user) Check whether a specified user's account exists.void
AbstractUserManager.forcePassword
(User user, String password) Forcibly sets new password for an User.<T extends Group>
TAbstractGroupManager.getGroupById
(Object id) Retrieve a Group object with specified Id.<T extends Group>
TAbstractGroupManager.getGroupByName
(String name) Retrieve a Group object with specified name.<T extends Group>
TAbstractGroupManager.getGroupInstance()
Construct a blank Group object.<T extends Group>
TAbstractGroupManager.getGroupInstance
(String groupName) Construct a blank Group object.protected GroupManager
AbstractManager.getGroupManager()
<T extends Permission>
TAbstractPermissionManager.getPermissionById
(Object id) Retrieve a Permission object with specified Id.<T extends Permission>
TAbstractPermissionManager.getPermissionByName
(String name) Retrieve a Permission object with specified name.<T extends Permission>
TAbstractPermissionManager.getPermissionInstance()
Construct a blank Permission object.<T extends Permission>
TAbstractPermissionManager.getPermissionInstance
(String permName) Construct a blank Permission object.protected PermissionManager
AbstractManager.getPermissionManager()
<T extends Role>
TAbstractRoleManager.getRoleById
(Object id) Retrieve a Role object with specified Id.<T extends Role>
TAbstractRoleManager.getRoleByName
(String name) Retrieve a Role object with specified name.<T extends Role>
TAbstractRoleManager.getRoleInstance()
Construct a blank Role object.<T extends Role>
TAbstractRoleManager.getRoleInstance
(String roleName) Construct a blank Role object.protected RoleManager
AbstractManager.getRoleManager()
<T extends User>
T<T extends User>
TRetrieve a user from persistent storage using username as the key, and authenticate the user.<T extends User>
TAbstractUserManager.getUserById
(Object id) Retrieve a User object with specified Id.<T extends User>
TAbstractUserManager.getUserInstance()
Construct a blank User object.<T extends User>
TAbstractUserManager.getUserInstance
(String userName) Construct a blank User object.protected UserManager
AbstractManager.getUserManager()
protected abstract <T extends Group>
TAbstractGroupManager.persistNewGroup
(T group) protected abstract <T extends Permission>
TAbstractPermissionManager.persistNewPermission
(T permission) protected abstract <T extends Role>
TAbstractRoleManager.persistNewRole
(T role) protected abstract <T extends User>
TAbstractUserManager.persistNewUser
(T user)