All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.picketlink.idm.credential.spi.CredentialHandler Maven / Gradle / Ivy

The newest version!
package org.picketlink.idm.credential.spi;

import java.util.Date;

import org.picketlink.idm.credential.Credentials;
import org.picketlink.idm.model.Agent;
import org.picketlink.idm.spi.IdentityStore;

/**
 * Performs credential validation and persists credential state to an IdentityStore.
 *
 * @author Shane Bryzak
 */
public interface CredentialHandler {
    /**
     * 
     * @param credentials
     * @param store
     * @return
     */
    void validate(Credentials credentials, IdentityStore identityStore);
    /**
     * 
     * @param user
     * @param credential
     * @param store
     */
    void update(Agent agent, Object credential, IdentityStore identityStore, Date effectiveDate, Date expiryDate);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy