Class ShiroSecurityContext

    • Constructor Detail

      • ShiroSecurityContext

        public ShiroSecurityContext​(javax.ws.rs.container.ContainerRequestContext containerRequestContext)
    • Method Detail

      • getUserPrincipal

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

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

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

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