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.crypto.hash |
Cryptographic Hashing components that greatly simplify one-way data hashing in an application.
|
Modifier and Type | Method and Description |
---|---|
protected HashRequest |
DefaultPasswordService.buildHashRequest(ByteSource plaintext,
Hash saved) |
protected HashRequest |
DefaultPasswordService.createHashRequest(ByteSource plaintext) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleHashRequest
Simple implementation of
HashRequest that can be used when interacting with a HashService . |
Modifier and Type | Method and Description |
---|---|
HashRequest |
HashRequest.Builder.build()
Builds a
HashRequest instance reflecting the specified configuration. |
Modifier and Type | Method and Description |
---|---|
Hash |
DefaultHashService.computeHash(HashRequest request)
Computes and responds with a hash based on the specified request.
|
Hash |
HashService.computeHash(HashRequest request)
Computes a hash based on the given request.
|
protected String |
DefaultHashService.getAlgorithmName(HashRequest request) |
protected int |
DefaultHashService.getIterations(HashRequest request) |
protected ByteSource |
DefaultHashService.getPublicSalt(HashRequest request)
Returns the public salt that should be used to compute a hash based on the specified request or
null if no public salt should be used. |
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.