Interface ElytronMessages

All Superinterfaces:
BasicLogger
All Known Implementing Classes:
ElytronMessages_$logger

@MessageLogger(projectCode="ELY", length=5) @ValidIdRange(min=2009,max=2009) @ValidIdRange(min=9500,max=9528) @ValidIdRange(min=11006,max=11006) @ValidIdRange(min=20000,max=20999) public interface ElytronMessages extends BasicLogger
Log messages and exceptions for Elytron.
Author:
David M. Lloyd, Darran Lofthouse
  • Field Details

  • Method Details

    • unableToCreateKeyStore

      @Message(id=2009, value="Unable to create a new KeyStore instance") IOException unableToCreateKeyStore(@Cause Exception cause)
    • wrongTypeOfExternalStorageKey

      @Message(id=9500, value="External storage key under alias \"%s\" has to be a SecretKey") CredentialStoreException wrongTypeOfExternalStorageKey(String keyAlias)
    • cannotAcquireCredentialFromStore

      @Message(id=9504, value="Cannot acquire a credential from the credential store") CredentialStoreException cannotAcquireCredentialFromStore(@Cause Throwable cause)
    • nonModifiableCredentialStore

      @Message(id=9505, value="Cannot perform operation \'%s\': Credential store is set non modifiable") CredentialStoreException nonModifiableCredentialStore(String operation)
    • invalidProtectionParameter

      @Message(id=9507, value="Invalid protection parameter given: %s") CredentialStoreException invalidProtectionParameter(CredentialStore.ProtectionParameter protectionParameter)
    • cannotWriteCredentialToStore

      @Message(id=9508, value="Cannot write credential to store") CredentialStoreException cannotWriteCredentialToStore(@Cause Throwable cause)
    • unsupportedCredentialType

      @Message(id=9509, value="Unsupported credential type %s") UnsupportedCredentialTypeException unsupportedCredentialType(Class<?> type)
    • invalidCredentialStoreEntryType

      @Message(id=9510, value="Invalid credential store keystore entry %s: expected %s") CredentialStoreException invalidCredentialStoreEntryType(Class<? extends KeyStore.Entry> entryType, Class<? extends KeyStore.Entry> expectedType)
    • unableToReadCredentialTypeFromStore

      @Message(id=9511, value="Unable to read credential %s from store") CredentialStoreException unableToReadCredentialTypeFromStore(Class<? extends Credential> credentialType)
    • cannotRemoveCredentialFromStore

      @Message(id=9512, value="Unable to remove credential from store") CredentialStoreException cannotRemoveCredentialFromStore(@Cause Throwable cause)
    • cannotFlushCredentialStore

      @Message(id=9513, value="Unable to flush credential store to storage") CredentialStoreException cannotFlushCredentialStore(@Cause Throwable cause)
    • cannotInitializeCredentialStore

      @Message(id=9514, value="Unable to initialize credential store") CredentialStoreException cannotInitializeCredentialStore(@Cause Throwable cause)
    • logIgnoredUnrecognizedKeyStoreEntry

      @Message(id=9515, value="Ignored unrecognized key store entry \"%s\"") @LogMessage(level=DEBUG) void logIgnoredUnrecognizedKeyStoreEntry(String alias)
    • logFailedToReadKeyFromKeyStore

      @Message(id=9516, value="Failed to read a credential entry from the key store") @LogMessage(level=WARN) void logFailedToReadKeyFromKeyStore(@Cause Throwable cause)
    • protectionParameterRequired

      @Message(id=9517, value="This credential store type requires a store-wide protection parameter") CredentialStoreException protectionParameterRequired()
    • automaticStorageCreationDisabled

      @Message(id=9518, value="Automatic storage creation for the Credential Store is disabled \"%s\"") CredentialStoreException automaticStorageCreationDisabled(String location)
    • unexpectedFileVersion

      @Message(id=9519, value="Unexpected credential store external storage file version \"%s\"") IOException unexpectedFileVersion(String version)
    • unrecognizedEntryType

      @Message(id=9520, value="Unrecognized entry type \"%s\"") IOException unrecognizedEntryType(String entryType)
    • internalEncryptionProblem

      @Message(id=9521, value="Internal encryption problem while reading \"%s\"") IOException internalEncryptionProblem(@Cause Exception e, String location)
    • algorithmNotBlockBased

      @Message(id=9522, value="\"%s\" is not a block based algorithm") CredentialStoreException algorithmNotBlockBased(String algorithm)
    • algorithmNotIV

      @Message(id=9523, value="Algorithm \"%s\" does not use an initialization vector (IV)") CredentialStoreException algorithmNotIV(String algorithm)
    • readBytesMismatch

      @Message(id=9524, value="The actual number of bytes read %d is different from the expected number of bytes %d to be read") IOException readBytesMismatch(int actual, int expected)
    • locationAndExternalPathAreIdentical

      @Message(id=9525, value="location and externalPath initial attributes are the same. [location=%s, externalPath=%s]") CredentialStoreException locationAndExternalPathAreIdentical(String location, String externalPath)
    • unsupportedAttribute

      @Message(id=9526, value="Unable to initialize credential store as attribute %s is unsupported in %s") CredentialStoreException unsupportedAttribute(String attribute, List<String> validAttribute)
    • externalPathMissing

      @Message(id=9528, value="The externalPath attribute for key store type %s is missing.") CredentialStoreException externalPathMissing(String keyStoreType)
    • externalStorageKeyDoesNotExist

      @Message(id=11006, value="External storage key under alias \"%s\" does not exist") CredentialStoreException externalStorageKeyDoesNotExist(String keyAlias)
    • credentialStoreFileDoesNotExist

      @Message(id=20000, value="The credential store file %s does not exist or cannot be accessed.") CredentialStoreException credentialStoreFileDoesNotExist(String fileLocation)
    • storeNotInitialised

      @Message(id=20001, value="The credential store has not been initialised.") CredentialStoreException storeNotInitialised()
    • missingInitialisationAttribute

      @Message(id=20002, value="The required initialisation attribute \'%s\' has not been specified.") CredentialStoreException missingInitialisationAttribute(String attribute)
    • invalidCredentialStoreProperty

      @Message(id=20003, value="Invalid CredentialStore property \'%s\'.") CredentialStoreException invalidCredentialStoreProperty(String data)
    • canNotLoadSecretKey

      @Message(id=20004, value="Can not load SecretKey for \'%s\'.") CredentialStoreException canNotLoadSecretKey(String alias, @Cause Throwable cause)