Interface IAuthCredentialValidatorSPI


  • @IsSPIInterface
    public interface IAuthCredentialValidatorSPI
    This SPI needs to be implemented by all implementing application to validate the specified credentials.
    Note: each class implementing this file needs to register itself in a file called /META-INF/services/com.helger.photon.basic.auth.credentials.IAuthCredentialValidatorSPI
    Author:
    Philip Helger
    • Method Detail

      • supportsCredentials

        boolean supportsCredentials​(@Nonnull
                                    IAuthCredentials aCredentials)
        Check if this implementation supports the passed credentials.
        Parameters:
        aCredentials - The credentials to be validated. May not be null.
        Returns:
        true if this implementation supports the specified credentials.