org.apache.jetspeed.security.spi.impl
Class DefaultPasswordCredentialProvider

java.lang.Object
  extended by org.apache.jetspeed.security.spi.impl.DefaultPasswordCredentialProvider
All Implemented Interfaces:
org.apache.jetspeed.security.spi.PasswordCredentialProvider

public class DefaultPasswordCredentialProvider
extends Object
implements org.apache.jetspeed.security.spi.PasswordCredentialProvider

DefaultPasswordCredentialProvider

Version:
$Id: DefaultPasswordCredentialProvider.java 516448 2007-03-09 16:25:47Z ate $
Author:
Ate Douma

Field Summary
private  org.apache.jetspeed.security.spi.CredentialPasswordEncoder encoder
           
private  org.apache.jetspeed.security.spi.CredentialPasswordValidator validator
           
 
Constructor Summary
DefaultPasswordCredentialProvider()
           
DefaultPasswordCredentialProvider(org.apache.jetspeed.security.spi.CredentialPasswordValidator validator, org.apache.jetspeed.security.spi.CredentialPasswordEncoder encoder)
           
 
Method Summary
 org.apache.jetspeed.security.PasswordCredential create(String userName, org.apache.jetspeed.security.om.InternalCredential credential)
           
 org.apache.jetspeed.security.PasswordCredential create(String userName, String password)
           
 org.apache.jetspeed.security.spi.CredentialPasswordEncoder getEncoder()
           
 Class getPasswordCredentialClass()
           
 org.apache.jetspeed.security.spi.CredentialPasswordValidator getValidator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validator

private org.apache.jetspeed.security.spi.CredentialPasswordValidator validator

encoder

private org.apache.jetspeed.security.spi.CredentialPasswordEncoder encoder
Constructor Detail

DefaultPasswordCredentialProvider

public DefaultPasswordCredentialProvider()

DefaultPasswordCredentialProvider

public DefaultPasswordCredentialProvider(org.apache.jetspeed.security.spi.CredentialPasswordValidator validator,
                                         org.apache.jetspeed.security.spi.CredentialPasswordEncoder encoder)
Method Detail

getPasswordCredentialClass

public Class getPasswordCredentialClass()
Specified by:
getPasswordCredentialClass in interface org.apache.jetspeed.security.spi.PasswordCredentialProvider
See Also:
PasswordCredentialProvider.getPasswordCredentialClass()

getValidator

public org.apache.jetspeed.security.spi.CredentialPasswordValidator getValidator()
Specified by:
getValidator in interface org.apache.jetspeed.security.spi.PasswordCredentialProvider
See Also:
PasswordCredentialProvider.getValidator()

getEncoder

public org.apache.jetspeed.security.spi.CredentialPasswordEncoder getEncoder()
Specified by:
getEncoder in interface org.apache.jetspeed.security.spi.PasswordCredentialProvider
See Also:
PasswordCredentialProvider.getEncoder()

create

public org.apache.jetspeed.security.PasswordCredential create(String userName,
                                                              String password)
                                                       throws org.apache.jetspeed.security.SecurityException
Specified by:
create in interface org.apache.jetspeed.security.spi.PasswordCredentialProvider
Throws:
org.apache.jetspeed.security.SecurityException
See Also:
PasswordCredentialProvider.create(java.lang.String, java.lang.String)

create

public org.apache.jetspeed.security.PasswordCredential create(String userName,
                                                              org.apache.jetspeed.security.om.InternalCredential credential)
                                                       throws org.apache.jetspeed.security.SecurityException
Specified by:
create in interface org.apache.jetspeed.security.spi.PasswordCredentialProvider
Throws:
org.apache.jetspeed.security.SecurityException
See Also:
PasswordCredentialProvider.create(java.lang.String, org.apache.jetspeed.security.om.InternalCredential)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.