Uses of Class
com.yahoo.vespa.hosted.controller.api.role.Role
Packages that use Role
Package
Description
No-dependency implementations of integration interfaces for setups where we want to avoid contacting
certain thirds-party systems.
-
Uses of Role in com.yahoo.vespa.hosted.controller.api.integration.stubs
Methods in com.yahoo.vespa.hosted.controller.api.integration.stubs that return types with arguments of type RoleMethods in com.yahoo.vespa.hosted.controller.api.integration.stubs with parameters of type RoleModifier and TypeMethodDescriptionvoidMockUserManagement.addUsers(Role role, Collection<UserId> users) voidMockUserManagement.createRole(Role role) voidMockUserManagement.deleteRole(Role role) List<com.yahoo.jdisc.http.filter.security.misc.User>voidMockUserManagement.removeUsers(Role role, Collection<UserId> users) Method parameters in com.yahoo.vespa.hosted.controller.api.integration.stubs with type arguments of type RoleModifier and TypeMethodDescriptionvoidMockUserManagement.addToRoles(UserId user, Collection<Role> roles) voidMockUserManagement.removeFromRoles(UserId user, Collection<Role> roles) -
Uses of Role in com.yahoo.vespa.hosted.controller.api.integration.user
Methods in com.yahoo.vespa.hosted.controller.api.integration.user that return RoleModifier and TypeMethodDescriptionstatic RoleRoles.toRole(com.yahoo.config.provision.TenantName tenant, com.yahoo.config.provision.ApplicationName application, String roleName) Returns theRolethe given tenant and role names correspond to.static RoleReturns theRolethe given tenant, application and role names correspond to.static RoleReturns theRolethe given value represents.Methods in com.yahoo.vespa.hosted.controller.api.integration.user that return types with arguments of type RoleModifier and TypeMethodDescriptionUserManagement.listRoles()Returns all rolesReturns all roles of which the given user is part, or throws if the user does not existMethods in com.yahoo.vespa.hosted.controller.api.integration.user with parameters of type RoleModifier and TypeMethodDescriptionvoidUserManagement.addUsers(Role role, Collection<UserId> users) Ensures the given users exist, and are part of the given role, or throws if the role does not exist.voidUserManagement.createRole(Role role) Creates the given role, or throws if the role already exists.voidUserManagement.deleteRole(Role role) Ensures the given role does not exist.List<com.yahoo.jdisc.http.filter.security.misc.User>Returns all users in the given role, or throws if the role does not exist.voidUserManagement.removeUsers(Role role, Collection<UserId> users) Ensures none of the given users are part of the given role, or throws if the role does not exist.static StringReturns a serialised representation the given role.Method parameters in com.yahoo.vespa.hosted.controller.api.integration.user with type arguments of type RoleModifier and TypeMethodDescriptionvoidUserManagement.addToRoles(UserId user, Collection<Role> roles) Ensures the given user exist, and are part of the given roles, or throws if the roles does not exist.voidUserManagement.removeFromRoles(UserId user, Collection<Role> roles) Ensures the given users are not part of the given role, or throws if the roles does not exist. -
Uses of Role in com.yahoo.vespa.hosted.controller.api.role
Subclasses of Role in com.yahoo.vespa.hosted.controller.api.roleMethods in com.yahoo.vespa.hosted.controller.api.role that return types with arguments of type RoleMethods in com.yahoo.vespa.hosted.controller.api.role with parameters of type RoleModifier and TypeMethodDescriptionbooleanReturns whetherrolehas permission to performactiononresource, in this enforcer's system.booleanReturns whether the other role is a parent of this, and has a context included in this role's context.Constructor parameters in com.yahoo.vespa.hosted.controller.api.role with type arguments of type RoleModifierConstructorDescriptionSecurityContext(Principal principal, Set<Role> roles) SecurityContext(Principal principal, Set<Role> roles, Instant issuedAt)