/** * Check whether credential store has an entry associated with the given credential alias of specified credential type. * @param credentialAlias alias to check existence * @param credentialType to check existence in the credential store * @param <C> the class of type to which should be credential casted * @return true in case key exist in store * @throws CredentialStoreException when there is a problem with credential store * @throws UnsupportedCredentialTypeException when the credentialType is not supported */ public <C extends Credential> boolean exists(String credentialAlias, Class<C> credentialType) throws CredentialStoreException, UnsupportedCredentialTypeException { return spi.exists(credentialAlias, credentialType); }
/** * Check whether credential store has an entry associated with the given credential alias of specified credential type. * @param credentialAlias alias to check existence * @param credentialType to check existence in the credential store * @param <C> the class of type to which should be credential casted * @return true in case key exist in store * @throws CredentialStoreException when there is a problem with credential store * @throws UnsupportedCredentialTypeException when the credentialType is not supported */ public <C extends Credential> boolean exists(String credentialAlias, Class<C> credentialType) throws CredentialStoreException, UnsupportedCredentialTypeException { return spi.exists(credentialAlias, credentialType); }
/** * Check whether credential store has an entry associated with the given credential alias of specified credential type. * @param credentialAlias alias to check existence * @param credentialType to check existence in the credential store * @param <C> the class of type to which should be credential casted * @return true in case key exist in store * @throws CredentialStoreException when there is a problem with credential store * @throws UnsupportedCredentialTypeException when the credentialType is not supported */ public <C extends Credential> boolean exists(String credentialAlias, Class<C> credentialType) throws CredentialStoreException, UnsupportedCredentialTypeException { return spi.exists(credentialAlias, credentialType); }
/** * Check whether credential store has an entry associated with the given credential alias of specified credential type. * @param credentialAlias alias to check existence * @param credentialType to check existence in the credential store * @param <C> the class of type to which should be credential casted * @return true in case key exist in store * @throws CredentialStoreException when there is a problem with credential store * @throws UnsupportedCredentialTypeException when the credentialType is not supported */ public <C extends Credential> boolean exists(String credentialAlias, Class<C> credentialType) throws CredentialStoreException, UnsupportedCredentialTypeException { return spi.exists(credentialAlias, credentialType); }