feide-saml2-identity/src/main/java/no/kantega/security/api/impl/identity/AbstractFeideConfigurable.java
/**
     * If the path starts with /WEB-INF/ it is asumed that the file is in the context and
     * the real context path is returned.
     * @param path Path of the file - can not be null.
     * @return Return File path string
     */
If the path starts with /WEB-INF/ it is asumed that the file is in the context and
the real context path is returned.
@param path Path of the file - can not be null.
@return Return File path string
If the path starts with / WEB - INF / it is asumed that the file is in the context and the real context path is returned . @param path Path of the file - can not be null . @return Return File path string
private String checkContextPath(String path, ServletContext servletContext){
        if (path.startsWith("/WEB-INF/")){
            path = servletContext.getRealPath(path);
        }
        return path;
    }
private String checkContextPath ( String path , ServletContext servletContext ) { if ( path . startsWith ( "/WEB-INF/" ) ) { path = servletContext . getRealPath ( path ) ; } return path ; }
If the path starts with /WEB-INF/ it is asumed that the file is in the context and
 the real context path is returned.
If the path starts with / WEB - INF / it is asumed that the file is in the context and the real context path is returned .