C D E G I N P R S

C

canDecodePassword(String) - Method in class com.atlassian.security.password.DefaultPasswordEncoder
 
canDecodePassword(String) - Method in interface com.atlassian.security.password.PasswordEncoder
Returns true if the encodedPassword is in the right format for decoding and verification by this implementation, otherwise false.
com.atlassian.security.password - package com.atlassian.security.password
 

D

DefaultPasswordEncoder - Class in com.atlassian.security.password
Converts salt and encoded password bytes into a standard base64 encoding for storage.
DefaultPasswordEncoder(String, PasswordHashGenerator, SaltGenerator) - Constructor for class com.atlassian.security.password.DefaultPasswordEncoder
Constructs a new encoder with specified identifier, hash generator and salt generator.

E

encodePassword(String) - Method in class com.atlassian.security.password.DefaultPasswordEncoder
 
encodePassword(String) - Method in interface com.atlassian.security.password.PasswordEncoder
Encodes a password and returns it as a String suitable for storage by the client.

G

generateHash(byte[], byte[]) - Method in interface com.atlassian.security.password.PasswordHashGenerator
Encodes the rawPassword bytes and salt according to their method specified by the implementation.
generateHash(byte[], byte[]) - Method in class com.atlassian.security.password.PKCS5S2PasswordHashGenerator
 
generateSalt(int) - Method in class com.atlassian.security.password.RandomSaltGenerator
 
generateSalt(int) - Method in interface com.atlassian.security.password.SaltGenerator
Returns a byte array of the required length containing a random salt value.
getDefaultInstance() - Static method in class com.atlassian.security.password.DefaultPasswordEncoder
Returns a new encoder with identifier "PKCS5S2" using PKCS5S2PasswordHashGenerator as the hash generator and RandomSaltGenerator as the salt generator.
getRequiredSaltLength() - Method in interface com.atlassian.security.password.PasswordHashGenerator
Returns the required salt length for this hash generator, zero if this generator does not require a salt or -1 if the generator accepts salts of varying length.
getRequiredSaltLength() - Method in class com.atlassian.security.password.PKCS5S2PasswordHashGenerator
 

I

isValidPassword(String, String) - Method in class com.atlassian.security.password.DefaultPasswordEncoder
 
isValidPassword(String, String) - Method in interface com.atlassian.security.password.PasswordEncoder
Returns true if the rawPassword matches the stored password hash in encodedPassword, otherwise false.

N

newInstance(String, PasswordHashGenerator) - Static method in class com.atlassian.security.password.DefaultPasswordEncoder
Returns a new encoder with specified identifier and hash generator, usingRandomSaltGenerator as the salt generator.

P

PasswordEncoder - Interface in com.atlassian.security.password
Encodes passwords for storage in an application and allows verification of raw passwords against the stored versions.
PasswordHashGenerator - Interface in com.atlassian.security.password
Used by DefaultPasswordEncoder to generate encoded password bytes.
PKCS5S2PasswordHashGenerator - Class in com.atlassian.security.password
Encodes passwords using PKCS 5 version 2, as published by RSA and implemented in BouncyCastle.
PKCS5S2PasswordHashGenerator() - Constructor for class com.atlassian.security.password.PKCS5S2PasswordHashGenerator
 

R

RandomSaltGenerator - Class in com.atlassian.security.password
Generates a salt using a static instance of Random.
RandomSaltGenerator() - Constructor for class com.atlassian.security.password.RandomSaltGenerator
 

S

SaltGenerator - Interface in com.atlassian.security.password
Used by DefaultPasswordEncoder to generate a password salt of a desired length.

C D E G I N P R S

Copyright © 2014 Atlassian. All rights reserved.