Package | Description |
---|---|
org.apache.shiro.authc.credential |
Support for validating credentials (such as passwords or X509 certificates) during
authentication via the
CredentialsMatcher
interface and its supporting implementations. |
org.apache.shiro.realm |
Components and sub-packages used in supporting the core
Realm interface. |
Modifier and Type | Class and Description |
---|---|
class |
AllowAllCredentialsMatcher
A credentials matcher that always returns
true when matching credentials no matter what arguments
are passed in. |
class |
HashedCredentialsMatcher
A
HashedCredentialMatcher provides support for hashing of supplied AuthenticationToken credentials
before being compared to those in the AuthenticationInfo from the data store. |
class |
Md2CredentialsMatcher
Deprecated.
since 1.1 - use the HashedCredentialsMatcher directly and set its
hashAlgorithmName property. |
class |
Md5CredentialsMatcher
Deprecated.
since 1.1 - use the HashedCredentialsMatcher directly and set its
hashAlgorithmName property. |
class |
PasswordMatcher
A
CredentialsMatcher that employs best-practices comparisons for hashed text passwords. |
class |
Sha1CredentialsMatcher
Deprecated.
since 1.1 - use the HashedCredentialsMatcher directly and set its
hashAlgorithmName property. |
class |
Sha256CredentialsMatcher
Deprecated.
since 1.1 - use the HashedCredentialsMatcher directly and set its
hashAlgorithmName property. |
class |
Sha384CredentialsMatcher
Deprecated.
since 1.1 - use the HashedCredentialsMatcher directly and set its
hashAlgorithmName property. |
class |
Sha512CredentialsMatcher
Deprecated.
since 1.1 - use the HashedCredentialsMatcher directly and set its
hashAlgorithmName property. |
class |
SimpleCredentialsMatcher
Simple CredentialsMatcher implementation.
|
Modifier and Type | Method and Description |
---|---|
CredentialsMatcher |
AuthenticatingRealm.getCredentialsMatcher()
Returns the
CredentialsMatcher used during an authentication attempt to verify submitted
credentials with those stored in the system. |
Modifier and Type | Method and Description |
---|---|
void |
AuthenticatingRealm.setCredentialsMatcher(CredentialsMatcher credentialsMatcher)
Sets the CrendialsMatcher used during an authentication attempt to verify submitted credentials with those
stored in the system.
|
Constructor and Description |
---|
AuthenticatingRealm(CacheManager cacheManager,
CredentialsMatcher matcher) |
AuthenticatingRealm(CredentialsMatcher matcher) |
AuthorizingRealm(CacheManager cacheManager,
CredentialsMatcher matcher) |
AuthorizingRealm(CredentialsMatcher matcher) |
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.