Uses of Class
org.apache.turbine.util.security.DataBackendException

Packages that use DataBackendException
org.apache.turbine.om.security.peer Hand rolled peers for the DB Security Service. 
org.apache.turbine.services.security The security service can be used to authenticate users based on database information. 
org.apache.turbine.services.security.db A security service implementation that used an SQL database for authentication. 
org.apache.turbine.services.security.ldap An LDAP based security service implementation. 
org.apache.turbine.services.security.passive Dummy Service to be used if no security is required. 
org.apache.turbine.services.security.torque A security service implementation based on Torque generated peer classes. 
 

Uses of DataBackendException in org.apache.turbine.om.security.peer
 

Methods in org.apache.turbine.om.security.peer that throw DataBackendException
static boolean GroupPeer.checkExists(Group group)
          Checks if a Group is defined in the system.
static boolean PermissionPeer.checkExists(Permission permission)
          Checks if a Permission is defined in the system.
static boolean TurbineUserPeer.checkExists(User user)
          Checks if a User is defined in the system.
static boolean RolePeer.checkExists(Role role)
          Checks if a Role is defined in the system.
 

Uses of DataBackendException in org.apache.turbine.services.security
 

Methods in org.apache.turbine.services.security that throw DataBackendException
static boolean TurbineSecurity.accountExists(User user)
          Check whether a specified user's account exists.
static boolean TurbineSecurity.accountExists(java.lang.String userName)
          Check whether a specified user's account exists.
static User TurbineSecurity.getAuthenticatedUser(java.lang.String username, java.lang.String password)
          Authenticates an user, and constructs an User object to represent him/her.
static User TurbineSecurity.getUser(java.lang.String username)
          Constructs an User object to represent a registered user of the application.
static User[] TurbineSecurity.getUsers(org.apache.torque.util.Criteria criteria)
          Retrieve a set of users that meet the specified criteria.
static java.util.List TurbineSecurity.getUserList(org.apache.torque.util.Criteria criteria)
          Retrieve a set of users that meet the specified criteria.
static void TurbineSecurity.saveUser(User user)
          Saves User's data in the permanent storage.
static void TurbineSecurity.saveOnSessionUnbind(User user)
          Saves User data when the session is unbound.
static void TurbineSecurity.changePassword(User user, java.lang.String oldPassword, java.lang.String newPassword)
          Change the password for an User.
static void TurbineSecurity.forcePassword(User user, java.lang.String password)
          Forcibly sets new password for an User.
static AccessControlList TurbineSecurity.getACL(User user)
          Constructs an AccessControlList for a specific user.
static void TurbineSecurity.grant(User user, Group group, Role role)
          Grant an User a Role in a Group.
static void TurbineSecurity.revoke(User user, Group group, Role role)
          Revoke a Role in a Group from an User.
static void TurbineSecurity.revokeAll(User user)
          Revokes all roles from an User.
static void TurbineSecurity.grant(Role role, Permission permission)
          Grants a Role a Permission
static void TurbineSecurity.revoke(Role role, Permission permission)
          Revokes a Permission from a Role.
static void TurbineSecurity.revokeAll(Role role)
          Revokes all permissions from a Role.
static void TurbineSecurity.addUser(User user, java.lang.String password)
          Creates new user account with specified attributes.
static void TurbineSecurity.removeUser(User user)
          Removes an user account from the system.
static Group TurbineSecurity.getGroup(java.lang.String groupName)
          Deprecated. Use getGroupByName instead.
static Group TurbineSecurity.getGroupByName(java.lang.String groupName)
          Retrieve a Group object with specified name.
static Group TurbineSecurity.getGroupById(int groupId)
          Retrieve a Group object with specified Id.
static Group TurbineSecurity.getNewGroup(java.lang.String groupName)
          Deprecated. Use getGroupInstance(String name) instead.
static Permission TurbineSecurity.getNewPermission(java.lang.String permissionName)
          Deprecated. Use getPermissionInstance(String name) instead.
static Role TurbineSecurity.getRole(java.lang.String roleName)
          Deprecated. Use getRoleByName instead.
static Role TurbineSecurity.getRoleByName(java.lang.String roleName)
          Retrieve a Role object with specified name.
static Role TurbineSecurity.getRoleById(int roleId)
          Retrieve a Role object with specified Id.
