Interface IdentityCredentialPersister

    • Method Detail

      • getCredentialPersistSupport

        boolean getCredentialPersistSupport​(Class<? extends Credential> credentialType,
                                            String algorithmName,
                                            AlgorithmParameterSpec parameterSpec)
        Determine whether a given credential type can be persisted by this credential persister.
        Parameters:
        credentialType - the credential type (must not be null)
        algorithmName - the credential algorithm name, if any
        parameterSpec - the algorithm parameters to match, or null if any parameters are acceptable or the credential type does not support algorithm parameters
        Returns:
        true if persisting of given credential is supported