Class EfspSecurityContext

java.lang.Object
edu.suffolk.litlab.efsp.server.utils.EfspSecurityContext
All Implemented Interfaces:
jakarta.ws.rs.core.SecurityContext

public class EfspSecurityContext extends Object implements jakarta.ws.rs.core.SecurityContext
  • Constructor Details

  • Method Details

    • getUserPrincipal

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

      public Optional<TylerUserFromServer> getTylerUser()
    • getServerId

      public UUID getServerId()
    • getServerName

      public String getServerName()
    • 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