Uses of Interface
org.apache.turbine.om.security.User
-
Packages that use User Package Description org.apache.turbine.om.security Security object definitions for the Security Service.org.apache.turbine.services.pull.tools Pull Tools to be used in a template based view.org.apache.turbine.services.rundata Rundata Service provides a factory for the request cycle data objects.org.apache.turbine.services.security The security service can be used to authenticate users based on database information.org.apache.turbine.services.security.passive Dummy Service to be used if no security is required.org.apache.turbine.services.session The session service allows you to access session information of the servlet container.org.apache.turbine.util Various utilities used in Turbine and for Turbine based applications. -
-
Uses of User in org.apache.turbine.om.security
Classes in org.apache.turbine.om.security that implement User Modifier and Type Class Description class
DefaultUserImpl
This is the Default user implementation. -
Uses of User in org.apache.turbine.services.pull.tools
Methods in org.apache.turbine.services.pull.tools with parameters of type User Modifier and Type Method Description protected void
UITool. setSkin(User user)
Set the skin name when the tool is configured to be loaded on a per-session basis.static void
UITool. setSkin(User user, String skin)
Set the skin name in the user's temp hashmap for the current session. -
Uses of User in org.apache.turbine.services.rundata
Methods in org.apache.turbine.services.rundata with type parameters of type User Modifier and Type Method Description <T extends User>
TDefaultTurbineRunData. getUser()
Gets the user.<T extends User>
TDefaultTurbineRunData. getUserFromSession()
Attempts to get the user from the session.static <T extends User>
TDefaultTurbineRunData. getUserFromSession(HttpSession session)
Attempts to get the User object from the session.Methods in org.apache.turbine.services.rundata with parameters of type User Modifier and Type Method Description void
DefaultTurbineRunData. setUser(User user)
Sets the user. -
Uses of User in org.apache.turbine.services.security
Methods in org.apache.turbine.services.security with type parameters of type User Modifier and Type Method Description <U extends User>
UDefaultSecurityService. getAnonymousUser()
Constructs an User object to represent an anonymous user of the application.<U extends User>
UDefaultUserManager. getAnonymousUser()
Constructs an User object to represent an anonymous user of the application.<U extends User>
USecurityService. getAnonymousUser()
Constructs an User object to represent an anonymous user of the application.<U extends User>
UUserManager. getAnonymousUser()
Constructs an User object to represent an anonymous user of the application.<U extends User>
UDefaultSecurityService. getAuthenticatedUser(String username, String password)
Retrieves a User object representing an individual who has properly identified themselves with their verified username and password<U extends User>
USecurityService. getAuthenticatedUser(String username, String password)
Authenticates an user, and constructs an User object to represent him/her.<U extends User>
UDefaultSecurityService. getUser(String username)
Constructs an User object to represent a registered user of the application.<U extends User>
USecurityService. getUser(String username)
Constructs an User object to represent a registered user of the application.<U extends User>
UDefaultSecurityService. getUserInstance()
Construct a blank User object.<U extends User>
UDefaultSecurityService. getUserInstance(String userName)
Construct a blank User object.<U extends User>
UDefaultUserManager. getUserInstance()
Construct a blank User object.<U extends User>
UDefaultUserManager. getUserInstance(String userName)
Construct a blank User object.<U extends User>
USecurityService. getUserInstance()
Construct a blank User object.<U extends User>
USecurityService. getUserInstance(String userName)
Construct a blank User object.<U extends User>
UUserManager. getUserInstance()
Construct a blank User object.<U extends User>
UUserManager. getUserInstance(String userName)
Construct a blank User object.<U extends User>
UDefaultUserManager. getUserWrapper(org.apache.fulcrum.security.model.turbine.entity.TurbineUser user)
Exception could be ignored, as it is tested before inDefaultUserManager.init(Configuration)
.<U extends User>
UDefaultUserManager. retrieve(String username)
Retrieve a user from persistent storage using username as the key.<U extends User>
UDefaultUserManager. retrieve(String username, String password)
Retrieve a user from persistent storage using username as the key, and authenticate the user.<U extends User>
UUserManager. retrieve(String username)
Retrieve a user from persistent storage using username as the key.<U extends User>
UUserManager. retrieve(String username, String password)
Retrieve a user from persistent storage using username as the key, and authenticate the user.protected <U extends User>
UDefaultUserManager. wrap(org.apache.fulcrum.security.model.turbine.entity.TurbineUser user)
Wrap a Fulcrum user object into a Turbine user objectMethods in org.apache.turbine.services.security that return types with arguments of type User Modifier and Type Method Description List<? extends User>
DefaultUserManager. retrieveList(Object criteria)
Retrieve a set of users that meet the specified criteria.List<? extends User>
UserManager. retrieveList(Object criteria)
Retrieve a list of users that meet the specified criteria.Methods in org.apache.turbine.services.security with parameters of type User Modifier and Type Method Description boolean
DefaultSecurityService. accountExists(User user)
Check whether a specified user's account exists.boolean
DefaultUserManager. accountExists(User user)
Check whether a specified user's account exists.boolean
SecurityService. accountExists(User user)
Check whether a specified user's account exists.boolean
UserManager. accountExists(User user)
Check whether a specified user's account exists.void
DefaultSecurityService. addUser(User user, String password)
Creates new user account with specified attributes.void
SecurityService. addUser(User user, String password)
Creates new user account with specified attributes.void
DefaultUserManager. authenticate(User user, String password)
Authenticate an User with the specified password.void
UserManager. authenticate(User user, String password)
Authenticate an User with the specified password.void
DefaultSecurityService. changePassword(User user, String oldPassword, String newPassword)
Change the password for an User.void
DefaultUserManager. changePassword(User user, String oldPassword, String newPassword)
Change the password for an User.void
SecurityService. changePassword(User user, String oldPassword, String newPassword)
Change the password for an User.void
UserManager. changePassword(User user, String oldPassword, String newPassword)
Change the password for an User.void
DefaultUserManager. createAccount(User user, String initialPassword)
Creates new user account with specified attributes.void
UserManager. createAccount(User user, String initialPassword)
Creates new user account with specified attributes.void
DefaultSecurityService. forcePassword(User user, String password)
Forcibly sets new password for an User.void
DefaultUserManager. forcePassword(User user, String password)
Forcibly sets new password for an User.void
SecurityService. forcePassword(User user, String password)
Forcibly sets new password for an User.void
UserManager. forcePassword(User user, String password)
Forcibly sets new password for an User.<A extends org.apache.fulcrum.security.acl.AccessControlList>
ADefaultSecurityService. getACL(User user)
Constructs an AccessControlList for a specific user.<A extends org.apache.fulcrum.security.acl.AccessControlList>
ADefaultUserManager. getACL(User user)
Return a Class object representing the system's chosen implementation of of ACL interface.<A extends org.apache.fulcrum.security.acl.AccessControlList>
ASecurityService. getACL(User user)
Constructs an AccessControlList for a specific user.<A extends org.apache.fulcrum.security.acl.AccessControlList>
AUserManager. getACL(User user)
Return a Class object representing the system's chosen implementation of of ACL interface for the given uservoid
DefaultSecurityService. grant(User user, org.apache.fulcrum.security.entity.Group group, org.apache.fulcrum.security.entity.Role role)
Grant an User a Role in a Group.void
SecurityService. grant(User user, org.apache.fulcrum.security.entity.Group group, org.apache.fulcrum.security.entity.Role role)
Grant an User a Role in a Group.boolean
DefaultSecurityService. isAnonymousUser(User user)
Checks whether a passed user object matches the anonymous user pattern according to the configured user managerboolean
DefaultUserManager. isAnonymousUser(User u)
Checks whether a passed user object matches the anonymous user pattern according to the configured user managerboolean
SecurityService. isAnonymousUser(User u)
Checks whether a passed user object matches the anonymous user pattern according to the configured user managerboolean
UserManager. isAnonymousUser(User u)
Checks whether a passed user object matches the anonymous user pattern according to the configured user managervoid
DefaultUserManager. removeAccount(User user)
Removes an user account from the system.void
UserManager. removeAccount(User user)
Removes an user account from the system.void
DefaultSecurityService. removeUser(User user)
Removes an user account from the system.void
SecurityService. removeUser(User user)
Removes an user account from the system.void
DefaultSecurityService. replaceRole(User user, org.apache.fulcrum.security.entity.Role role, org.apache.fulcrum.security.entity.Role newRole)
Replaces transactionally the first role with second role for the given user.void
SecurityService. replaceRole(User user, org.apache.fulcrum.security.entity.Role role, org.apache.fulcrum.security.entity.Role newRole)
Replaces transactionally the first given role with the second role for the given user.void
DefaultSecurityService. revoke(User user, org.apache.fulcrum.security.entity.Group group, org.apache.fulcrum.security.entity.Role role)
Revoke a Role in a Group from an User.void
SecurityService. revoke(User user, org.apache.fulcrum.security.entity.Group group, org.apache.fulcrum.security.entity.Role role)
Revoke a Role in a Group from an User.void
DefaultSecurityService. revokeAll(User user)
Revokes all roles from an User.void
SecurityService. revokeAll(User user)
Revokes all roles from an User.void
DefaultSecurityService. saveOnSessionUnbind(User user)
Saves User data when the session is unbound.void
DefaultUserManager. saveOnSessionUnbind(User user)
Saves User data when the session is unbound.void
SecurityService. saveOnSessionUnbind(User user)
Saves User data when the session is unbound.void
UserManager. saveOnSessionUnbind(User user)
Saves User data when the session is unbound.void
DefaultSecurityService. saveUser(User user)
Saves User's data in the permanent storage.void
SecurityService. saveUser(User user)
Saves User's data in the permanent storage.void
DefaultUserManager. store(User user)
Save an User object to persistent storage.void
UserManager. store(User user)
Save an User object to persistent storage. -
Uses of User in org.apache.turbine.services.security.passive
Methods in org.apache.turbine.services.security.passive with type parameters of type User Modifier and Type Method Description <T extends User>
TPassiveUserManager. getAnonymousUser()
Constructs an User object to represent an anonymous user of the application.<T extends User>
TPassiveUserManager. getUserInstance()
Construct a blank User object.<T extends User>
TPassiveUserManager. getUserInstance(String userName)
Construct a blank User object.<U extends User>
UPassiveUserManager. retrieve(String username)
Retrieve a user from persistent storage using username as the key.<U extends User>
UPassiveUserManager. retrieve(String username, String password)
Retrieve a user from persistent storage using username as the key, and authenticate the user.Methods in org.apache.turbine.services.security.passive that return types with arguments of type User Modifier and Type Method Description List<? extends User>
PassiveUserManager. retrieveList(Object criteria)
Retrieve a set of users that meet the specified criteria.Methods in org.apache.turbine.services.security.passive with parameters of type User Modifier and Type Method Description boolean
PassiveUserManager. accountExists(User user)
Check whether a specified user's account exists.void
PassiveUserManager. authenticate(User user, String password)
Authenticate an User with the specified password.void
PassiveUserManager. changePassword(User user, String oldPassword, String newPassword)
Change the password for an User.void
PassiveUserManager. createAccount(User user, String initialPassword)
Creates new user account with specified attributes.void
PassiveUserManager. forcePassword(User user, String password)
Forcibly sets new password for an User.<T extends org.apache.fulcrum.security.acl.AccessControlList>
TPassiveUserManager. getACL(User user)
Return a Class object representing the system's chosen implementation of of ACL interface.boolean
PassiveUserManager. isAnonymousUser(User u)
Checks whether a passed user object matches the anonymous user pattern according to the configured user managervoid
PassiveUserManager. removeAccount(User user)
Removes an user account from the system.void
PassiveUserManager. saveOnSessionUnbind(User user)
Saves User data when the session is unbound.void
PassiveUserManager. store(User user)
Save an User object to persistent storage. -
Uses of User in org.apache.turbine.services.session
Methods in org.apache.turbine.services.session that return User Modifier and Type Method Description User
SessionService. getUserFromSession(HttpSession session)
Gets the User object of the the specified HttpSession.User
SessionTool. getUserFromSession(HttpSession session)
Gets the User object of the the specified HttpSession.User
TurbineSessionService. getUserFromSession(HttpSession session)
Gets the User object of the the specified HttpSession.Methods in org.apache.turbine.services.session that return types with arguments of type User Modifier and Type Method Description Collection<User>
SessionService. getActiveUsers()
Gets a collection of all user objects representing the users currently logged in.Collection<User>
SessionTool. getActiveUsers()
Gets a collection of all user objects representing the users currently logged in.Collection<User>
TurbineSessionService. getActiveUsers()
Gets a collection of all user objects representing the users currently logged in.Methods in org.apache.turbine.services.session with parameters of type User Modifier and Type Method Description Collection<HttpSession>
SessionService. getSessionsForUser(User user)
Get a collection of all session on which the given user is logged in.Collection<HttpSession>
SessionTool. getSessionsForUser(User user)
Get a collection of all session on which the given user is logged in.Collection<HttpSession>
TurbineSessionService. getSessionsForUser(User user)
Get a collection of all session on which the given user is logged in.boolean
SessionService. isUserLoggedIn(User user)
Determines if a given user is currently logged in.boolean
SessionTool. isUserLoggedIn(User user)
Determines if a given user is currently logged in.boolean
TurbineSessionService. isUserLoggedIn(User user)
Determines if a given user is currently logged in. -
Uses of User in org.apache.turbine.util
Methods in org.apache.turbine.util with type parameters of type User Modifier and Type Method Description <T extends User>
TRunData. getUser()
Gets the user.<T extends User>
TRunData. getUserFromSession()
Attempts to get the user from the session.<T extends User>
voidRunData. setUser(T user)
Sets the user.
-