org.picketlink.idm.credential.spi.CredentialHandlerFactory Maven / Gradle / Ivy
The newest version!
package org.picketlink.idm.credential.spi;
import org.picketlink.idm.credential.Credentials;
import org.picketlink.idm.spi.IdentityStore;
/**
* This factory is responsible for returning CredentialHandler instances for
* a given LoginCredentials class and IdentityStore class
*
* @author Shane Bryzak
*/
public interface CredentialHandlerFactory {
CredentialHandler getCredentialValidator(Class extends Credentials> credentialsClass, Class extends IdentityStore> identityStore);
CredentialHandler getCredentialUpdater(Class> credentialClass, Class extends IdentityStore> identityStore);
}