org.jboss.seam.security.management
Class PasswordHashEncoder
java.lang.Object
org.jboss.seam.security.management.PasswordHashEncoder
- All Implemented Interfaces:
- CredentialProcessor
public class PasswordHashEncoder
- extends Object
- implements CredentialProcessor
Default password encoder, creates password hashes.
- Author:
- Shane Bryzak
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasswordHashEncoder
public PasswordHashEncoder()
getPasswordHash
public String getPasswordHash()
setPasswordHash
public void setPasswordHash(String passwordHash)
getPasswordIterations
public int getPasswordIterations()
setPasswordIterations
public void setPasswordIterations(int passwordIterations)
encode
public String encode(org.picketlink.idm.api.Credential credential,
Map<String,Object> options)
- Description copied from interface:
CredentialProcessor
- Encodes the specified credential and returns a String representation of
the encoded result.
- Specified by:
encode in interface CredentialProcessor
- Parameters:
credential - The credential to encodeoptions - Encoding options
- Returns:
- The encoded credential
Copyright © 2011 Seam Framework. All Rights Reserved.