Uses of Class
org.apache.shiro.ShiroException
-
Packages that use ShiroException Package Description org.apache.shiro This package primarily exists as a root classpath distinction, but it does contain two core classes widely used by applications,SecurityUtils
andShiroException
.org.apache.shiro.authc Core interfaces and exceptions concerning Authentication (the act of logging-in).org.apache.shiro.authc.pam Support for PAM, or Pluggable Authentication Modules, which is the capability to authenticate a user against multiple configurable (pluggable) modules (Shiro calls theseRealm
s).org.apache.shiro.authz Core interfaces and exceptions supporting Authorization (access control).org.apache.shiro.authz.permission Support and default implementations for Shiro'sPermission
interface.org.apache.shiro.cache Caching support used to enhance performance for security operations.org.apache.shiro.cas org.apache.shiro.codec Components for encoding and decoding of data across multiple formats, especially useful in Shiro's cryptography and web functionality.org.apache.shiro.config Components that support configuring Shiro in any application.org.apache.shiro.crypto Cryptography Cipher and Hashing components that greatly simplify the JDK's cryptography concepts and add additional convenient behavior.org.apache.shiro.dao Package containing various components useful when building Data Access Objects (DAOs), including a generic Data Access Exception hierarchy.org.apache.shiro.env Concepts used to represent Shiro's aggregate state in an application.org.apache.shiro.hazelcast.cache org.apache.shiro.io Support for reading and writing (input/output) raw data from multiple resource locations.org.apache.shiro.ldap org.apache.shiro.session Components related to managing sessions, the time-based data contexts in which a Subject interacts with an application.org.apache.shiro.subject Components supporting theSubject
interface, the most important concept in Shiro's API.org.apache.shiro.subject.support Concrete support implementations of most of theorg.apache.shiro.subject
interfaces.org.apache.shiro.util 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). -
-
Uses of ShiroException in org.apache.shiro
Subclasses of ShiroException in org.apache.shiro Modifier and Type Class Description class
UnavailableSecurityManagerException
Exception thrown when attempting to acquire the application'sSecurityManager
instance, but Shiro's lookup heuristics cannot find one. -
Uses of ShiroException in org.apache.shiro.authc
Subclasses of ShiroException in org.apache.shiro.authc Modifier and Type Class Description class
AccountException
Exception thrown due to a problem with the account under which an authentication attempt is being executed.class
AuthenticationException
General exception thrown due to an error during the Authentication process.class
ConcurrentAccessException
Thrown when an authentication attempt has been received for an account that has already been authenticated (i.e. logged-in), and the system is configured to prevent such concurrent access.class
CredentialsException
Exception thrown due to a problem with the credential(s) submitted for an account during the authentication process.class
DisabledAccountException
Thrown when attempting to authenticate and the corresponding account has been disabled for some reason.class
ExcessiveAttemptsException
Thrown when a system is configured to only allow a certain number of authentication attempts over a period of time and the current session has failed to authenticate successfully within that number.class
ExpiredCredentialsException
Thrown during the authentication process when the system determines the submitted credential(s) has expired and will not allow login.class
IncorrectCredentialsException
Thrown when attempting to authenticate with credential(s) that do not match the actual credentials associated with the account principal.class
LockedAccountException
A special kind of DisabledAccountException, this exception is thrown when attempting to authenticate and the corresponding account has been disabled explicitly due to being locked.class
UnknownAccountException
Thrown when attempting to authenticate with a principal that doesn't exist in the system (e.g. -
Uses of ShiroException in org.apache.shiro.authc.pam
Subclasses of ShiroException in org.apache.shiro.authc.pam Modifier and Type Class Description class
ShortCircuitIterationException
Exception thrown during the authentication process usingFirstSuccessfulStrategy
, withstopAfterFirstSuccess
set.class
UnsupportedTokenException
Exception thrown during the authentication process when anAuthenticationToken
implementation is encountered that is not supported by one or more configuredRealm
s. -
Uses of ShiroException in org.apache.shiro.authz
Subclasses of ShiroException in org.apache.shiro.authz Modifier and Type Class Description class
AuthorizationException
Exception thrown if there is a problem during authorization (access control check).class
HostUnauthorizedException
Thrown when a particular client (that is, host address) has not been enabled to access the system or if the client has been enabled access but is not permitted to perform a particular operation or access a particular resource.class
UnauthenticatedException
Exception thrown when attempting to execute an authorization action when a successful authentication hasn't yet occurred.class
UnauthorizedException
Thrown to indicate a requested operation or access to a requested resource is not allowed. -
Uses of ShiroException in org.apache.shiro.authz.permission
Subclasses of ShiroException in org.apache.shiro.authz.permission Modifier and Type Class Description class
InvalidPermissionStringException
Thrown byPermissionResolver.resolvePermission(String)
when the String being parsed is not valid for that resolver. -
Uses of ShiroException in org.apache.shiro.cache
Subclasses of ShiroException in org.apache.shiro.cache Modifier and Type Class Description class
CacheException
Root class of all Shiro exceptions related to caching operations. -
Uses of ShiroException in org.apache.shiro.cas
Subclasses of ShiroException in org.apache.shiro.cas Modifier and Type Class Description class
CasAuthenticationException
Deprecated.replaced with Shiro integration in buji-pac4j. -
Uses of ShiroException in org.apache.shiro.codec
Subclasses of ShiroException in org.apache.shiro.codec Modifier and Type Class Description class
CodecException
Root exception related to issues during encoding or decoding. -
Uses of ShiroException in org.apache.shiro.config
Subclasses of ShiroException in org.apache.shiro.config Modifier and Type Class Description class
ConfigurationException
Root exception indicating there was a problem parsing or processing the Shiro configuration.class
UnresolveableReferenceException
Exception thrown when a reference to an object is made, but that object cannot be found. -
Uses of ShiroException in org.apache.shiro.crypto
Subclasses of ShiroException in org.apache.shiro.crypto Modifier and Type Class Description class
CryptoException
Base Shiro exception for problems encountered during cryptographic operations.class
UnknownAlgorithmException
Exception thrown when attempting to lookup or use a cryptographic algorithm that does not exist in the current JVM environment. -
Uses of ShiroException in org.apache.shiro.dao
Subclasses of ShiroException in org.apache.shiro.dao Modifier and Type Class Description class
DataAccessException
Generic exception representing a problem when attempting to access data.class
InvalidResourceUsageException
Root exception indicating invalid or incorrect usage of a data access resource. -
Uses of ShiroException in org.apache.shiro.env
Subclasses of ShiroException in org.apache.shiro.env Modifier and Type Class Description class
EnvironmentException
Exception thrown for errors related toEnvironment
instances or configuration.class
RequiredTypeException
Exception thrown when attempting to acquire an object of a required type and that object does not equal, extend, or implement a specifiedClass
. -
Uses of ShiroException in org.apache.shiro.hazelcast.cache
Methods in org.apache.shiro.hazelcast.cache that throw ShiroException Modifier and Type Method Description void
HazelcastCacheManager. init()
Initializes this instance byensuring
there is a backingHazelcastInstance
. -
Uses of ShiroException in org.apache.shiro.io
Subclasses of ShiroException in org.apache.shiro.io Modifier and Type Class Description class
SerializationException
Root exception for problems either serializing or de-serializing data. -
Uses of ShiroException in org.apache.shiro.ldap
Subclasses of ShiroException in org.apache.shiro.ldap Modifier and Type Class Description class
UnsupportedAuthenticationMechanismException
Exception thrown when a configured LDAP Authentication Mechanism is unsupported by the target LDAP server. -
Uses of ShiroException in org.apache.shiro.session
Subclasses of ShiroException in org.apache.shiro.session Modifier and Type Class Description class
ExpiredSessionException
A special case of a StoppedSessionException.class
InvalidSessionException
Exception thrown when attempting to interact with the system under an established session when that session is considered invalid.class
SessionException
General security exception attributed to problems during interaction with the system during a session.class
StoppedSessionException
Exception thrown when attempting to interact with the system under a session that has been stopped.class
UnknownSessionException
Exception thrown when attempting to interact with the system under the pretense of a particular session (e.g. under a specific session id), and that session does not exist in the system. -
Uses of ShiroException in org.apache.shiro.subject
Subclasses of ShiroException in org.apache.shiro.subject Modifier and Type Class Description class
ExecutionException
Exception wrapping any potential checked exception thrown when aSubject
executes aCallable
. -
Uses of ShiroException in org.apache.shiro.subject.support
Subclasses of ShiroException in org.apache.shiro.subject.support Modifier and Type Class Description class
DisabledSessionException
Exception thrown if attempting to create a newSubject
session
, but thatSubject
's sessions are disabled. -
Uses of ShiroException in org.apache.shiro.util
Subclasses of ShiroException in org.apache.shiro.util Modifier and Type Class Description class
InstantiationException
Runtime exception thrown by the framework when unable to instantiate a Class via reflection.class
UnknownClassException
The Shiro framework'sRuntimeException
equivalent of the JDK'sClassNotFoundException
, to maintain a RuntimeException paradigm.Methods in org.apache.shiro.util that throw ShiroException Modifier and Type Method Description void
Initializable. init()
Initializes this object.static void
LifecycleUtils. init(Object o)
static void
LifecycleUtils. init(Collection c)
Callsinit
for each object in the collection.static void
LifecycleUtils. init(Initializable initializable)
-