Your run-of-the-mill 'util' package for components and logic widely used across the framework that can't find their home into a proper OO hierarchy (or, most likely for things used across many hierarchies).
Interface Summary Interface Description ByteSourceA
ByteSourcewraps a byte array and provides additional encoding operations.
DestroyableShiro container-agnostic interface that indicates that this object requires a callback during destruction. Factory<T>Generics-aware interface supporting the Factory Method design pattern. InitializableShiro container-agnostic interface that indicates that this object requires initialization. NameableInterface implemented by components that can be named, such as via configuration, and wish to have that name set once it has been configured. PatternMatcherInterface for components that can match source strings against a specified pattern string. ThreadStateA
ThreadStateinstance manages any state that might need to be bound and/or restored during a thread's execution.
Class Summary Class Description AbstractFactory<T>TODO - Class JavaDoc AntPathMatcherPathMatcher implementation for Ant-style path patterns. AssertAssertion utility class that assists in validating arguments. ByteSource.UtilUtility class that can construct ByteSource instances. ClassUtilsUtility method library used to conveniently interact with
Classes, such as acquiring them from the application
ClassLoaders and instantiating Objects from them.
CollectionUtilsStatic helper class for use dealing with Collections. JavaEnvironment Deprecated.This class is no longer used in Shiro and will be removed in the next major version. JdbcUtilsA set of static helper methods for managing JDBC API objects. LifecycleUtils MapContextA
MapContextprovides a common base for context-based data storage in a
PermissionUtilsUtility class to help with String-to-Permission object resolution. RegExPatternMatcher
PatternMatcherimplementation that uses standard
SoftHashMapis a memory-constrained map that stores its values in
StringUtilsSimple utility class for String operations useful across the framework. ThreadContextA ThreadContext provides a means of binding and unbinding objects to the current thread based on key/value pairs.
Exception Summary Exception Description InstantiationExceptionRuntime exception thrown by the framework when unable to instantiate a Class via reflection. UnknownClassExceptionThe Shiro framework's
RuntimeExceptionequivalent of the JDK's
ClassNotFoundException, to maintain a RuntimeException paradigm.