Interface ElytronMessages

  • All Superinterfaces:
    org.jboss.logging.BasicLogger

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

      • builderAlreadyBuilt

        @Message(id=3,
                 value="This builder has already been built")
        IllegalStateException builderAlreadyBuilt()
      • credentialDestroyingFailed

        @LogMessage(level=WARN)
        @Message(id=7,
                 value="Credential destroying failed")
        void credentialDestroyingFailed​(@Cause
                                        Throwable cause)
      • couldNotObtainCredential

        @Message(id=1041,
                 value="Could not obtain credential")
        RuntimeException couldNotObtainCredential()
      • couldNotObtainCredentialWithCause

        @Message(id=1042,
                 value="Could not obtain credential")
        RuntimeException couldNotObtainCredentialWithCause​(@Cause
                                                           Throwable cause)
      • insufficientDataToFormDigestAndSalt

        @Message(id=1053,
                 value="Insufficient data to form a digest and a salt")
        InvalidKeySpecException insufficientDataToFormDigestAndSalt()
      • noDirContextSupplierSet

        @Message(id=1057,
                 value="No DirContext supplier set")
        IllegalStateException noDirContextSupplierSet()
      • noPrincipalMappingDefinition

        @Message(id=1058,
                 value="No principal mapping definition")
        IllegalStateException noPrincipalMappingDefinition()
      • couldNotObtainPrincipal

        @Message(id=1060,
                 value="Could not obtain principal")
        RuntimeException couldNotObtainPrincipal()
      • noProviderUrlSet

        @Message(id=1062,
                 value="No provider URL has been set")
        IllegalStateException noProviderUrlSet()
      • ldapRealmFailedObtainAttributes

        @Message(id=1079,
                 value="Ldap-backed realm failed to obtain attributes for entry [%s]")
        RuntimeException ldapRealmFailedObtainAttributes​(String dn,
                                                         @Cause
                                                         Throwable cause)
      • ldapRealmInvalidRdnForAttribute

        @Message(id=1080,
                 value="Attribute [%s] value [%s] must be in X.500 format in order to obtain RDN [%s].")
        RuntimeException ldapRealmInvalidRdnForAttribute​(String attributeName,
                                                         String value,
                                                         String rdn,
                                                         @Cause
                                                         Throwable cause)
      • ldapRealmIdentityNotExists

        @Message(id=1083,
                 value="Ldap-backed realm cannot to obtain not existing identity \"%s\"")
        RealmUnavailableException ldapRealmIdentityNotExists​(String identity)
      • ldapRealmErrorWhileConsumingResultsFromSearch

        @Message(id=1084,
                 value="Error while consuming results from search. SearchDn [%s], Filter [%s], Filter Args [%s].")
        RuntimeException ldapRealmErrorWhileConsumingResultsFromSearch​(String searchDn,
                                                                       String filter,
                                                                       String filterArgs,
                                                                       @Cause
                                                                       Throwable cause)
      • ldapRealmsPersisterNotSupported

        @Message(id=1085,
                 value="LDAP realm persister does not support given credential type")
        RealmUnavailableException ldapRealmsPersisterNotSupported()
      • ldapRealmCredentialPersistingFailed

        @Message(id=1086,
                 value="Persisting credential %s into Ldap-backed realm failed. Identity dn: \"%s\"")
        RealmUnavailableException ldapRealmCredentialPersistingFailed​(String credential,
                                                                      String dn,
                                                                      @Cause
                                                                      Throwable cause)
      • ldapRealmCredentialClearingFailed

        @Message(id=1087,
                 value="Clearing credentials from Ldap-backed realm failed. Identity dn: \"%s\"")
        RealmUnavailableException ldapRealmCredentialClearingFailed​(String dn,
                                                                    @Cause
                                                                    Throwable cause)
      • unknownLdapPasswordScheme

        @Message(id=1090,
                 value="Unknown LDAP password scheme")
        InvalidKeySpecException unknownLdapPasswordScheme()
      • ldapRealmFailedDeleteIdentityFromServer

        @Message(id=1097,
                 value="Ldap-backed realm failed to delete identity from server")
        RealmUnavailableException ldapRealmFailedDeleteIdentityFromServer​(@Cause
                                                                          Throwable cause)
      • ldapRealmFailedCreateIdentityOnServer

        @Message(id=1098,
                 value="Ldap-backed realm failed to create identity on server")
        RealmUnavailableException ldapRealmFailedCreateIdentityOnServer​(@Cause
                                                                        Throwable cause)
      • ldapRealmNotConfiguredToSupportCreatingIdentities

        @Message(id=1099,
                 value="Ldap-backed realm is not configured to allow create new identities (new identity parent and attributes has to be set)")
        RealmUnavailableException ldapRealmNotConfiguredToSupportCreatingIdentities()
      • ldapRealmCannotSetAttributeWithoutMapping

        @Message(id=1100,
                 value="Ldap-backed realm does not contain mapping to set Elytron attribute \"%s\" of identity \"%s\"")
        RealmUnavailableException ldapRealmCannotSetAttributeWithoutMapping​(String attribute,
                                                                            String identity)
      • ldapRealmDoesNotSupportSettingFilteredAttribute

        @LogMessage(level=WARN)
        @Message(id=1101,
                 value="Ldap-backed realm does not support setting of filtered attribute \"%s\" (identity \"%s\")")
        void ldapRealmDoesNotSupportSettingFilteredAttribute​(String attribute,
                                                             String identity)
      • ldapRealmRequiresExactlyOneRdnAttribute

        @Message(id=1102,
                 value="Ldap-backed realm requires exactly one value of attribute \"%s\" mapped to RDN (identity \"%s\")")
        RealmUnavailableException ldapRealmRequiresExactlyOneRdnAttribute​(String attribute,
                                                                          String identity)
      • ldapRealmAttributesSettingFailed

        @Message(id=1103,
                 value="Ldap-backed realm failed to set attributes of identity \"%s\"")
        RealmUnavailableException ldapRealmAttributesSettingFailed​(String identity,
                                                                   @Cause
                                                                   Throwable cause)
      • ldapRealmIdentitySearchFailed

        @Message(id=1108,
                 value="Ldap-backed realm identity search failed")
        RealmUnavailableException ldapRealmIdentitySearchFailed​(@Cause
                                                                Throwable cause)
      • ldapRealmNotConfiguredToSupportIteratingOverIdentities

        @Message(id=1109,
                 value="Ldap-backed realm is not configured to allow iterate over identities (iterator filter has to be set)")
        RealmUnavailableException ldapRealmNotConfiguredToSupportIteratingOverIdentities()
      • ldapRealmFailedToObtainContext

        @Message(id=1125,
                 value="Ldap-backed realm failed to obtain context")
        RealmUnavailableException ldapRealmFailedToObtainContext​(@Cause
                                                                 Throwable cause)
      • ldapRealmDeferRegistration

        @LogMessage
        @Message(id=1146,
                 value="LDAP Realm unable to register listener, defering action.")
        void ldapRealmDeferRegistration()
      • obtainingDirContextCredentialFromAuthenticationContextFailed

        @Message(id=1150,
                 value="Obtaining DirContext credentials from AuthenticationContext failed.")
        NamingException obtainingDirContextCredentialFromAuthenticationContextFailed​(@Cause
                                                                                     Throwable cause)
      • directLdapVerificationFailed

        @Message(id=1153,
                 value="Direct LDAP verification failed with DN [%s] and absolute DN [%s]")
        RealmUnavailableException directLdapVerificationFailed​(String distinguishedName,
                                                               String absoluteName,
                                                               @Cause
                                                               Exception e)
      • threadLocalSslSocketFactoryThreadLocalNotSet

        @Message(id=4025,
                 value="DirContext tries to connect without ThreadLocalSSLSocketFactory thread local setting")
        IllegalStateException threadLocalSslSocketFactoryThreadLocalNotSet()