bucket.user.providers
Class ChainedCredentialsProvider

java.lang.Object
  extended by bucket.user.providers.ChainedUserProvider
      extended by bucket.user.providers.ChainedCredentialsProvider
All Implemented Interfaces:
com.opensymphony.user.provider.CredentialsProvider, com.opensymphony.user.provider.UserProvider, Serializable
Direct Known Subclasses:
CachingCredentialsProvider

public class ChainedCredentialsProvider
extends ChainedUserProvider
implements com.opensymphony.user.provider.CredentialsProvider

See Also:
Serialized Form

Constructor Summary
ChainedCredentialsProvider()
           
 
Method Summary
 boolean authenticate(String s, String s1)
           
 boolean changePassword(String s, String s1)
           
protected  com.opensymphony.user.provider.CredentialsProvider getNextCredentialsProvider()
           
protected  Class getProviderClass()
          Get the exact kind of provider we are chaining.
 
Methods inherited from class bucket.user.providers.ChainedUserProvider
create, flushCaches, getNextProvider, handles, init, list, load, remove, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.opensymphony.user.provider.UserProvider
create, flushCaches, handles, init, list, load, remove, store
 

Constructor Detail

ChainedCredentialsProvider

public ChainedCredentialsProvider()
Method Detail

getProviderClass

protected Class getProviderClass()
Description copied from class: ChainedUserProvider
Get the exact kind of provider we are chaining. Concrete subclasses should return the class we are enforcing providers to be a type of: i.e. AccessProvider, CredentialsProvider or ProfileProvider. If this provider class isn't a sub-type of UserProvider, things will fall over in a painful fashion.

Specified by:
getProviderClass in class ChainedUserProvider

getNextCredentialsProvider

protected com.opensymphony.user.provider.CredentialsProvider getNextCredentialsProvider()

authenticate

public boolean authenticate(String s,
                            String s1)
Specified by:
authenticate in interface com.opensymphony.user.provider.CredentialsProvider

changePassword

public boolean changePassword(String s,
                              String s1)
Specified by:
changePassword in interface com.opensymphony.user.provider.CredentialsProvider


Copyright © 2003–2015 Atlassian. All rights reserved.