Uses of Interface
org.apache.fulcrum.security.entity.User
Packages that use User
Package
Description
-
Uses of User in org.apache.fulcrum.security
Methods in org.apache.fulcrum.security with type parameters of type UserModifier and TypeMethodDescription<T extends User>
TCreates new user account with specified attributes.UserManager.getAllUsers()
Retrieves all users defined in the system.<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.UserManager.retrieveUserList
(Object criteria) Retrieve a list of users that meet the specified criteria.Methods in org.apache.fulcrum.security with parameters of type UserModifier and TypeMethodDescriptionvoid
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
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.<T extends AccessControlList>
TReturn a Class object representing the system's chosen implementation of of ACL interface.void
UserManager.removeUser
(User user) Removes an user account from the system.void
Saves User's data in the permanent storage. -
Uses of User in org.apache.fulcrum.security.authenticator
Methods in org.apache.fulcrum.security.authenticator with parameters of type UserModifier and TypeMethodDescriptionboolean
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. -
Uses of User in org.apache.fulcrum.security.entity
Subinterfaces of User in org.apache.fulcrum.security.entityModifier and TypeInterfaceDescriptioninterface
This interface represents the extended functionality of a user. -
Uses of User in org.apache.fulcrum.security.model
Methods in org.apache.fulcrum.security.model with parameters of type UserModifier and TypeMethodDescription<T extends AccessControlList>
TACLFactory.getAccessControlList
(User user) -
Uses of User in org.apache.fulcrum.security.model.basic
Methods in org.apache.fulcrum.security.model.basic with parameters of type UserModifier and TypeMethodDescription<T extends AccessControlList>
TBasicACLFactory.getAccessControlList
(User user) void
Puts a user in a group.void
Removes a user from a groupvoid
Revokes all groups from an User. -
Uses of User in org.apache.fulcrum.security.model.basic.entity
Subinterfaces of User in org.apache.fulcrum.security.model.basic.entityModifier and TypeInterfaceDescriptioninterface
Represents the "basic" model where users can be part of multiple groups directly, with no roles or permissions.Methods in org.apache.fulcrum.security.model.basic.entity with type parameters of type UserModifier and TypeMethodDescriptionBasicGroup.getUsersAsSet()
Get the users that are part of this group as a Set<T extends User>
voidBasicGroup.setUsersAsSet
(Set<T> users) Set the users that are part of this group as a SetMethods in org.apache.fulcrum.security.model.basic.entity with parameters of type UserModifier and TypeMethodDescriptionvoid
Add a user to this groupvoid
BasicGroup.removeUser
(User user) Remove a user from this group -
Uses of User in org.apache.fulcrum.security.model.basic.entity.impl
Classes in org.apache.fulcrum.security.model.basic.entity.impl that implement UserModifier and TypeClassDescriptionclass
Represents the "basic" model where users can be part of multiple groups directly, with no roles or permissions.Methods in org.apache.fulcrum.security.model.basic.entity.impl with type parameters of type UserModifier and TypeMethodDescriptionBasicGroupImpl.getUsersAsSet()
Get the users that are part of this group as a Set<T extends User>
voidBasicGroupImpl.setUsersAsSet
(Set<T> users) Set the users that are part of this group as a SetMethods in org.apache.fulcrum.security.model.basic.entity.impl with parameters of type UserModifier and TypeMethodDescriptionvoid
Add a user to this groupvoid
BasicGroupImpl.removeUser
(User user) Remove a user from this group -
Uses of User in org.apache.fulcrum.security.model.dynamic
Methods in org.apache.fulcrum.security.model.dynamic with parameters of type UserModifier and TypeMethodDescriptionvoid
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 permissions<T extends AccessControlList>
TDynamicACLFactory.getAccessControlList
(User user) void
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
Removes a user from a groupvoid
Revokes all groups from a user This method is used when deleting an account.void
Revokes all roles from an User. -
Uses of User in org.apache.fulcrum.security.model.dynamic.entity
Subinterfaces of User in org.apache.fulcrum.security.model.dynamic.entityModifier and TypeInterfaceDescriptioninterface
Represents the "simple" model where permissions are related to roles, roles are related to groups and groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.dynamic.entity with type parameters of type UserModifier and TypeMethodDescriptionDynamicUser.getDelegatees()
Get the set of delegatees for this userDynamicUser.getDelegators()
Get the set of delegators for this user<T extends User>
voidDynamicUser.setDelegatees
(Set<T> delegatees) Set the delegatees for this user<T extends User>
voidDynamicUser.setDelegators
(Set<T> delegators) Set the delegators for this user -
Uses of User in org.apache.fulcrum.security.model.dynamic.entity.impl
Classes in org.apache.fulcrum.security.model.dynamic.entity.impl that implement UserModifier and TypeClassDescriptionclass
Represents the "simple" model where permissions are related to roles, roles are related to groups and groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.dynamic.entity.impl with type parameters of type UserModifier and TypeMethodDescriptionDynamicUserImpl.getDelegatees()
Get the set of delegatees for this userDynamicUserImpl.getDelegators()
Get the set of delegators for this user<T extends User>
voidDynamicUserImpl.setDelegatees
(Set<T> delegatees) Set the delegatees for this user<T extends User>
voidDynamicUserImpl.setDelegators
(Set<T> delegators) Set the delegators for this user -
Uses of User in org.apache.fulcrum.security.model.turbine
Methods in org.apache.fulcrum.security.model.turbine with type parameters of type UserModifier and TypeMethodDescription<T extends User>
TTurbineUserManager.getAnonymousUser()
Constructs an User object to represent an anonymous user of the application.Methods in org.apache.fulcrum.security.model.turbine with parameters of type UserModifier and TypeMethodDescription<T extends AccessControlList>
TTurbineACLFactory.getAccessControlList
(User user) void
Grant an User a Role in a Group.boolean
TurbineUserManager.isAnonymousUser
(User user) Checks whether a passed user object matches the anonymous user pattern according to the configured user managervoid
Replaces the assigned old Role to new role in the #global group for User user.void
Revoke a Role in a Group from an User.void
Revokes all roles and groups from a User.void
Revokes all roles from an User. -
Uses of User in org.apache.fulcrum.security.model.turbine.entity
Subinterfaces of User in org.apache.fulcrum.security.model.turbine.entityModifier and TypeInterfaceDescriptioninterface
Represents the "turbine" model where permissions are in a many to many relationship to roles, roles are related to groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.turbine.entity that return UserMethods in org.apache.fulcrum.security.model.turbine.entity with parameters of type User -
Uses of User in org.apache.fulcrum.security.model.turbine.entity.impl
Classes in org.apache.fulcrum.security.model.turbine.entity.impl that implement UserModifier and TypeClassDescriptionclass
Represents the "turbine" model where permissions are in a many to many relationship to roles, roles are related to groups are related to users, all in many to many relationships. -
Uses of User in org.apache.fulcrum.security.spi
Methods in org.apache.fulcrum.security.spi with type parameters of type UserModifier and TypeMethodDescription<T extends User>
TCreates new user account with specified attributes.<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 abstract <T extends User>
TAbstractUserManager.persistNewUser
(T user) Methods in org.apache.fulcrum.security.spi with parameters of type UserModifier and TypeMethodDescriptionvoid
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
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 AccessControlList>
T -
Uses of User in org.apache.fulcrum.security.util
Classes in org.apache.fulcrum.security.util with type parameters of type UserModifier and TypeClassDescriptionclass
This class represents a set of Users.Methods in org.apache.fulcrum.security.util that return UserModifier and TypeMethodDescriptionUserSet.getUserById
(Object userId) Deprecated.use getById()UserSet.getUserByName
(String userName) Deprecated.use getByName()Constructor parameters in org.apache.fulcrum.security.util with type arguments of type UserModifierConstructorDescriptionUserSet
(Collection<? extends User> users) Constructs a new UserSet with specified contents.