Class JwtSecurityContext

java.lang.Object
io.extact.rms.platform.jwt.consumer.JwtSecurityContext
All Implemented Interfaces:
jakarta.ws.rs.core.SecurityContext

public class JwtSecurityContext extends Object implements jakarta.ws.rs.core.SecurityContext
  • 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