Uses of Class
com.yahoo.vespa.hosted.controller.api.role.Role
-
Packages that use Role Package Description com.yahoo.vespa.hosted.controller.api.integration.stubs No-dependency implementations of integration interfaces for setups where we want to avoid contacting certain thirds-party systems.com.yahoo.vespa.hosted.controller.api.integration.user com.yahoo.vespa.hosted.controller.api.role -
-
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 Role Modifier and Type Method Description java.util.List<Role>MockUserManagement. listRoles(UserId userId)Methods in com.yahoo.vespa.hosted.controller.api.integration.stubs with parameters of type Role Modifier and Type Method Description voidMockUserManagement. addUsers(Role role, java.util.Collection<UserId> users)voidMockUserManagement. createRole(Role role)voidMockUserManagement. deleteRole(Role role)java.util.List<User>MockUserManagement. listUsers(Role role)voidMockUserManagement. removeUsers(Role role, java.util.Collection<UserId> users)Method parameters in com.yahoo.vespa.hosted.controller.api.integration.stubs with type arguments of type Role Modifier and Type Method Description voidMockUserManagement. addToRoles(UserId user, java.util.Collection<Role> roles)voidMockUserManagement. removeFromRoles(UserId user, java.util.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 Role Modifier and Type Method Description static RoleRoles. toRole(com.yahoo.config.provision.TenantName tenant, com.yahoo.config.provision.ApplicationName application, java.lang.String roleName)Returns theRolethe given tenant and role names correspond to.static RoleRoles. toRole(com.yahoo.config.provision.TenantName tenant, java.lang.String roleName)Returns theRolethe given tenant, application and role names correspond to.static RoleRoles. toRole(java.lang.String value)Returns theRolethe given value represents.Methods in com.yahoo.vespa.hosted.controller.api.integration.user that return types with arguments of type Role Modifier and Type Method Description java.util.List<Role>UserManagement. listRoles(UserId user)Returns 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 Role Modifier and Type Method Description voidUserManagement. addUsers(Role role, java.util.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.java.util.List<User>UserManagement. listUsers(Role role)Returns all users in the given role, or throws if the role does not exist.voidUserManagement. removeUsers(Role role, java.util.Collection<UserId> users)Ensures none of the given users are part of the given role, or throws if the role does not exist.static java.lang.StringRoles. valueOf(Role role)Returns a serialised representation the given role.Method parameters in com.yahoo.vespa.hosted.controller.api.integration.user with type arguments of type Role Modifier and Type Method Description voidUserManagement. addToRoles(UserId user, java.util.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, java.util.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.role Modifier and Type Class Description classApplicationRoleclassTenantRoleclassUnboundRoleARolewith an unlimitedContext.Methods in com.yahoo.vespa.hosted.controller.api.role that return types with arguments of type Role Modifier and Type Method Description java.util.Set<Role>SecurityContext. roles()Methods in com.yahoo.vespa.hosted.controller.api.role with parameters of type Role Modifier and Type Method Description booleanEnforcer. allows(Role role, Action action, java.net.URI resource)Returns whetherrolehas permission to performactiononresource, in this enforcer's system.booleanRole. implies(Role other)Returns 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 Role Constructor Description SecurityContext(java.security.Principal principal, java.util.Set<Role> roles)
-