Interface ElytronMessages

  • All Superinterfaces:
    org.jboss.logging.BasicLogger

    @MessageLogger(projectCode="ELY",
                   length=5)
    @ValidIdRange(min=1006,max=1082) @ValidIdRange(min=1138,max=1154) @ValidIdRange(min=11005,max=11005) @ValidIdRange(min=13000,max=13999)
    interface ElytronMessages
    extends org.jboss.logging.BasicLogger
    Log messages and exceptions for Elytron.
    Author:
    David M. Lloyd, Darran Lofthouse
    • Method Detail

      • noRealmFoundInProperties

        @Message(id=1006,
                 value="No realm name found in users property file - non-plain-text users file must contain \"#$REALM_NAME=RealmName$\" line")
        RealmUnavailableException noRealmFoundInProperties()
      • debugJAASAuthenticationFailure

        @LogMessage(level=DEBUG)
        @Message(id=1007,
                 value="JAAS authentication failed for principal %s")
        void debugJAASAuthenticationFailure​(Principal principal,
                                            @Cause
                                            Throwable cause)
      • failedToInstantiateCustomHandler

        @Message(id=1009,
                 value="Failed to instantiate custom CallbackHandler")
        RealmUnavailableException failedToInstantiateCustomHandler​(@Cause
                                                                   Throwable cause)
      • fileSystemRealmFailedToOpen

        @Message(id=1012,
                 value="Filesystem-backed realm unexpectedly failed to open path \"%s\" for identity name \"%s\"")
        RealmUnavailableException fileSystemRealmFailedToOpen​(Path path,
                                                              String finalName,
                                                              @Cause
                                                              IOException cause)
      • fileSystemRealmFailedToRead

        @Message(id=1013,
                 value="Filesystem-backed realm unexpectedly failed to read path \"%s\" for identity name \"%s\"")
        RealmUnavailableException fileSystemRealmFailedToRead​(Path path,
                                                              String finalName,
                                                              @Cause
                                                              Exception cause)
      • fileSystemRealmInvalidContent

        @Message(id=1015,
                 value="Filesystem-backed realm encountered invalid file content in path \"%s\" line %d for identity name \"%s\"")
        RealmUnavailableException fileSystemRealmInvalidContent​(Path path,
                                                                int lineNumber,
                                                                String name)
      • fileSystemRealmMissingAttribute

        @Message(id=1016,
                 value="Filesystem-backed realm encountered missing required attribute \"%s\" in path \"%s\" line %d for identity name \"%s\"")
        RealmUnavailableException fileSystemRealmMissingAttribute​(String attribute,
                                                                  Path path,
                                                                  int lineNumber,
                                                                  String name)
      • fileSystemRealmInvalidPasswordFormat

        @Message(id=1017,
                 value="Filesystem-backed realm encountered invalid password format \"%s\" in path \"%s\" line %d for identity name \"%s\"")
        RealmUnavailableException fileSystemRealmInvalidPasswordFormat​(String format,
                                                                       Path path,
                                                                       int lineNumber,
                                                                       String name)
      • fileSystemRealmInvalidPasswordAlgorithm

        @Message(id=1018,
                 value="Filesystem-backed realm encountered invalid password algorithm \"%s\" in path \"%s\" line %d for identity name \"%s\"")
        RealmUnavailableException fileSystemRealmInvalidPasswordAlgorithm​(String algorithm,
                                                                          Path path,
                                                                          int lineNumber,
                                                                          String name)
      • fileSystemUpdatedFailed

        @Message(id=1020,
                 value="Filesystem-backed realm failed to update identity \"%s\"")
        RealmUnavailableException fileSystemUpdatedFailed​(String name,
                                                          @Cause
                                                          Throwable cause)
      • fileSystemRealmNotFound

        @Message(id=1022,
                 value="Filesystem-backed realm failed to find identity \"%s\"")
        RealmUnavailableException fileSystemRealmNotFound​(String name)
      • fileSystemRealmFailedToWrite

        @Message(id=1023,
                 value="Filesystem-backed realm failed to write to file \"%s\" for identity \"%s\"")
        RealmUnavailableException fileSystemRealmFailedToWrite​(Path tempPath,
                                                               String name,
                                                               @Cause
                                                               Exception e)
      • fileSystemRealmAlreadyExists

        @Message(id=1024,
                 value="Filesystem-backed realm cannot create duplicate identity for identity \"%s\"")
        RealmUnavailableException fileSystemRealmAlreadyExists​(String name,
                                                               @Cause
                                                               Throwable e)
      • fileSystemRealmCertificateReadError

        @Message(id=1025,
                 value="Filesystem-backed realm encountered invalid certificate format \"%s\" in path \"%s\" line %d for identity name \"%s\"")
        RealmUnavailableException fileSystemRealmCertificateReadError​(String format,
                                                                      Path path,
                                                                      int lineNumber,
                                                                      String name)
      • fileSystemRealmUnsupportedKeyFormat

        @Message(id=1026,
                 value="Filesystem-backed realm encountered invalid key format \"%s\" in path \"%s\" line %d for identity name \"%s\"")
        RealmUnavailableException fileSystemRealmUnsupportedKeyFormat​(String format,
                                                                      Path path,
                                                                      int lineNumber,
                                                                      String name)
      • fileSystemRealmUnsupportedKeyAlgorithm

        @Message(id=1027,
                 value="Filesystem-backed realm encountered invalid key algorithm for format \"%s\" in path \"%s\" line %d for identity name \"%s\"")
        RealmUnavailableException fileSystemRealmUnsupportedKeyAlgorithm​(String format,
                                                                         Path path,
                                                                         int lineNumber,
                                                                         String name,
                                                                         @Cause
                                                                         Exception e)
      • fileSystemRealmInvalidOtpDefinition

        @Message(id=1081,
                 value="Filesystem-backed realm encountered invalid OTP definition in path \"%s\" line %d for identity name \"%s\"")
        RealmUnavailableException fileSystemRealmInvalidOtpDefinition​(Path path,
                                                                      int lineNumber,
                                                                      String name,
                                                                      @Cause
                                                                      Throwable cause)
      • fileSystemRealmInvalidOtpAlgorithm

        @Message(id=1082,
                 value="Filesystem-backed realm encountered invalid OTP algorithm \"%s\" in path \"%s\" line %d for identity name \"%s\"")
        RealmUnavailableException fileSystemRealmInvalidOtpAlgorithm​(String algorithm,
                                                                     Path path,
                                                                     int lineNumber,
                                                                     String name,
                                                                     @Cause
                                                                     Throwable cause)
      • decodingHashedPasswordFromPropertiesRealmFailed

        @Message(id=1138,
                 value="Decoding hashed password from users property file failed - should not be set as plain-text property file?")
        RealmUnavailableException decodingHashedPasswordFromPropertiesRealmFailed​(@Cause
                                                                                  Exception e)
      • transformedPrincipalCannotBeNull

        @Message(id=13000,
                 value="Authorization principal cannot be null after transformation")
        IllegalStateException transformedPrincipalCannotBeNull()
      • realmFailover

        @LogMessage(level=WARN)
        @Message(id=13001,
                 value="Realm is failing over.")
        void realmFailover​(@Cause
                           RealmUnavailableException rue)