public class DigestPasswordLoginModule extends AbstractKarafLoginModule
bundleContext, callbackHandler, debug, detailedLoginExcepion, options, principals, roleDiscriminator, rolePolicy, subject, user| Constructor and Description |
|---|
DigestPasswordLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort() |
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 sharedState,
Map options) |
boolean |
login() |
boolean |
logout() |
checkPassword, clear, commit, getEncryptedPassword, initializepublic void initialize(Subject sub, CallbackHandler handler, Map sharedState, Map options)
public byte[] generateDigest(byte[] inputBytes)
inputBytes - the bytes to digestpublic boolean login()
throws LoginException
LoginExceptionpublic boolean abort()
throws LoginException
LoginExceptionpublic boolean logout()
throws LoginException
LoginExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.