Interface Authorizer<T>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface Authorizer<T>
    Determines whether a given data is authorized for the service registered in. ctx can be used for storing authorization information about the request for use in business logic. data is usually a HttpRequest or token extracted from it.