Class StrictTransportSecurityHeader

    • Constructor Detail

      • StrictTransportSecurityHeader

        public StrictTransportSecurityHeader()
      • StrictTransportSecurityHeader

        public StrictTransportSecurityHeader​(int maxAge)
    • Method Detail

      • isAuthorized

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

        public int getMaxAge()
      • setMaxAge

        public void setMaxAge​(int maxAge)