public void setResourcePath(String resourcePath) {
        this.resourcePath = resourcePath;
    }
Sets the path of the properties file to load user, role, and permission information from.  The properties
file will be loaded using {@link ResourceUtils#getInputStreamForPath(String)} so any convention recognized
by that method is accepted here.  For example, to load a file from the classpath use
{@code classpath:myfile.properties}; to load a file from disk simply specify the full path; to load
a file from a URL use {@code url:www.mysite.com/myfile.properties}.

@param resourcePath the path to load the properties file from.  This is a required property.
core/src/main/java/org/apache/shiro/realm/text/PropertiesRealm.java