Class AuthorizationService

    • Constructor Detail

      • AuthorizationService

        public AuthorizationService()
    • Method Detail

      • getErrorResponse

        protected jakarta.ws.rs.core.Response getErrorResponse​(jakarta.ws.rs.core.Response.Status status,
                                                               String detail)
      • getRequestedScopes

        public List<String> getRequestedScopes​(jakarta.ws.rs.container.ResourceInfo resourceInfo)
      • validateScope

        public boolean validateScope​(List<String> authScopes,
                                     List<String> resourceScopes)
      • getApiApprovedIssuer

        public List<String> getApiApprovedIssuer()
      • isConfigOauthEnabled

        public boolean isConfigOauthEnabled()
      • getAuthSpecificScopeRequired

        public List<String> getAuthSpecificScopeRequired​(jakarta.ws.rs.container.ResourceInfo resourceInfo)