Uses of Interface
io.quarkus.vertx.http.security.HttpSecurity
Packages that use HttpSecurity
-
Uses of HttpSecurity in io.quarkus.vertx.http.runtime.security
Classes in io.quarkus.vertx.http.runtime.security that implement HttpSecurityMethods in io.quarkus.vertx.http.runtime.security that return HttpSecurityModifier and TypeMethodDescriptionHttpSecurityImpl.basic()HttpSecurityImpl.mechanism(HttpAuthenticationMechanism mechanism) HttpSecurityImpl.mTLS()HttpSecurityImpl.mTLS(MtlsAuthenticationMechanism mTLSAuthenticationMechanism) HttpSecurityImpl.mTLS(io.vertx.core.http.ClientAuth tlsClientAuth) HttpSecurityImpl.mTLS(String tlsConfigurationName, io.quarkus.tls.TlsConfiguration tlsConfiguration) HttpSecurityImpl.rolesMapping(String sourceRole, String targetRole) HttpSecurityImpl.rolesMapping(String sourceRole, List<String> targetRoles) HttpSecurityImpl.rolesMapping(Map<String, List<String>> roleToRoles) -
Uses of HttpSecurity in io.quarkus.vertx.http.security
Methods in io.quarkus.vertx.http.security that return HttpSecurityModifier and TypeMethodDescriptionHttpSecurity.HttpPermission.authenticated()HTTP requests will only be accessible ifSecurityIdentityis not anonymous.HttpSecurity.basic()Registers the Basic authentication mechanism in addition to all other global authentication mechanisms.Registers the Basic authentication mechanism in addition to all other global authentication mechanisms.HttpSecurity.Authorization.deny()Access to HTTP requests will be denied.HttpSecurity.mechanism(HttpAuthenticationMechanism mechanism) Registers givenHttpAuthenticationMechanismin addition to all other global authentication mechanisms.HttpSecurity.mTLS()Registers the mutual TLS client authentication mechanism in addition to all other global authentication mechanisms.HttpSecurity.mTLS(MtlsAuthenticationMechanism mTLSAuthenticationMechanism) Registers the mutual TLS client authentication mechanism in addition to all other global authentication mechanisms.HttpSecurity.mTLS(io.vertx.core.http.ClientAuth tlsClientAuth) Registers the mutual TLS client authentication mechanism in addition to all other global authentication mechanisms.Registers the mutual TLS client authentication mechanism in addition to all other global authentication mechanisms.HttpSecurity.Authorization.permissions(String... permissionNames) HTTP requests will only be accessible ifSecurityIdentityhas all the requiredStringPermissions.HttpSecurity.Authorization.permissions(Permission... requiredPermissions) HTTP requests will only be accessible ifSecurityIdentityhas all the required permissions.HttpSecurity.Authorization.permit()Access to HTTP requests will be permitted.HttpSecurity.HttpPermission.permit()This method is a shortcut forHttpSecurity.Authorization.permit().HttpSecurity.Authorization.policy(HttpSecurityPolicy policy) HTTP requests will only be accessible if the passedHttpSecurityPolicygrants access.HttpSecurity.Authorization.policy(BiPredicate<io.quarkus.security.identity.SecurityIdentity, io.vertx.ext.web.RoutingContext> predicate) HTTP requests will only be accessible if the passed predicate returnstrue.HttpSecurity.Authorization.policy(Predicate<io.quarkus.security.identity.SecurityIdentity> predicate) HTTP requests will only be accessible if the passed predicate returnstrue.HttpSecurity.HttpPermission.policy(HttpSecurityPolicy httpSecurityPolicy) This method is a shortcut forHttpSecurity.Authorization.policy(HttpSecurityPolicy).HTTP requests will only be accessible ifSecurityIdentityhas all the required roles.HTTP requests will only be accessible ifSecurityIdentityhas all the required roles.This method is a shortcut forHttpSecurity.Authorization.roles(String...).HttpSecurity.rolesMapping(String sourceRole, String targetRole) HttpSecurity.rolesMapping(String sourceRole, List<String> targetRoles) HttpSecurity.rolesMapping(Map<String, List<String>> roleToRoles) Map the `SecurityIdentity` roles to deployment specific roles and add the matching roles to `SecurityIdentity`.