Class NettySecurityContext

java.lang.Object
org.jboss.resteasy.plugins.server.netty.NettySecurityContext
All Implemented Interfaces:
jakarta.ws.rs.core.SecurityContext

public class NettySecurityContext extends Object implements jakarta.ws.rs.core.SecurityContext
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • principal

      protected final Principal principal
    • domain

      protected final SecurityDomain domain
    • authScheme

      protected final String authScheme
    • isSecure

      protected final boolean isSecure
  • Constructor Details

    • NettySecurityContext

      public NettySecurityContext(Principal principal, SecurityDomain domain, String authScheme, boolean secure)
    • NettySecurityContext

      public NettySecurityContext()
  • Method Details

    • getUserPrincipal

      public Principal getUserPrincipal()
      Specified by:
      getUserPrincipal in interface jakarta.ws.rs.core.SecurityContext
    • isUserInRole

      public boolean isUserInRole(String role)
      Specified by:
      isUserInRole in interface jakarta.ws.rs.core.SecurityContext
    • isSecure

      public boolean isSecure()
      Specified by:
      isSecure in interface jakarta.ws.rs.core.SecurityContext
    • getAuthenticationScheme

      public String getAuthenticationScheme()
      Specified by:
      getAuthenticationScheme in interface jakarta.ws.rs.core.SecurityContext