Uses of Class
org.apache.fulcrum.security.util.DataBackendException
Packages that use DataBackendException
Package
Description
-
Uses of DataBackendException in org.apache.fulcrum.security
Methods in org.apache.fulcrum.security that throw DataBackendExceptionModifier and TypeMethodDescription<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.voidUserManager.authenticate(User user, String password) Authenticate an User with the specified password.voidUserManager.changePassword(User user, String oldPassword, String newPassword) Change the password for an User.booleanGroupManager.checkExists(String groupName) Determines if aGroupexists in the security system with the specified name.booleanGroupManager.checkExists(Group group) Determines if theGroupexists in the security system.booleanPermissionManager.checkExists(String permissionName) Determines if aPermissionexists in the security system with the specified name.booleanPermissionManager.checkExists(Permission permission) Determines if thePermissionexists in the security system.booleanRoleManager.checkExists(String roleName) Determines if aRoleexists in the security system with the specified role name.booleanRoleManager.checkExists(Role role) Determines if theRoleexists in the security system.booleanUserManager.checkExists(String userName) Check whether a specified user's account exists.booleanUserManager.checkExists(User user) Determines if theUserexists in the security system.voidUserManager.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.voidGroupManager.removeGroup(Group group) Removes a Group from the system.voidPermissionManager.removePermission(Permission permission) Removes a Permission from the system.voidRoleManager.removeRole(Role role) Removes a Role from the system.voidUserManager.removeUser(User user) Removes an user account from the system.voidGroupManager.renameGroup(Group group, String name) Renames an existing Group.voidPermissionManager.renamePermission(Permission permission, String name) Renames an existing Permission.voidRoleManager.renameRole(Role role, String name) Renames an existing Role.UserManager.retrieveUserList(Object criteria) Retrieve a list of users that meet the specified criteria.voidSaves User's data in the permanent storage. -
Uses of DataBackendException in org.apache.fulcrum.security.authenticator
Methods in org.apache.fulcrum.security.authenticator that throw DataBackendExceptionModifier and TypeMethodDescriptionbooleanAuthenticator.authenticate(User user, String password) booleanCryptoAuthenticator.authenticate(User user, String password) Authenticate a user with the specified password.booleanNoOpAuthenticator.authenticate(User user, String password) booleanTextMatchAuthenticator.authenticate(User user, String password) Authenticate an username with the specified password. -
Uses of DataBackendException in org.apache.fulcrum.security.model.basic
Methods in org.apache.fulcrum.security.model.basic that throw DataBackendException -
Uses of DataBackendException in org.apache.fulcrum.security.model.dynamic
Methods in org.apache.fulcrum.security.model.dynamic that throw DataBackendExceptionModifier and TypeMethodDescriptionvoidAbstractDynamicModelManager.addDelegate(User delegator, User delegatee) It is expected the real implementation will overide this and save either side of the function.voidDynamicModelManager.addDelegate(User delegator, User delegatee) Allow B to assumes A's roles, groups and permissionsvoidPuts a role into a group This method is used when adding a role to a group.voidDynamicModelManager.grant(Role role, Permission permission) Puts a permission in a role This method is used when adding a permission to a rolevoidPuts a user in a group.voidAbstractDynamicModelManager.removeDelegate(User delegator, User delegatee) Implementors should overide this to save and call super if they want the base class to do the workvoidDynamicModelManager.removeDelegate(User delegator, User delegatee) Stop A having B's roles, groups and permissionsvoidRemove a role from a group This method is used when removeing a role to a group.voidDynamicModelManager.revoke(Role role, Permission permission) Removes a permission from a rolevoidRemoves a user from a groupvoidRevokes all users and roles from a group This method is used when deleting a group.voidAbstractDynamicModelManager.revokeAll(Permission permission) Revokes all roles from a permission This method is used when deleting a permission.voidRevokes all permissions and groups from a Role.voidRevokes all groups from a user This method is used when deleting an account.voidRevokes all roles and users from a Group This method is typically used when deleting a Group.voidDynamicModelManager.revokeAll(Permission permission) Revoke from a permission all roles This method is typically used when deleting a PermissionvoidRevokes all permissions from a Role.voidRevokes all roles from an User. -
Uses of DataBackendException in org.apache.fulcrum.security.model.turbine
Methods in org.apache.fulcrum.security.model.turbine that throw DataBackendExceptionModifier and TypeMethodDescriptionAbstractTurbineModelManager.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 TurbineModelManagerTurbineACLFactory.getTurbineModelManager()voidTurbineModelManager.grant(Role role, Permission permission) Puts a permission in a role This method is used when adding a permission to a rolevoidGrant an User a Role in a Group.voidReplaces the assigned old Role to new role in the #global group for User user.voidTurbineModelManager.revoke(Role role, Permission permission) Removes a permission from a rolevoidRevoke a Role in a Group from an User.voidRevokes all roles and users from a Group.voidRevokes all permissions from a Role.voidRevokes 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.voidRevokes all roles and groups from a User.voidRevokes all roles and users from a Group.voidRevokes all permissions from a Role.voidRevokes 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.voidRevokes all roles from an User. -
Uses of DataBackendException in org.apache.fulcrum.security.model.turbine.entity
Methods in org.apache.fulcrum.security.model.turbine.entity that throw DataBackendExceptionModifier and TypeMethodDescriptionvoidTurbineUserGroupRoleEntity.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 entityvoidTurbineUserGroupRoleEntity.removeUserGroupRole(TurbineUserGroupRole userGroupRole) Remove a User/Group/Role relation from this entity -
Uses of DataBackendException in org.apache.fulcrum.security.spi
Methods in org.apache.fulcrum.security.spi that throw DataBackendExceptionModifier and TypeMethodDescription<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.voidAbstractUserManager.authenticate(User user, String password) Authenticate an User with the specified password.voidAbstractUserManager.changePassword(User user, String oldPassword, String newPassword) Change the password for an User.booleanAbstractGroupManager.checkExists(Group group) Check whether a specified group exists.booleanAbstractPermissionManager.checkExists(Permission permission) Check whether a specified permission exists.booleanAbstractRoleManager.checkExists(Role role) Check whether a specified role exists.booleanAbstractUserManager.checkExists(User user) Check whether a specified user's account exists.voidAbstractUserManager.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 GroupManagerAbstractManager.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 PermissionManagerAbstractManager.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 RoleManagerAbstractManager.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 UserManagerAbstractManager.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)