Uses of Class
org.apache.archiva.redback.authorization.RedbackAuthorization
-
Packages that use RedbackAuthorization Package Description org.apache.archiva.redback.rest.api.services org.apache.archiva.redback.rest.api.services.v2 This is the V2 REST API of Redback.org.apache.archiva.redback.rest.services.interceptors -
-
Uses of RedbackAuthorization in org.apache.archiva.redback.rest.api.services
Methods in org.apache.archiva.redback.rest.api.services with annotations of type RedbackAuthorization Modifier and Type Method Description StringLoginService. addAuthenticationKey(String providedKey, String principal, String purpose, int expirationMinutes)Deprecated.ActionStatusLdapGroupMappingService. addLdapGroupMapping(LdapGroupMapping ldapGroupMapping)Deprecated.ActionStatusRoleManagementService. assignRole(String roleId, String principal)Deprecated.Assigns the role indicated by the roleId to the given principalActionStatusRoleManagementService. assignRoleByName(String roleName, String principal)Deprecated.Assigns the role indicated by the roleName to the given principalActionStatusRoleManagementService. assignTemplatedRole(String templateId, String resource, String principal)Deprecated.Assigns the templated role indicated by the templateId fails if the templated role has not been createdUserPasswordService. changePassword(String userName, String previousPassword, String password, String passwordConfirmation)Deprecated.used to change the password on passwordChangeRequired state.UserPasswordService. changePasswordWithKey(String password, String passwordConfirmation, String key)Deprecated.used to change the password on first user connection after registration use.BooleanUserService. createAdminUser(User user)Deprecated.will create admin user only if not exists !! if exists will return falseUserUserService. createGuestUser()Deprecated.ActionStatusRoleManagementService. createTemplatedRole(String templateId, String resource)Deprecated.BooleanUserService. createUser(User user)Deprecated.BooleanUserService. deleteUser(String username)Deprecated.List<Role>RoleManagementService. getAllRoles()Deprecated.List<ApplicationRoles>RoleManagementService. getApplicationRoles(String username)Deprecated.List<Application>RoleManagementService. getApplications(String username)Deprecated.Collection<Operation>UserService. getCurrentUserOperations()Deprecated.Collection<Permission>UserService. getCurrentUserPermissions()Deprecated.List<Role>RoleManagementService. getDetailedAllRoles()Deprecated.List<Role>RoleManagementService. getEffectivelyAssignedRoles(String username)Deprecated.UserUserService. getGuestUser()Deprecated.StringUtilServices. getI18nResources(String locale)List<LdapGroupMapping>LdapGroupMappingService. getLdapGroupMappings()Deprecated.StringListLdapGroupMappingService. getLdapGroups()Deprecated.RoleRoleManagementService. getRole(String roleName)Deprecated.UserUserService. getUser(String username)Deprecated.Collection<Operation>UserService. getUserOperations(String userName)Deprecated.Collection<Permission>UserService. getUserPermissions(String userName)Deprecated.List<User>UserService. getUsers()Deprecated.BooleanUserService. isAdminUserExists()Deprecated.UserLoginService. isLogged()Deprecated.simply check if current user has an http session opened with authz passed and return user dataBooleanUserService. lockUser(String username)Deprecated.UserLoginService. logIn(LoginRequest loginRequest)Deprecated.check username/password and create a http session.ActionStatusLoginService. logout()Deprecated.clear user http sessionBooleanUserService. passwordChangeNotRequired(String username)Deprecated.BooleanUserService. passwordChangeRequired(String username)Deprecated.BooleanLoginService. ping()Deprecated.BooleanUserService. ping()Deprecated.BooleanLoginService. pingWithAutz()Deprecated.RegistrationKeyUserService. registerUser(UserRegistrationRequest userRegistrationRequest)Deprecated.if redback is not configured for email validation is required, -1 is returned as keyintUserService. removeFromCache(String username)Deprecated.ActionStatusLdapGroupMappingService. removeLdapGroupMapping(String group)Deprecated.ActionStatusRoleManagementService. removeTemplatedRole(String templateId, String resource)Deprecated.removes a role corresponding to the role Id that was manufactured with the given resource it also removes any user assignments for that roleBooleanUserService. resetPassword(ResetPasswordRequest resetPasswordRequest)Deprecated.BooleanRoleManagementService. roleExists(String roleId)Deprecated.true of a role exists with the given roleIdBooleanRoleManagementService. templatedRoleExists(String templateId, String resource)Deprecated.true of a role exists with the given roleIdActionStatusRoleManagementService. unassignRole(String roleId, String principal)Deprecated.Unassigns the role indicated by the role id from the given principalActionStatusRoleManagementService. unassignRoleByName(String roleName, String principal)Deprecated.Unassigns the role indicated by the role name from the given principalBooleanUserService. unlockUser(String username)Deprecated.ActionStatusLdapGroupMappingService. updateLdapGroupMapping(LdapGroupMappingUpdateRequest ldapGroupMappingUpdateRequest)Deprecated.BooleanUserService. updateMe(User user)Deprecated.update only the current user and this fields: fullname, email, password.ActionStatusRoleManagementService. updateRole(String templateId, String oldResource, String newResource)Deprecated.allows for a role coming from a template to be renamed effectively swapping out the bits of it that were labeled with the oldResource with the newResource it also manages any user assignments for that roleActionStatusRoleManagementService. updateRoleDescription(String roleName, String description)Deprecated.ActionStatusRoleManagementService. updateRoleUsers(Role role)Deprecated.update users assigned to a roleBooleanUserService. updateUser(User user)Deprecated.ActionStatusRoleManagementService. updateUserRoles(User user)Deprecated.update roles assigned to a userBooleanUserService. validateUserFromKey(String key)Deprecated.validate the key and the user with forcing a password change for next login.VerificationStatusRoleManagementService. verifyTemplatedRole(String templateId, String resource)Deprecated.Check a role template is complete in the RBAC store. -
Uses of RedbackAuthorization in org.apache.archiva.redback.rest.api.services.v2
Methods in org.apache.archiva.redback.rest.api.services.v2 with annotations of type RedbackAuthorization Modifier and Type Method Description javax.ws.rs.core.ResponseGroupService. addGroupMapping(GroupMapping groupMapping, javax.ws.rs.core.UriInfo uriInfo)javax.ws.rs.core.ResponseGroupService. addRolesToGroupMapping(String groupName, String roleId)RoleInfoRoleService. assignRole(String roleId, String userId)Assigns the role indicated by the roleId to the given principalRoleInfoRoleService. assignTemplatedRole(String templateId, String resource, String userId)Assigns the templated role indicated by the templateId fails if the templated role has not been createdjavax.ws.rs.core.ResponseUserService. changePassword(PasswordChange passwordChange)javax.ws.rs.core.ResponseUserService. changePasswordUnauthenticated(String userId, PasswordChange passwordChange)javax.ws.rs.core.ResponseRoleService. checkRole(String roleId)javax.ws.rs.core.ResponseRoleService. checkTemplateRole(String templateId, String resource)voidUserService. clearRequirePasswordChangeFlag(String userId)UserInfoUserService. createAdminUser(User user)will create admin user only if not exists !! if exists will return falseRoleInfoRoleService. createTemplatedRole(String templateId, String resource)UserInfoUserService. createUser(User user)RoleInfoRoleService. deleteRoleAssignment(String roleId, String userId)Deletes the assignment of a role to a user.voidUserService. deleteUser(String userId)AvailabilityStatusUserService. getAdminStatus()org.apache.archiva.components.rest.model.PagedResult<RoleInfo>RoleService. getAllRoles(String searchTerm, Integer offset, Integer limit, List<String> orderBy, String order)UserInfoAuthenticationService. getAuthenticatedUser()Check, if the current request is authenticated and if so return the current user dataCollection<Operation>UserService. getCurrentUserOperations()Collection<Permission>UserService. getCurrentUserPermissions()List<RoleInfo>UserService. getEffectivelyAssignedRoles(String username)Returns all roles for a given user id.List<String>GroupService. getGroupMapping(String group)List<GroupMapping>GroupService. getGroupMappings()org.apache.archiva.components.rest.model.PagedResult<Group>GroupService. getGroups(String searchTerm, Integer offset, Integer limit, List<String> orderBy, String order)Collection<Permission>UserService. getGuestPermissions()UserInfoUserService. getLoggedInUser()RoleInfoRoleService. getRole(String roleId)RoleTreeUserService. getRoleTree(String username)org.apache.archiva.components.rest.model.PagedResult<UserInfo>RoleService. getRoleUsers(String roleId, String recurse, String searchTerm, Integer offset, Integer limit, List<String> orderBy, String order)This returns the list of assigned users to a given role.List<RoleTemplate>RoleService. getTemplates()org.apache.archiva.components.rest.model.PagedResult<UserInfo>RoleService. getUnassignedUsers(String roleId, String recurse, String searchTerm, Integer offset, Integer limit, List<String> orderBy, String order)UserInfoUserService. getUser(String userId)Collection<Operation>UserService. getUserOperations(String userName)Collection<Permission>UserService. getUserPermissions(String userName)org.apache.archiva.components.rest.model.PagedResult<UserInfo>UserService. getUsers(String searchTerm, Integer offset, Integer limit, List<String> orderBy, String order)voidUserService. lockUser(String userId)TokenResponseAuthenticationService. logIn(TokenRequest loginRequest)Check username/password and return a bearer token.RoleInfoRoleService. moveTemplatedRole(String templateId, String oldResource, String newResource)Moves a templated role from one resource to another resourcePingResultAuthenticationService. ping()Just a ping request / response for checking availability of the serverPingResultUserService. ping()PingResultAuthenticationService. pingWithAutz()This ping request is only successful, if the provided Bearer token is valid and authenticates a existing userRegistrationKeyUserService. registerUser(String userId, UserRegistrationRequest userRegistrationRequest)javax.ws.rs.core.ResponseUserService. removeFromCache(String userId)voidGroupService. removeGroupMapping(String group)javax.ws.rs.core.ResponseRoleService. removeTemplatedRole(String templateId, String resource)Removes a role corresponding to the role Id that was manufactured with the given resource it also removes any user assignments for that rolejavax.ws.rs.core.ResponseUserService. resetPassword(String userId)Asks for a password reset of the given User.voidUserService. setRequirePasswordChangeFlag(String userId)TokenResponseAuthenticationService. token(TokenRefreshRequest tokenRequest)Request a new token.voidUserService. unlockUser(String userId)javax.ws.rs.core.ResponseGroupService. updateGroupMapping(String groupName, List<String> roles)UserInfoUserService. updateMe(SelfUserData user)Update only the current logged in user and this fields: fullname, email, password.RoleInfoRoleService. updateRole(String roleId, Role role)Updates a role.UserInfoUserService. updateUser(String userId, User user)VerificationStatusUserService. validateUserRegistration(String userId, String key) -
Uses of RedbackAuthorization in org.apache.archiva.redback.rest.services.interceptors
Methods in org.apache.archiva.redback.rest.services.interceptors that return RedbackAuthorization Modifier and Type Method Description RedbackAuthorizationAbstractInterceptor. getRedbackAuthorization(javax.ws.rs.container.ResourceInfo resourceInfo)
-