Uses of Interface
org.apache.fulcrum.security.entity.User
-
-
Uses of User in org.apache.fulcrum.security
Methods in org.apache.fulcrum.security with type parameters of type User Modifier and Type Method Description <T extends User>
TUserManager. addUser(T user, String password)
Creates new user account with specified attributes.<T extends User>
UserSet<T>UserManager. getAllUsers()
Retrieves all users defined in the system.<T extends User>
TUserManager. getUser(String username)
Retrieve a user from persistent storage using username as the key.<T extends User>
TUserManager. getUser(String username, String password)
Retrieve 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.Methods in org.apache.fulcrum.security with parameters of type User Modifier and Type Method Description 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
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>
TUserManager. getACL(User user)
Return 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
UserManager. saveUser(User user)
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 User Modifier and Type Method Description boolean
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.entity Modifier and Type Interface Description interface
ExtendedUser
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 User Modifier and Type Method Description <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 User Modifier and Type Method Description <T extends AccessControlList>
TBasicACLFactory. getAccessControlList(User user)
void
BasicModelManager. grant(User user, Group group)
Puts a user in a group.void
BasicModelManager. revoke(User user, Group group)
Removes a user from a groupvoid
BasicModelManager. revokeAll(User user)
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.entity Modifier and Type Interface Description interface
BasicUser
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 User Modifier and Type Method Description <T extends User>
Set<T>BasicGroup. 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 User Modifier and Type Method Description void
BasicGroup. addUser(User user)
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 User Modifier and Type Class Description class
BasicUserImpl
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 User Modifier and Type Method Description <T extends User>
Set<T>BasicGroupImpl. 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 User Modifier and Type Method Description void
BasicGroupImpl. addUser(User user)
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 User Modifier and Type Method Description void
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
DynamicModelManager. grant(User user, Group group)
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
DynamicModelManager. revoke(User user, Group group)
Removes a user from a groupvoid
AbstractDynamicModelManager. revokeAll(User user)
Revokes all groups from a user This method is used when deleting an account.void
DynamicModelManager. revokeAll(User user)
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.entity Modifier and Type Interface Description interface
DynamicUser
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 User Modifier and Type Method Description <T extends User>
Set<T>DynamicUser. getDelegatees()
Get the set of delegatees for this user<T extends User>
Set<T>DynamicUser. 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 User Modifier and Type Class Description class
DynamicUserImpl
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 User Modifier and Type Method Description <T extends User>
Set<T>DynamicUserImpl. getDelegatees()
Get the set of delegatees for this user<T extends User>
Set<T>DynamicUserImpl. 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 User Modifier and Type Method Description <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 User Modifier and Type Method Description <T extends AccessControlList>
TTurbineACLFactory. getAccessControlList(User user)
void
TurbineModelManager. grant(User user, Group group, Role role)
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
TurbineModelManager. replace(User user, Role oldRole, Role newRole)
Replaces the assigned old Role to new role in the #global group for User user.void
TurbineModelManager. revoke(User user, Group group, Role role)
Revoke a Role in a Group from an User.void
AbstractTurbineModelManager. revokeAll(User user)
Revokes all roles and groups from a User.void
TurbineModelManager. revokeAll(User user)
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.entity Modifier and Type Interface Description interface
TurbineUser
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 User Modifier and Type Method Description User
TurbineUserGroupRole. getUser()
Get the userMethods in org.apache.fulcrum.security.model.turbine.entity with parameters of type User Modifier and Type Method Description void
TurbineUserGroupRole. setUser(User user)
Set the 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 User Modifier and Type Class Description class
TurbineUserImpl
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 User Modifier and Type Method Description <T extends User>
TAbstractUserManager. addUser(T user, String password)
Creates new user account with specified attributes.<T extends User>
TAbstractUserManager. getUser(String name)
<T extends User>
TAbstractUserManager. getUser(String userName, String password)
Retrieve 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 User Modifier and Type Method Description 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
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>
TAbstractUserManager. getACL(User user)
-
Uses of User in org.apache.fulcrum.security.util
Classes in org.apache.fulcrum.security.util with type parameters of type User Modifier and Type Class Description class
UserSet<T extends User>
This class represents a set of Users.Methods in org.apache.fulcrum.security.util that return User Modifier and Type Method Description User
UserSet. getUserById(Object userId)
Deprecated.use getById()User
UserSet. getUserByName(String userName)
Deprecated.use getByName()Constructor parameters in org.apache.fulcrum.security.util with type arguments of type User Constructor Description UserSet(Collection<? extends User> users)
Constructs a new UserSet with specified contents.
-