Interface AuthorizationService

  • 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 AuthorizationService

    A service to query for user roles.

    • Method Detail

      • getUserIdentity

        UserIdentity getUserIdentity​(javax.servlet.http.HttpServletRequest request,
                                     java.lang.String name)
        Parameters:
        request - the current HTTP request
        name - the user name
        Returns:
        a UserIdentity to query for roles of the given user