public class DigestPasswordLoginModule extends AbstractKarafLoginModule
bundleContext, callbackHandler, commitSucceeded, debug, detailedLoginExcepion, options, principals, roleDiscriminator, rolePolicy, subject, succeeded, user| Constructor and Description |
|---|
DigestPasswordLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
String |
doPasswordDigest(String nonce,
String created,
byte[] password) |
String |
doPasswordDigest(String nonce,
String created,
String password) |
byte[] |
generateDigest(byte[] inputBytes)
Generate a (SHA1) digest of the input bytes.
|
void |
initialize(Subject sub,
CallbackHandler handler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
abort, checkPassword, clear, commit, initialize, logoutpublic void initialize(Subject sub, CallbackHandler handler, Map<String,?> sharedState, Map<String,?> options)
public byte[] generateDigest(byte[] inputBytes)
inputBytes - the bytes to digestpublic boolean login()
throws LoginException
LoginExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.