hunt.shiro.realm.text.IniRealm

Undocumented in source.

Members

Classes

IniRealm
class IniRealm

A {@link hunt.shiro.realm.Realm Realm} implementation that creates {@link hunt.shiro.authc.SimpleAccount SimpleAccount} instances based on {@link Ini} configuration. <p/> This implementation looks for two {@link IniSection sections} in the {@code Ini} configuration: <pre> users

# One or more {@link hunt.shiro.realm.text.TextConfigurationRealm#setUserDefinitions(string) user definitions} ... roles

# One or more {@link hunt.shiro.realm.text.TextConfigurationRealm#setRoleDefinitions(string) role definitions}</pre> <p/> This class also supports setting the {@link #setResourcePath(string) resourcePath} property to create account data from an .ini resource. This will only be used if there isn't already account data in the Realm.

Meta