Package org.apache.shiro.env
Class BasicIniEnvironment
- java.lang.Object
-
- org.apache.shiro.env.DefaultEnvironment
-
- org.apache.shiro.env.BasicIniEnvironment
-
- All Implemented Interfaces:
Environment
,NamedObjectEnvironment
,Destroyable
public class BasicIniEnvironment extends DefaultEnvironment
Basic usage:Environment env = new BasicIniEnvironment("classpath:shiro.ini"); SecurityManager securityManager = env.getSecurityManager();
- Since:
- 1.5
-
-
Field Summary
-
Fields inherited from class org.apache.shiro.env.DefaultEnvironment
DEFAULT_SECURITY_MANAGER_KEY, objects
-
-
Constructor Summary
Constructors Constructor Description BasicIniEnvironment(String iniResourcePath)
BasicIniEnvironment(Ini ini)
-
Method Summary
-
Methods inherited from class org.apache.shiro.env.DefaultEnvironment
destroy, getObject, getObjects, getSecurityManager, getSecurityManagerName, lookupSecurityManager, setObject, setSecurityManager, setSecurityManagerName
-
-
-
-
Constructor Detail
-
BasicIniEnvironment
public BasicIniEnvironment(Ini ini)
-
BasicIniEnvironment
public BasicIniEnvironment(String iniResourcePath)
-
-