
org.sklsft.commons.rest.security.credentials.SecurityCredentialsRetriever Maven / Gradle / Ivy
package org.sklsft.commons.rest.security.credentials;
import org.sklsft.commons.rest.security.credentials.impl.FromCryptedTokenCredentialsRetriever;
/**
* Provides Credentials from the Token
* Several implementations are possible :
* We can decode then validate the credentials : {@link FromCryptedTokenCredentialsRetriever}
* We can link the token to credentials with an access to a licences repository
*
* @author Nicolas Thibault, Abdessalam El Jai, Alexandre Rupp
*
* @param : The Credentials type
*/
public interface SecurityCredentialsRetriever {
T retrieveCredentials(String token);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy