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 String
LoginService. addAuthenticationKey(String providedKey, String principal, String purpose, int expirationMinutes)
Deprecated.ActionStatus
LdapGroupMappingService. addLdapGroupMapping(LdapGroupMapping ldapGroupMapping)
Deprecated.ActionStatus
RoleManagementService. assignRole(String roleId, String principal)
Deprecated.Assigns the role indicated by the roleId to the given principalActionStatus
RoleManagementService. assignRoleByName(String roleName, String principal)
Deprecated.Assigns the role indicated by the roleName to the given principalActionStatus
RoleManagementService. assignTemplatedRole(String templateId, String resource, String principal)
Deprecated.Assigns the templated role indicated by the templateId fails if the templated role has not been createdUser
PasswordService. changePassword(String userName, String previousPassword, String password, String passwordConfirmation)
Deprecated.used to change the password on passwordChangeRequired state.User
PasswordService. changePasswordWithKey(String password, String passwordConfirmation, String key)
Deprecated.used to change the password on first user connection after registration use.Boolean
UserService. createAdminUser(User user)
Deprecated.will create admin user only if not exists !! if exists will return falseUser
UserService. createGuestUser()
Deprecated.ActionStatus
RoleManagementService. createTemplatedRole(String templateId, String resource)
Deprecated.Boolean
UserService. createUser(User user)
Deprecated.Boolean
UserService. 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.User
UserService. getGuestUser()
Deprecated.String
UtilServices. getI18nResources(String locale)
List<LdapGroupMapping>
LdapGroupMappingService. getLdapGroupMappings()
Deprecated.StringList
LdapGroupMappingService. getLdapGroups()
Deprecated.Role
RoleManagementService. getRole(String roleName)
Deprecated.User
UserService. getUser(String username)
Deprecated.Collection<Operation>
UserService. getUserOperations(String userName)
Deprecated.Collection<Permission>
UserService. getUserPermissions(String userName)
Deprecated.List<User>
UserService. getUsers()
Deprecated.Boolean
UserService. isAdminUserExists()
Deprecated.User
LoginService. isLogged()
Deprecated.simply check if current user has an http session opened with authz passed and return user dataBoolean
UserService. lockUser(String username)
Deprecated.User
LoginService. logIn(LoginRequest loginRequest)
Deprecated.check username/password and create a http session.ActionStatus
LoginService. logout()
Deprecated.clear user http sessionBoolean
UserService. passwordChangeNotRequired(String username)
Deprecated.Boolean
UserService. passwordChangeRequired(String username)
Deprecated.Boolean
LoginService. ping()
Deprecated.Boolean
UserService. ping()
Deprecated.Boolean
LoginService. pingWithAutz()
Deprecated.RegistrationKey
UserService. registerUser(UserRegistrationRequest userRegistrationRequest)
Deprecated.if redback is not configured for email validation is required, -1 is returned as keyint
UserService. removeFromCache(String username)
Deprecated.ActionStatus
LdapGroupMappingService. removeLdapGroupMapping(String group)
Deprecated.ActionStatus
RoleManagementService. 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 roleBoolean
UserService. resetPassword(ResetPasswordRequest resetPasswordRequest)
Deprecated.Boolean
RoleManagementService. roleExists(String roleId)
Deprecated.true of a role exists with the given roleIdBoolean
RoleManagementService. templatedRoleExists(String templateId, String resource)
Deprecated.true of a role exists with the given roleIdActionStatus
RoleManagementService. unassignRole(String roleId, String principal)
Deprecated.Unassigns the role indicated by the role id from the given principalActionStatus
RoleManagementService. unassignRoleByName(String roleName, String principal)
Deprecated.Unassigns the role indicated by the role name from the given principalBoolean
UserService. unlockUser(String username)
Deprecated.ActionStatus
LdapGroupMappingService. updateLdapGroupMapping(LdapGroupMappingUpdateRequest ldapGroupMappingUpdateRequest)
Deprecated.Boolean
UserService. updateMe(User user)
Deprecated.update only the current user and this fields: fullname, email, password.ActionStatus
RoleManagementService. 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 roleActionStatus
RoleManagementService. updateRoleDescription(String roleName, String description)
Deprecated.ActionStatus
RoleManagementService. updateRoleUsers(Role role)
Deprecated.update users assigned to a roleBoolean
UserService. updateUser(User user)
Deprecated.ActionStatus
RoleManagementService. updateUserRoles(User user)
Deprecated.update roles assigned to a userBoolean
UserService. validateUserFromKey(String key)
Deprecated.validate the key and the user with forcing a password change for next login.VerificationStatus
RoleManagementService. 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.Response
GroupService. addGroupMapping(GroupMapping groupMapping, javax.ws.rs.core.UriInfo uriInfo)
javax.ws.rs.core.Response
GroupService. addRolesToGroupMapping(String groupName, String roleId)
RoleInfo
RoleService. assignRole(String roleId, String userId)
Assigns the role indicated by the roleId to the given principalRoleInfo
RoleService. 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.Response
UserService. changePassword(PasswordChange passwordChange)
javax.ws.rs.core.Response
UserService. changePasswordUnauthenticated(String userId, PasswordChange passwordChange)
javax.ws.rs.core.Response
RoleService. checkRole(String roleId)
javax.ws.rs.core.Response
RoleService. checkTemplateRole(String templateId, String resource)
void
UserService. clearRequirePasswordChangeFlag(String userId)
UserInfo
UserService. createAdminUser(User user)
will create admin user only if not exists !! if exists will return falseRoleInfo
RoleService. createTemplatedRole(String templateId, String resource)
UserInfo
UserService. createUser(User user)
RoleInfo
RoleService. deleteRoleAssignment(String roleId, String userId)
Deletes the assignment of a role to a user.void
UserService. deleteUser(String userId)
AvailabilityStatus
UserService. getAdminStatus()
org.apache.archiva.components.rest.model.PagedResult<RoleInfo>
RoleService. getAllRoles(String searchTerm, Integer offset, Integer limit, List<String> orderBy, String order)
UserInfo
AuthenticationService. 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()
UserInfo
UserService. getLoggedInUser()
RoleInfo
RoleService. getRole(String roleId)
RoleTree
UserService. 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)
UserInfo
UserService. 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)
void
UserService. lockUser(String userId)
TokenResponse
AuthenticationService. logIn(TokenRequest loginRequest)
Check username/password and return a bearer token.RoleInfo
RoleService. moveTemplatedRole(String templateId, String oldResource, String newResource)
Moves a templated role from one resource to another resourcePingResult
AuthenticationService. ping()
Just a ping request / response for checking availability of the serverPingResult
UserService. ping()
PingResult
AuthenticationService. pingWithAutz()
This ping request is only successful, if the provided Bearer token is valid and authenticates a existing userRegistrationKey
UserService. registerUser(String userId, UserRegistrationRequest userRegistrationRequest)
javax.ws.rs.core.Response
UserService. removeFromCache(String userId)
void
GroupService. removeGroupMapping(String group)
javax.ws.rs.core.Response
RoleService. 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.Response
UserService. resetPassword(String userId)
Asks for a password reset of the given User.void
UserService. setRequirePasswordChangeFlag(String userId)
TokenResponse
AuthenticationService. token(TokenRefreshRequest tokenRequest)
Request a new token.void
UserService. unlockUser(String userId)
javax.ws.rs.core.Response
GroupService. updateGroupMapping(String groupName, List<String> roles)
UserInfo
UserService. updateMe(SelfUserData user)
Update only the current logged in user and this fields: fullname, email, password.RoleInfo
RoleService. updateRole(String roleId, Role role)
Updates a role.UserInfo
UserService. updateUser(String userId, User user)
VerificationStatus
UserService. 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 RedbackAuthorization
AbstractInterceptor. getRedbackAuthorization(javax.ws.rs.container.ResourceInfo resourceInfo)
-