Class IsAnonymousAuthorizer<U extends UserProfile>

    • Constructor Detail

      • IsAnonymousAuthorizer

        public IsAnonymousAuthorizer()
      • IsAnonymousAuthorizer

        public IsAnonymousAuthorizer​(String redirectionUrl)
    • Method Detail

      • isAuthorized

        public boolean isAuthorized​(WebContext context,
                                    List<U> profiles)
        Description copied from interface: Authorizer
        Checks if the user profiles and / or the current web context are authorized.
        Parameters:
        context - the web context
        profiles - the user profiles
        Returns:
        if the access is authorized
      • isProfileAuthorized

        public boolean isProfileAuthorized​(WebContext context,
                                           U profile)
        Description copied from class: ProfileAuthorizer
        Whether a specific profile is authorized.
        Specified by:
        isProfileAuthorized in class ProfileAuthorizer<U extends UserProfile>
        Parameters:
        context - the web context
        profile - the user profile
        Returns:
        whether a specific profile is authorized