Interface ElytronMessages

  • All Superinterfaces:
    org.jboss.logging.BasicLogger

    @MessageLogger(projectCode="ELY",
                   length=5)
    @ValidIdRanges(@ValidIdRange(min=23000,max=23999))
    interface ElytronMessages
    extends org.jboss.logging.BasicLogger
    Log messages and exceptions for Elytron.
    Author:
    David M. Lloyd, Darran Lofthouse
    • Method Detail

      • unexpectedResponseCodeFromOidcProvider

        @Message(id=23000,
                 value="Unexpected HTTP status code in response from OIDC provider \"%d\"")
        OidcException unexpectedResponseCodeFromOidcProvider​(int responseCode)
      • noEntityInResponse

        @Message(id=23001,
                 value="No entity in response from OIDC provider")
        OidcException noEntityInResponse()
      • unexpectedErrorSendingRequestToOidcProvider

        @Message(id=23002,
                 value="Unexpected error sending request to OIDC provider")
        OidcException unexpectedErrorSendingRequestToOidcProvider​(@Cause
                                                                  Exception cause)
      • providerUrlOrAuthServerUrlNeedsToBeConfigured

        @Message(id=23003,
                 value="Either provider-url or auth-server-url needs to be configured")
        IllegalArgumentException providerUrlOrAuthServerUrlNeedsToBeConfigured()
      • loadedOpenIdProviderMetadata

        @LogMessage
        @Message(id=23004,
                 value="Loaded OpenID provider metadata from \'%s\'")
        void loadedOpenIdProviderMetadata​(String discoveryUrl)
      • unableToLoadOpenIdProviderMetadata

        @LogMessage(level=WARN)
        @Message(id=23005,
                 value="Unable to load OpenID provider metadata from %s")
        void unableToLoadOpenIdProviderMetadata​(String discoveryUrl)
      • failedToDecodeRequestUri

        @Message(id=23006,
                 value="Failed to decode request URI")
        RuntimeException failedToDecodeRequestUri​(@Cause
                                                  Exception cause)
      • failedToWriteToResponseOutputStream

        @Message(id=23007,
                 value="Failed to write to response output stream")
        RuntimeException failedToWriteToResponseOutputStream​(@Cause
                                                             Exception cause)
      • oidcConfigFileNotFound

        @Message(id=23009,
                 value="OIDC client configuration file not found")
        RuntimeException oidcConfigFileNotFound​(@Cause
                                                Exception cause)
      • failedToInvokeRemoteLogout

        @LogMessage(level=ERROR)
        @Message(id=23010,
                 value="Failed to invoke remote logout")
        void failedToInvokeRemoteLogout​(@Cause
                                        Throwable cause)
      • refreshTokenFailure

        @LogMessage(level=ERROR)
        @Message(id=23011,
                 value="Refresh token failure")
        void refreshTokenFailure​(@Cause
                                 Throwable cause)
      • refreshTokenFailureStatus

        @LogMessage(level=ERROR)
        @Message(id=23012,
                 value="Refresh token failure status: %d %s")
        void refreshTokenFailureStatus​(int status,
                                       String error)
      • failedVerificationOfToken

        @LogMessage(level=ERROR)
        @Message(id=23013,
                 value="Failed verification of token: %s")
        void failedVerificationOfToken​(String error)
      • failedToRefreshTokenWithALongerTTLThanMin

        @LogMessage(level=ERROR)
        @Message(id=23014,
                 value="Failed to refresh the token with a longer time-to-live than the minimum")
        void failedToRefreshTokenWithALongerTTLThanMin()
      • noExpectedIssuerGiven

        @Message(id=23015,
                 value="No expected issuer given")
        IllegalArgumentException noExpectedIssuerGiven()
      • noExpectedJwsAlgorithmGiven

        @Message(id=23017,
                 value="No expected JWS algorithm given")
        IllegalArgumentException noExpectedJwsAlgorithmGiven()
      • noJwksPublicKeyOrClientSecretKeyGiven

        @Message(id=23018,
                 value="No JWKS public key or client secret key given")
        IllegalArgumentException noJwksPublicKeyOrClientSecretKeyGiven()
      • invalidIDToken

        @Message(id=23019,
                 value="Invalid ID token")
        OidcException invalidIDToken​(@Cause
                                     Throwable cause)
      • unexpectedValueForIssuedForClaim

        @Message(id=0,
                 value="Unexpected value for azp (issued for) claim")
        String unexpectedValueForIssuedForClaim()
      • invalidTokenClaimValue

        @Message(id=23020,
                 value="Invalid token claim value")
        IllegalArgumentException invalidTokenClaimValue()
      • invalidIDTokenClaims

        @Message(id=23021,
                 value="Invalid ID token claims")
        OidcException invalidIDTokenClaims()
      • keycloakRealmMissing

        @Message(id=23022,
                 value="Must set \'realm\' in config")
        RuntimeException keycloakRealmMissing()
      • resourceOrClientIdMustBeSet

        @Message(id=23023,
                 value="Must set \'resource\' or \'client-id\'")
        RuntimeException resourceOrClientIdMustBeSet()
      • invalidConfigurationForBearerAuth

        @Message(id=23024,
                 value="For bearer auth, you must set the \'realm-public-key\' or one of \'auth-server-url\' and \'provider-url\'")
        IllegalArgumentException invalidConfigurationForBearerAuth()
      • authServerUrlOrProviderUrlMustBeSet

        @Message(id=23025,
                 value="Must set \'auth-server-url\' or \'provider-url\'")
        RuntimeException authServerUrlOrProviderUrlMustBeSet()
      • noClientSecretConfigured

        @LogMessage(level=WARN)
        @Message(id=23026,
                 value="Client \'%s\' does not have a secret configured")
        void noClientSecretConfigured​(String clientId)
      • unsupportedPublicKey

        @Message(id=23027,
                 value="Unsupported public key")
        IllegalArgumentException unsupportedPublicKey()
      • unableToCreateSignedToken

        @Message(id=23028,
                 value="Unable to create signed token")
        IllegalArgumentException unableToCreateSignedToken()
      • invalidJwtClientCredentialsConfig

        @Message(id=23029,
                 value="Configuration of jwt credentials is missing or incorrect for client \'%s\'")
        RuntimeException invalidJwtClientCredentialsConfig​(String clientId)
      • missingParameterInJwtClientCredentialsConfig

        @Message(id=23030,
                 value="Missing parameter \'%s\' in jwt credentials for client %s")
        RuntimeException missingParameterInJwtClientCredentialsConfig​(String parameter,
                                                                      String clientId)
      • unableToParseKeyWithValue

        @Message(id=23031,
                 value="Unable to parse key \'%s\' with value \'%s\'")
        IllegalArgumentException unableToParseKeyWithValue​(String key,
                                                           Object value)
      • unableToLoadKeyWithAlias

        @Message(id=23032,
                 value="Unable to load key with alias \'%s\' from keystore")
        RuntimeException unableToLoadKeyWithAlias​(String alias)
      • unableToLoadPrivateKey

        @Message(id=23033,
                 value="Unable to load private key from keystore")
        RuntimeException unableToLoadPrivateKey​(@Cause
                                                Throwable cause)
      • unableToFindKeystoreFile

        @Message(id=23034,
                 value="Unable to find keystore file \'%s\'")
        RuntimeException unableToFindKeystoreFile​(String keystoreFile)
      • invalidJwtClientCredentialsUsingSecretConfig

        @Message(id=23035,
                 value="Configuration of secret jwt client credentials is missing or incorrect for client \'%s\'")
        RuntimeException invalidJwtClientCredentialsUsingSecretConfig​(String clientId)
      • invalidAlgorithmInJwtClientCredentialsConfig

        @Message(id=23036,
                 value="Invalid value for \'algorithm\' in secret jwt client credentials configuration for client \'%s\'")
        RuntimeException invalidAlgorithmInJwtClientCredentialsConfig​(String clientId)
      • unableToDetermineClientCredentialsProviderType

        @Message(id=23037,
                 value="Unable to determine client credentials provider type for client \'%s\'")
        RuntimeException unableToDetermineClientCredentialsProviderType​(String clientId)
      • unableToFindClientCredentialsProvider

        @Message(id=23038,
                 value="Unable to find client credentials provider \'%s\'")
        RuntimeException unableToFindClientCredentialsProvider​(String provider)
      • unableToLoadKeyStore

        @Message(id=23039,
                 value="Unable to load keystore")
        RuntimeException unableToLoadKeyStore​(@Cause
                                              Throwable cause)
      • unableToLoadTrustStore

        @Message(id=23040,
                 value="Unable to load truststore")
        RuntimeException unableToLoadTrustStore​(@Cause
                                                Throwable cause)
      • unableToFindTrustStoreFile

        @Message(id=23041,
                 value="Unable to find truststore file \'%s\'")
        RuntimeException unableToFindTrustStoreFile​(String trustStoreFile)
      • unexpectedValueForAtHashClaim

        @Message(id=23042,
                 value="Unexpected value for at_hash claim")
        String unexpectedValueForAtHashClaim()
      • failedToParseTokenFromCookie

        @LogMessage(level=WARN)
        @Message(id=23044,
                 value="Failed to parse token from cookie")
        void failedToParseTokenFromCookie​(@Cause
                                          Throwable cause)
      • unableToCreateRedirectResponse

        @Message(id=23045,
                 value="Unable to create redirect response")
        IllegalArgumentException unableToCreateRedirectResponse​(@Cause
                                                                Throwable cause)
      • unableToSetAuthServerUrl

        @Message(id=23046,
                 value="Unable to set auth server URL")
        RuntimeException unableToSetAuthServerUrl​(@Cause
                                                  Throwable cause)
      • unableToResolveARelativeUrl

        @Message(id=23047,
                 value="Unable resolve a relative URL")
        RuntimeException unableToResolveARelativeUrl()
      • invalidAuthServerUrlOrProviderUrl

        @LogMessage(level=WARN)
        @Message(id=23049,
                 value="Invalid \'auth-server-url\' or \'provider-url\': \'%s\'")
        void invalidAuthServerUrlOrProviderUrl​(String url)
      • invalidBearerTokenClaims

        @Message(id=23050,
                 value="Invalid bearer token claims")
        OidcException invalidBearerTokenClaims()
      • invalidBearerToken

        @Message(id=23051,
                 value="Invalid bearer token")
        OidcException invalidBearerToken​(@Cause
                                         Throwable cause)
      • noTrustedCertificatesInToken

        @LogMessage(level=WARN)
        @Message(id=23052,
                 value="No trusted certificates in token")
        void noTrustedCertificatesInToken()
      • noPeerCertificatesEstablishedOnConnection

        @LogMessage(level=WARN)
        @Message(id=23053,
                 value="No peer certificates established on the connection")
        void noPeerCertificatesEstablishedOnConnection()
      • unexpectedValueForTypeClaim

        @Message(id=23054,
                 value="Unexpected value for typ claim")
        String unexpectedValueForTypeClaim()
      • unableToObtainToken

        @Message(id=23055,
                 value="Unable to obtain token: %d")
        IOException unableToObtainToken​(int status)
      • noMessageEntity

        @Message(id=23056,
                 value="No message entity")
        IOException noMessageEntity()