Class AbstractPostAuthenticationFilter

    • Constructor Detail

      • AbstractPostAuthenticationFilter

        protected AbstractPostAuthenticationFilter()
        Deprecated.
        Creates a new instance.
        Since:
        3.0
    • Method Detail

      • getResource

        @Deprecated
        public URL getResource​(String path)
                        throws MalformedURLException
        Deprecated.
        This class is deprecated and will be removed in a future release. This method has no replacement.
        Returns a URL to the resource that is mapped to a specified path. This method works just like the getResource(java.lang.String) method.
        Parameters:
        path - the path to the resource
        Returns:
        the resource located at the specified path, or null if the resource does not exist at that path
        Throws:
        MalformedURLException - if the specified path is not given in the correct form
        Since:
        3.0
      • getResourceAsStream

        @Deprecated
        public InputStream getResourceAsStream​(String path)
        Deprecated.
        This class is deprecated and will be removed in a future release. This method has no replacement.
        Returns the resource located at the named path as an InputStream object. This method works just like the ServletContext.getResourceAsStream(java.lang.String) method.
        Parameters:
        path - the path to the resource
        Returns:
        an InputStream for the resource located at the specified path, or null if the resource does not exist at that path
        Since:
        3.0
      • getWebAppPath

        @Deprecated
        public String getWebAppPath()
        Deprecated.
        This class is deprecated and will be removed in a future release. This method has no replacement.
        Returns the web application root's absolute file system path.
        Returns:
        the web application root's absolute file system path
        Since:
        3.0
      • getRealFilePath

        @Deprecated
        public static String getRealFilePath​(String file)
                                      throws IOException
        Deprecated.
        This class is deprecated and will be removed in a future release. This method has no replacement.
        Convert the specified file path to an absolute file system path. The argument may either be an absolute path, in which case its canonical path is returned, or a path relative to the web application's root directory, in which case its absolute canonical path is returned. If the specified file exists but isn't a normal file, null is returned.
        Parameters:
        file - a file path, either absolute or relative
        Returns:
        an absolute, canonical file path
        Throws:
        IOException - if the conversion of an absolute path to a canonical path fails
        Since:
        3.0
      • getConfigurationFile

        @Deprecated
        public File getConfigurationFile​(String file)
                                  throws IOException
        Deprecated.
        This class is deprecated and will be removed in a future release. This method has no replacement.
        The method creates a File object for the specified configuration file. The method returns null if the configuration file does not exist. The file parameter must either be an absolute file path or a path relative to the web application's root directory.
        Parameters:
        file - the name of the configuration file, either absolute or relative to the web application's root directory
        Returns:
        a File object if the specified file exists, or null if the specified does not exist
        Throws:
        IOException - if the conversion of an absolute path to a canonical path fails
        Since:
        3.0