Class ServletSecurityContext

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

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

    • ServletSecurityContext

      public ServletSecurityContext(jakarta.servlet.http.HttpServletRequest request)
  • 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