Uses of Class
org.craftercms.studio.api.v2.dal.User
-
-
Uses of User in org.craftercms.studio.api.v2.dal
Methods in org.craftercms.studio.api.v2.dal that return User Modifier and Type Method Description User
SecurityDAO. getUser(String username)
User
UserDAO. getUserByGitName(String gitName)
Get user by git nameUser
UserDAO. getUserByIdOrUsername(Map params)
Get user by id or usernameMethods in org.craftercms.studio.api.v2.dal that return types with arguments of type User Modifier and Type Method Description List<User>
UserDAO. getAllUsers(String keyword, int offset, int limit, String sort)
Get all usersList<User>
UserDAO. getAllUsersForSite(List<String> groupNames, String keyword, int offset, int limit, String sort)
Get all users for given siteList<User>
GroupDAO. getGroupMembers(long groupId, int offset, int limit, String sort)
Get group membersList<User>
SecurityDAO. getUsersPerGroup(Map params)
-
Uses of User in org.craftercms.studio.api.v2.service.security
Methods in org.craftercms.studio.api.v2.service.security that return User Modifier and Type Method Description User
UserService. changePassword(String username, String current, String newPassword)
User changes passwordUser
UserService. createUser(User user)
User
UserService. getUserByIdOrUsername(long userId, String username)
User
UserService. setPassword(String token, String newPassword)
Set user password - forgot password tokenMethods in org.craftercms.studio.api.v2.service.security that return types with arguments of type User Modifier and Type Method Description List<User>
GroupService. addGroupMembers(long groupId, List<Long> userIds, List<String> usernames)
Add users to the groupList<User>
UserService. enableUsers(List<Long> userIds, List<String> usernames, boolean enabled)
List<User>
UserService. getAllUsers(String keyword, int offset, int limit, String sort)
Get paginated list of all users filtered by keywordList<User>
UserService. getAllUsersForSite(long orgId, String site, String keyword, int offset, int limit, String sort)
Get paginated list of all users for site filtered by keywordList<User>
GroupService. getGroupMembers(long groupId, int offset, int limit, String sort)
Get group membersMethods in org.craftercms.studio.api.v2.service.security with parameters of type User Modifier and Type Method Description User
UserService. createUser(User user)
void
UserService. updateUser(User user)
-
Uses of User in org.craftercms.studio.api.v2.service.security.internal
Methods in org.craftercms.studio.api.v2.service.security.internal that return User Modifier and Type Method Description User
UserServiceInternal. createUser(User user)
User
UserServiceInternal. getUserByGitName(String gitName)
Get user by git name.User
UserServiceInternal. getUserByIdOrUsername(long userId, String username)
Methods in org.craftercms.studio.api.v2.service.security.internal that return types with arguments of type User Modifier and Type Method Description List<User>
GroupServiceInternal. addGroupMembers(long groupId, List<Long> userIds, List<String> usernames)
List<User>
UserServiceInternal. enableUsers(List<Long> userIds, List<String> usernames, boolean enabled)
List<User>
UserServiceInternal. getAllUsers(String keyword, int offset, int limit, String sort)
Get paginated list of all users filtered by keywordList<User>
UserServiceInternal. getAllUsersForSite(long orgId, List<String> groupNames, String keyword, int offset, int limit, String sort)
Get paginated list of all users for site filtered by keywordList<User>
GroupServiceInternal. getGroupMembers(long groupId, int offset, int limit, String sort)
List<User>
UserServiceInternal. getUsersByIdOrUsername(List<Long> userIds, List<String> usernames)
Methods in org.craftercms.studio.api.v2.service.security.internal with parameters of type User Modifier and Type Method Description User
UserServiceInternal. createUser(User user)
void
AccessTokenServiceInternal. deleteRefreshToken(User user)
Deletes the refresh token for the given uservoid
UserServiceInternal. updateUser(User user)
-
Uses of User in org.craftercms.studio.api.v2.utils
Methods in org.craftercms.studio.api.v2.utils with parameters of type User Modifier and Type Method Description org.eclipse.jgit.lib.PersonIdent
GitRepositoryHelper. getAuthorIdent(User user)
Return the author identity as a jgit PersonIdent -
Uses of User in org.craftercms.studio.controller.rest.v2
Methods in org.craftercms.studio.controller.rest.v2 with parameters of type User Modifier and Type Method Description ResponseBody
UsersController. createUser(User user)
Create user APIResponseBody
UsersController. updateUser(User user)
Update user API -
Uses of User in org.craftercms.studio.impl.v1.web.security.access
Methods in org.craftercms.studio.impl.v1.web.security.access with parameters of type User Modifier and Type Method Description protected boolean
StudioAbstractAccessDecisionVoter. isAdmin(User user)
protected boolean
StudioAbstractAccessDecisionVoter. isSelf(User currentUser, String userParam)
protected boolean
StudioAbstractAccessDecisionVoter. isSiteAdmin(String siteId, User currentUser)
protected boolean
StudioAbstractAccessDecisionVoter. isSiteMember(String siteId, User currentUser)
protected boolean
StudioAbstractAccessDecisionVoter. isSiteMember(User currentUser, String userParam)
-
Uses of User in org.craftercms.studio.impl.v2.security.userdetails
Fields in org.craftercms.studio.impl.v2.security.userdetails with type parameters of type User Modifier and Type Field Description protected com.google.common.cache.Cache<String,User>
AbstractCachedUserDetailsService. cache
Methods in org.craftercms.studio.impl.v2.security.userdetails that return User Modifier and Type Method Description protected User
AbstractCachedUserDetailsService. getUser(String username)
Constructor parameters in org.craftercms.studio.impl.v2.security.userdetails with type arguments of type User Constructor Description AbstractCachedUserDetailsService(UserDAO userDao, com.google.common.cache.Cache<String,User> cache)
DbAuthenticationUserDetailsService(UserDAO userDao, com.google.common.cache.Cache<String,User> cache)
DbUserDetailsService(UserDAO userDao, com.google.common.cache.Cache<String,User> cache)
-
Uses of User in org.craftercms.studio.impl.v2.service.security
Methods in org.craftercms.studio.impl.v2.service.security that return User Modifier and Type Method Description User
UserServiceImpl. changePassword(String username, String current, String newPassword)
User
UserServiceImpl. createUser(User user)
User
UserServiceImpl. getUserByIdOrUsername(long userId, String username)
User
UserServiceImpl. setPassword(String token, String newPassword)
Methods in org.craftercms.studio.impl.v2.service.security that return types with arguments of type User Modifier and Type Method Description List<User>
GroupServiceImpl. addGroupMembers(long groupId, List<Long> userIds, List<String> usernames)
List<User>
UserServiceImpl. enableUsers(List<Long> userIds, List<String> usernames, boolean enabled)
List<User>
UserServiceImpl. getAllUsers(String keyword, int offset, int limit, String sort)
List<User>
UserServiceImpl. getAllUsersForSite(long orgId, String siteId, String keyword, int offset, int limit, String sort)
List<User>
GroupServiceImpl. getGroupMembers(long groupId, int offset, int limit, String sort)
Methods in org.craftercms.studio.impl.v2.service.security with parameters of type User Modifier and Type Method Description User
UserServiceImpl. createUser(User user)
void
UserServiceImpl. updateUser(User user)
Method parameters in org.craftercms.studio.impl.v2.service.security with type arguments of type User Modifier and Type Method Description void
UserServiceImpl. setUserCache(com.google.common.cache.Cache<String,User> userCache)
-
Uses of User in org.craftercms.studio.impl.v2.service.security.internal
Methods in org.craftercms.studio.impl.v2.service.security.internal that return User Modifier and Type Method Description User
UserServiceInternalImpl. createUser(User user)
User
UserServiceInternalImpl. getUserByGitName(String gitName)
User
UserServiceInternalImpl. getUserByIdOrUsername(long userId, String username)
Methods in org.craftercms.studio.impl.v2.service.security.internal that return types with arguments of type User Modifier and Type Method Description List<User>
GroupServiceInternalImpl. addGroupMembers(long groupId, List<Long> userIds, List<String> usernames)
List<User>
UserServiceInternalImpl. enableUsers(List<Long> userIds, List<String> usernames, boolean enabled)
List<User>
UserServiceInternalImpl. getAllUsers(String keyword, int offset, int limit, String sort)
List<User>
UserServiceInternalImpl. getAllUsersForSite(long orgId, List<String> groupNames, String keyword, int offset, int limit, String sort)
List<User>
GroupServiceInternalImpl. getGroupMembers(long groupId, int offset, int limit, String sort)
List<User>
UserServiceInternalImpl. getUsersByIdOrUsername(List<Long> userIds, List<String> usernames)
Methods in org.craftercms.studio.impl.v2.service.security.internal with parameters of type User Modifier and Type Method Description User
UserServiceInternalImpl. createUser(User user)
void
AccessTokenServiceInternalImpl. deleteRefreshToken(User user)
protected Map<String,String>
UserServiceInternalImpl. getUserProperties(User user, long siteId)
void
UserServiceInternalImpl. updateUser(User user)
-
Uses of User in org.craftercms.studio.model
Subclasses of User in org.craftercms.studio.model Modifier and Type Class Description class
AuthenticatedUser
Represents aUser
that has been authenticated.Constructors in org.craftercms.studio.model with parameters of type User Constructor Description AuthenticatedUser(User user)
-