static Permission TurbineSecurity.getPermission(java.lang.String permissionName)
          Deprecated. Use getPermissionByName instead.
static Permission TurbineSecurity.getPermissionByName(java.lang.String permissionName)
          Retrieve a Permission object with specified name.
static Permission TurbineSecurity.getPermissionById(int permissionId)
          Retrieve a Permission object with specified Id.
static GroupSet TurbineSecurity.getGroups(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Groups that meet the specified Criteria.
static RoleSet TurbineSecurity.getRoles(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Roles that meet the specified Criteria.
static PermissionSet TurbineSecurity.getPermissions(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Permissions that meet the specified Criteria.
static GroupSet TurbineSecurity.getAllGroups()
          Retrieves all groups defined in the system.
static RoleSet TurbineSecurity.getAllRoles()
          Retrieves all roles defined in the system.
static PermissionSet TurbineSecurity.getAllPermissions()
          Retrieves all permissions defined in the system.
static PermissionSet TurbineSecurity.getPermissions(Role role)
          Retrieves all permissions associated with a role.
static void TurbineSecurity.saveGroup(Group group)
          Stores Group's attributes.
static void TurbineSecurity.saveRole(Role role)
          Stores Role's attributes.
static void TurbineSecurity.savePermission(Permission permission)
          Stores Permission's attributes.
static void TurbineSecurity.addGroup(Group group)
          Creates a new group with specified attributes.
static void TurbineSecurity.addRole(Role role)
          Creates a new role with specified attributes.
static void TurbineSecurity.addPermission(Permission permission)
          Creates a new permission with specified attributes.
static void TurbineSecurity.removeGroup(Group group)
          Removes a Group from the system.
static void TurbineSecurity.removeRole(Role role)
          Removes a Role from the system.
static void TurbineSecurity.removePermission(Permission permission)
          Removes a Permission from the system.
static void TurbineSecurity.renameGroup(Group group, java.lang.String name)
          Renames an existing Group.
static void TurbineSecurity.renameRole(Role role, java.lang.String name)
          Renames an existing Role.
static void TurbineSecurity.renamePermission(Permission permission, java.lang.String name)
          Renames an existing Permission.
 boolean SecurityService.accountExists(java.lang.String userName)
          Check whether a specified user's account exists.
 boolean SecurityService.accountExists(User user)
          Check whether a specified user's account exists.
 User SecurityService.getAuthenticatedUser(java.lang.String username, java.lang.String password)
          Authenticates an user, and constructs an User object to represent him/her.
 User SecurityService.getUser(java.lang.String username)
          Constructs an User object to represent a registered user of the application.
 User[] SecurityService.getUsers(org.apache.torque.util.Criteria criteria)
          Deprecated. Use retrieveList instead.
 java.util.List SecurityService.getUserList(org.apache.torque.util.Criteria criteria)
          Retrieve a set of users that meet the specified criteria.
 void SecurityService.saveUser(User user)
          Saves User's data in the permanent storage.
 void SecurityService.saveOnSessionUnbind(User user)
          Saves User data when the session is unbound.
 void SecurityService.addUser(User user, java.lang.String password)
          Creates new user account with specified attributes.
 void SecurityService.removeUser(User user)
          Removes an user account from the system.
 void SecurityService.changePassword(User user, java.lang.String oldPassword, java.lang.String newPassword)
          Change the password for an User.
 void SecurityService.forcePassword(User user, java.lang.String password)
          Forcibly sets new password for an User.
 AccessControlList SecurityService.getACL(User user)
          Constructs an AccessControlList for a specific user.
 PermissionSet SecurityService.getPermissions(Role role)
          Retrieves all permissions associated with a role.
 void SecurityService.grant(User user, Group group, Role role)
          Grant an User a Role in a Group.
 void SecurityService.revoke(User user, Group group, Role role)
          Revoke a Role in a Group from an User.
 void SecurityService.revokeAll(User user)
          Revokes all roles from an User.
 void SecurityService.grant(Role role, Permission permission)
          Grants a Role a Permission
 void SecurityService.revoke(Role role, Permission permission)
          Revokes a Permission from a Role.
 void SecurityService.revokeAll(Role role)
          Revokes all permissions from a Role.
 Group SecurityService.getGroup(java.lang.String name)
          Deprecated. Use getGroupByName instead.
 Group SecurityService.getGroupByName(java.lang.String name)
          Retrieve a Group object with specified name.
 Group SecurityService.getGroupById(int id)
          Retrieve a Group object with specified Id.
 Role SecurityService.getRole(java.lang.String name)
          Deprecated. Use getRoleByName instead.
 Role SecurityService.getRoleByName(java.lang.String name)
          Retrieve a Role object with specified name.
 Role SecurityService.getRoleById(int id)
          Retrieve a Role object with specified Id.
 Permission SecurityService.getPermission(java.lang.String name)
          Deprecated. Use getPermissionByName instead.
 Permission SecurityService.getPermissionByName(java.lang.String name)
          Retrieve a Permission object with specified name.
 Permission SecurityService.getPermissionById(int id)
          Retrieve a Permission object with specified Id.
 GroupSet SecurityService.getGroups(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Groups that meet the specified Criteria.
 RoleSet SecurityService.getRoles(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Roles that meet the specified Criteria.
 PermissionSet SecurityService.getPermissions(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Permissions that meet the specified Criteria.
 GroupSet SecurityService.getAllGroups()
          Retrieves all groups defined in the system.
 RoleSet SecurityService.getAllRoles()
          Retrieves all roles defined in the system.
 PermissionSet SecurityService.getAllPermissions()
          Retrieves all permissions defined in the system.
 void SecurityService.saveGroup(Group group)
          Stores Group's attributes.
 void SecurityService.saveRole(Role role)
          Stores Role's attributes.
 void SecurityService.savePermission(Permission permission)
          Stores Permission's attributes.
 Group SecurityService.addGroup(Group group)
          Creates a new group with specified attributes.
 Role SecurityService.addRole(Role role)
          Creates a new role with specified attributes.
 Permission SecurityService.addPermission(Permission permission)
          Creates a new permission with specified attributes.
 void SecurityService.removeGroup(Group group)
          Removes a Group from the system.
 void SecurityService.removeRole(Role role)
          Removes a Role from the system.
 void SecurityService.removePermission(Permission permission)
          Removes a Permission from the system.
 void SecurityService.renameGroup(Group group, java.lang.String name)
          Renames an existing Group.
 void SecurityService.renameRole(Role role, java.lang.String name)
          Renames an existing Role.
 void SecurityService.renamePermission(Permission permission, java.lang.String name)
          Renames an existing Permission.
 boolean BaseSecurityService.accountExists(User user)
          Check whether a specified user's account exists.
 boolean BaseSecurityService.accountExists(java.lang.String userName)
          Check whether a specified user's account exists.
 User BaseSecurityService.getAuthenticatedUser(java.lang.String username, java.lang.String password)
          Authenticates an user, and constructs an User object to represent him/her.
 User BaseSecurityService.getUser(java.lang.String username)
          Constructs an User object to represent a registered user of the application.
 User[] BaseSecurityService.getUsers(org.apache.torque.util.Criteria criteria)
          Deprecated. Use getUserList instead.
 java.util.List BaseSecurityService.getUserList(org.apache.torque.util.Criteria criteria)
          Retrieve a set of users that meet the specified criteria.
 void BaseSecurityService.saveUser(User user)
          Saves User's data in the permanent storage.
 void BaseSecurityService.saveOnSessionUnbind(User user)
          Saves User data when the session is unbound.
 void BaseSecurityService.addUser(User user, java.lang.String password)
          Creates new user account with specified attributes.
 void BaseSecurityService.removeUser(User user)
          Removes an user account from the system.
 void BaseSecurityService.changePassword(User user, java.lang.String oldPassword, java.lang.String newPassword)
          Change the password for an User.
 void BaseSecurityService.forcePassword(User user, java.lang.String password)
          Forcibly sets new password for an User.
 Group BaseSecurityService.getGroup(java.lang.String name)
          Deprecated. Use getGroupByName instead.
 Group BaseSecurityService.getGroupByName(java.lang.String name)
          Retrieve a Group object with specified name.
 Group BaseSecurityService.getGroupById(int id)
          Retrieve a Group object with specified Id.
 Role BaseSecurityService.getRole(java.lang.String name)
          Deprecated. Use getRoleByName instead.
 Role BaseSecurityService.getRoleByName(java.lang.String name)
          Retrieve a Role object with specified name.
 Role BaseSecurityService.getRoleById(int id)
          Retrieve a Role object with specified Id.
 Permission BaseSecurityService.getPermission(java.lang.String name)
          Deprecated. Use getPermissionByName instead.
 Permission BaseSecurityService.getPermissionByName(java.lang.String name)
          Retrieve a Permission object with specified name.
 Permission BaseSecurityService.getPermissionById(int id)
          Retrieve a Permission object with specified Id.
 GroupSet BaseSecurityService.getAllGroups()
          Retrieves all groups defined in the system.
 RoleSet BaseSecurityService.getAllRoles()
          Retrieves all roles defined in the system.
 PermissionSet BaseSecurityService.getAllPermissions()
          Retrieves all permissions defined in the system.
 boolean UserManager.accountExists(User user)
          Check whether a specified user's account exists.
 boolean UserManager.accountExists(java.lang.String userName)
          Check whether a specified user's account exists.
 User UserManager.retrieve(java.lang.String username)
          Retrieve a user from persistent storage using username as the key.
 User UserManager.retrieveById(java.lang.Object key)
          Retrieve a user from persistent storage using the primary key
 User[] UserManager.retrieve(org.apache.torque.util.Criteria criteria)
          Deprecated. Use retrieveList(Criteria crit)
 java.util.List UserManager.retrieveList(org.apache.torque.util.Criteria criteria)
          Retrieve a list of users that meet the specified criteria.
 User UserManager.retrieve(java.lang.String username, java.lang.String password)
          Retrieve a user from persistent storage using username as the key, and authenticate the user.
 void UserManager.store(User user)
          Save an User object to persistent storage.
 void UserManager.saveOnSessionUnbind(User user)
          Saves User data when the session is unbound.
 void UserManager.authenticate(User user, java.lang.String password)
          Authenticate an User with the specified password.
 void UserManager.createAccount(User user, java.lang.String initialPassword)
          Creates new user account with specified attributes.
 void UserManager.removeAccount(User user)
          Removes an user account from the system.
 void UserManager.changePassword(User user, java.lang.String oldPassword, java.lang.String newPassword)
          Change the password for an User.
 void UserManager.forcePassword(User user, java.lang.String password)
          Forcibly sets new password for an User.
 

Uses of DataBackendException in org.apache.turbine.services.security.db
 

Methods in org.apache.turbine.services.security.db that throw DataBackendException
 boolean DBUserManager.accountExists(User user)
          Check whether a specified user's account exists.
 boolean DBUserManager.accountExists(java.lang.String userName)
          Check whether a specified user's account exists.
 User DBUserManager.retrieve(java.lang.String userName)
          Retrieve a user from persistent storage using username as the key.
 User DBUserManager.retrieveById(java.lang.Object key)
          Retrieve a user from persistent storage using the primary key
 java.util.List DBUserManager.retrieveList(org.apache.torque.util.Criteria criteria)
          Retrieve a list of users that meet the specified criteria.
 User[] DBUserManager.retrieve(org.apache.torque.util.Criteria criteria)
          Deprecated. Use retrieveList instead.
 User DBUserManager.retrieve(java.lang.String userName, java.lang.String password)
          Retrieve a user from persistent storage using username as the key, and authenticate the user.
 void DBUserManager.store(User user)
          Save an User object to persistent storage.
 void DBUserManager.saveOnSessionUnbind(User user)
          Saves User data when the session is unbound.
 void DBUserManager.authenticate(User user, java.lang.String password)
          Authenticate an User with the specified password.
 void DBUserManager.changePassword(User user, java.lang.String oldPassword, java.lang.String newPassword)
          Change the password for an User.
 void DBUserManager.forcePassword(User user, java.lang.String password)
          Forcibly sets new password for an User.
 void DBUserManager.createAccount(User user, java.lang.String initialPassword)
          Creates new user account with specified attributes.
 void DBUserManager.removeAccount(User user)
          Removes an user account from the system.
 AccessControlList DBSecurityService.getACL(User user)
          Constructs an AccessControlList for a specific user.
 void DBSecurityService.grant(User user, Group group, Role role)
          Grant an User a Role in a Group.
 void DBSecurityService.revoke(User user, Group group, Role role)
          Revoke a Role in a Group from an User.
 void DBSecurityService.revokeAll(User user)
          Revokes all roles from an User.
 void DBSecurityService.grant(Role role, Permission permission)
          Grants a Role a Permission
 void DBSecurityService.revoke(Role role, Permission permission)
          Revokes a Permission from a Role.
 void DBSecurityService.revokeAll(Role role)
          Revokes all permissions from a Role.
 GroupSet DBSecurityService.getGroups(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Groups that meet the specified Criteria.
 RoleSet DBSecurityService.getRoles(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Roles that meet the specified Criteria.
 PermissionSet DBSecurityService.getPermissions(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Permissions that meet the specified Criteria.
 PermissionSet DBSecurityService.getPermissions(Role role)
          Retrieves all permissions associated with a role.
 void DBSecurityService.saveGroup(Group group)
          Stores Group's attributes.
 void DBSecurityService.saveRole(Role role)
          Stores Role's attributes.
 void DBSecurityService.savePermission(Permission permission)
          Stores Permission's attributes.
 Group DBSecurityService.addGroup(Group group)
          Creates a new group with specified attributes.
 Role DBSecurityService.addRole(Role role)
          Creates a new role with specified attributes.
 Permission DBSecurityService.addPermission(Permission permission)
          Creates a new permission with specified attributes.
 void DBSecurityService.removeGroup(Group group)
          Removes a Group from the system.
 void DBSecurityService.removeRole(Role role)
          Removes a Role from the system.
 void DBSecurityService.removePermission(Permission permission)
          Removes a Permission from the system.
 void DBSecurityService.renameGroup(Group group, java.lang.String name)
          Renames an existing Group.
 void DBSecurityService.renameRole(Role role, java.lang.String name)
          Renames an existing Role.
 void DBSecurityService.renamePermission(Permission permission, java.lang.String name)
          Renames an existing Permission.
protected  boolean DBSecurityService.checkExists(Group group)
          Determines if the Group exists in the security system.
protected  boolean DBSecurityService.checkExists(Role role)
          Determines if the Role exists in the security system.
protected  boolean DBSecurityService.checkExists(Permission permission)
          Determines if the Permission exists in the security system.
 

Uses of DataBackendException in org.apache.turbine.services.security.ldap
 

Methods in org.apache.turbine.services.security.ldap that throw DataBackendException
 boolean LDAPUserManager.accountExists(User user)
          Check wether a specified user's account exists.
 boolean LDAPUserManager.accountExists(java.lang.String username)
          Check wether a specified user's account exists.
 User LDAPUserManager.retrieve(java.lang.String username)
          Retrieve a user from persistent storage using username as the key.
 User LDAPUserManager.retrieveById(java.lang.Object key)
          Retrieve a user from persistent storage using the primary key
 User[] LDAPUserManager.retrieve(org.apache.torque.util.Criteria criteria)
          Deprecated. Use retrieveList instead.
 java.util.List LDAPUserManager.retrieveList(org.apache.torque.util.Criteria criteria)
          Retrieve a list of users that meet the specified criteria.
 User LDAPUserManager.retrieve(java.lang.String username, java.lang.String password)
          Retrieve a user from persistent storage using username as the key, and authenticate the user.
 void LDAPUserManager.store(User user)
          Save a User object to persistent storage.
 void LDAPUserManager.saveOnSessionUnbind(User user)
          This method is not yet implemented.
 void LDAPUserManager.authenticate(User user, java.lang.String password)
          Authenticate a User with the specified password.
 void LDAPUserManager.changePassword(User user, java.lang.String oldPass, java.lang.String newPass)
          This method is not yet implemented Change the password for an User.
 void LDAPUserManager.forcePassword(User user, java.lang.String password)
          This method is not yet implemented Forcibly sets new password for an User.
 void LDAPUserManager.createAccount(User user, java.lang.String initialPassword)
          Creates new user account with specified attributes.
 void LDAPUserManager.removeAccount(User user)
          Removes an user account from the system.
 AccessControlList LDAPSecurityService.getACL(User user)
          Constructs an AccessControlList for a specific user.
 void LDAPSecurityService.grant(User user, Group group, Role role)
          Grant an User a Role in a Group.
 void LDAPSecurityService.revoke(User user, Group group, Role role)
          Revoke a Role in a Group from an User.
 void LDAPSecurityService.grant(Role role, Permission permission)
          Grants a Role a Permission
 void LDAPSecurityService.revoke(Role role, Permission permission)
          Revokes a Permission from a Role.
 GroupSet LDAPSecurityService.getGroups(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Groups that meet the specified Criteria.
 RoleSet LDAPSecurityService.getRoles(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Roles that meet the specified Criteria.
 PermissionSet LDAPSecurityService.getPermissions(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Permissions that meet the specified Criteria.
 PermissionSet LDAPSecurityService.getPermissions(Role role)
          Retrieves all permissions associated with a role.
 void LDAPSecurityService.saveGroup(Group group)
          Stores Group's attributes.
 void LDAPSecurityService.saveRole(Role role)
          Stores Role's attributes.
 void LDAPSecurityService.savePermission(Permission permission)
          Stores Permission's attributes.
 Group LDAPSecurityService.addGroup(Group group)
          Creates a new group with specified attributes.
 Role LDAPSecurityService.addRole(Role role)
          Creates a new role with specified attributes.
 Permission LDAPSecurityService.addPermission(Permission permission)
          Creates a new permission with specified attributes.
 void LDAPSecurityService.removeGroup(Group group)
          Removes a Group from the system.
 void LDAPSecurityService.removeRole(Role role)
          Removes a Role from the system.
 void LDAPSecurityService.removePermission(Permission permission)
          Removes a Permission from the system.
 void LDAPSecurityService.renameGroup(Group group, java.lang.String name)
          Renames an existing Group.
 void LDAPSecurityService.renameRole(Role role, java.lang.String name)
          Renames an existing Role.
 void LDAPSecurityService.renamePermission(Permission permission, java.lang.String name)
          Renames an existing Permission.
 void LDAPSecurityService.revokeAll(User user)
          Revoke all the roles to a user
 void LDAPSecurityService.revokeAll(Role role)
          Revoke all the permissions to a role.
 void LDAPSecurityService.revokeAll(Group group)
          Revoke all the roles to a group.
 boolean LDAPSecurityService.checkExists(Role role)
          Determines if the Role exists in the security system.
 boolean LDAPSecurityService.checkExists(Group group)
          Determines if the Group exists in the security system.
 boolean LDAPSecurityService.checkExists(Permission permission)
          Determines if the Permission exists in the security system.
 

Uses of DataBackendException in org.apache.turbine.services.security.passive
 

Methods in org.apache.turbine.services.security.passive that throw DataBackendException
 boolean PassiveUserManager.accountExists(User user)
          Check whether a specified user's account exists.
 boolean PassiveUserManager.accountExists(java.lang.String userName)
          Check whether a specified user's account exists.
 User PassiveUserManager.retrieve(java.lang.String username)
          Retrieve a user from persistent storage using username as the key.
 User PassiveUserManager.retrieveById(java.lang.Object key)
          Retrieve a user from persistent storage using the primary key
 User[] PassiveUserManager.retrieve(org.apache.torque.util.Criteria criteria)
          Deprecated. Use retrieveList instead.
 java.util.List PassiveUserManager.retrieveList(org.apache.torque.util.Criteria criteria)
          Retrieve a set of users that meet the specified criteria.
 User PassiveUserManager.retrieve(java.lang.String username, java.lang.String password)
          Retrieve a user from persistent storage using username as the key, and authenticate the user.
 void PassiveUserManager.store(User user)
          Save an User object to persistent storage.
 void PassiveUserManager.saveOnSessionUnbind(User user)
          Saves User data when the session is unbound.
 void PassiveUserManager.authenticate(User user, java.lang.String password)
          Authenticate an User with the specified password.
 void PassiveUserManager.createAccount(User user, java.lang.String initialPassword)
          Creates new user account with specified attributes.
 void PassiveUserManager.removeAccount(User user)
          Removes an user account from the system.
 void PassiveUserManager.changePassword(User user, java.lang.String oldPassword, java.lang.String newPassword)
          Change the password for an User.
 void PassiveUserManager.forcePassword(User user, java.lang.String password)
          Forcibly sets new password for an User.
 

Uses of DataBackendException in org.apache.turbine.services.security.torque
 

Methods in org.apache.turbine.services.security.torque that throw DataBackendException
static boolean GroupPeerManager.checkExists(Group group)
          Checks if a Group is defined in the system.
 AccessControlList TorqueSecurityService.getACL(User user)
          Constructs an AccessControlList for a specific user.
 void TorqueSecurityService.grant(User user, Group group, Role role)
          Grant an User a Role in a Group.
 void TorqueSecurityService.revoke(User user, Group group, Role role)
          Revoke a Role in a Group from an User.
 void TorqueSecurityService.revokeAll(User user)
          Revokes all roles from an User.
 void TorqueSecurityService.grant(Role role, Permission permission)
          Grants a Role a Permission
 void TorqueSecurityService.revoke(Role role, Permission permission)
          Revokes a Permission from a Role.
 void TorqueSecurityService.revokeAll(Role role)
          Revokes all permissions from a Role.
 GroupSet TorqueSecurityService.getGroups(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Groups that meet the specified Criteria.
 RoleSet TorqueSecurityService.getRoles(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Roles that meet the specified Criteria.
 PermissionSet TorqueSecurityService.getPermissions(org.apache.torque.util.Criteria criteria)
          Retrieve a set of Permissions that meet the specified Criteria.
 PermissionSet TorqueSecurityService.getPermissions(Role role)
          Retrieves all permissions associated with a role.
 void TorqueSecurityService.saveGroup(Group group)
          Stores Group's attributes.
 void TorqueSecurityService.saveRole(Role role)
          Stores Role's attributes.
 void TorqueSecurityService.savePermission(Permission permission)
          Stores Permission's attributes.
 Group TorqueSecurityService.addGroup(Group group)
          Creates a new group with specified attributes.
 Role TorqueSecurityService.addRole(Role role)
          Creates a new role with specified attributes.
 Permission TorqueSecurityService.addPermission(Permission permission)
          Creates a new permission with specified attributes.
 void TorqueSecurityService.removeGroup(Group group)
          Removes a Group from the system.
 void TorqueSecurityService.removeRole(Role role)
          Removes a Role from the system.
 void TorqueSecurityService.removePermission(Permission permission)
          Removes a Permission from the system.
 void TorqueSecurityService.renameGroup(Group group, java.lang.String name)
          Renames an existing Group.
 void TorqueSecurityService.renameRole(Role role, java.lang.String name)
          Renames an existing Role.
 void TorqueSecurityService.renamePermission(Permission permission, java.lang.String name)
          Renames an existing Permission.
protected  boolean TorqueSecurityService.checkExists(Group group)
          Determines if the Group exists in the security system.
protected  boolean TorqueSecurityService.checkExists(Role role)
          Determines if the Role exists in the security system.
protected  boolean TorqueSecurityService.checkExists(Permission permission)
          Determines if the Permission exists in the security system.
static boolean UserPeerManager.checkExists(User user)
          Checks if a User is defined in the system.
 boolean TorqueUserManager.accountExists(User user)
          Check whether a specified user's account exists.
 boolean TorqueUserManager.accountExists(java.lang.String userName)
          Check whether a specified user's account exists.
 User TorqueUserManager.retrieve(java.lang.String userName)
          Retrieve a user from persistent storage using username as the key.
 User TorqueUserManager.retrieveById(java.lang.Object key)
          Retrieve a user from persistent storage using the primary key
 User[] TorqueUserManager.retrieve(org.apache.torque.util.Criteria criteria)
          Deprecated. Use retrieveList instead.
 java.util.List TorqueUserManager.retrieveList(org.apache.torque.util.Criteria criteria)
          Retrieve a list of users that meet the specified criteria.
 User TorqueUserManager.retrieve(java.lang.String userName, java.lang.String password)
          Retrieve a user from persistent storage using username as the key, and authenticate the user.
 void TorqueUserManager.store(User user)
          Save an User object to persistent storage.
 void TorqueUserManager.saveOnSessionUnbind(User user)
          Saves User data when the session is unbound.
 void TorqueUserManager.authenticate(User user, java.lang.String password)
          Authenticate an User with the specified password.
 void TorqueUserManager.changePassword(User user, java.lang.String oldPassword, java.lang.String newPassword)
          Change the password for an User.
 void TorqueUserManager.forcePassword(User user, java.lang.String password)
          Forcibly sets new password for an User.
 void TorqueUserManager.createAccount(User user, java.lang.String initialPassword)
          Creates new user account with specified attributes.
 void TorqueUserManager.removeAccount(User user)
          Removes an user account from the system.
static boolean PermissionPeerManager.checkExists(Permission permission)
          Checks if a Permission is defined in the system.
static boolean RolePeerManager.checkExists(Role role)
          Checks if a Role is defined in the system.
 



Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.