Interface ElytronMessages

  • All Superinterfaces:
    org.jboss.logging.BasicLogger

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

      • readOnlyPermissionCollection

        @Message(id=3018,
                 value="Cannot add permissions to a read-only permission collection")
        SecurityException readOnlyPermissionCollection()
      • authzFailedToCheckPermission

        @LogMessage(level=ERROR)
        @Message(id=8500,
                 value="Failed to check permissions for protection domain [%s] and permission [%s].")
        void authzFailedToCheckPermission​(ProtectionDomain domain,
                                          Permission permission,
                                          @Cause
                                          Throwable cause)
      • authzInvalidStateForOperation

        @Message(id=8501,
                 value="Invalid state [%s] for operation.")
        UnsupportedOperationException authzInvalidStateForOperation​(String actualState)
      • authzLinkSamePolicyConfiguration

        @Message(id=8502,
                 value="Can\'t link policy configuration [%s] to itself.")
        IllegalArgumentException authzLinkSamePolicyConfiguration​(String contextID)
      • authzContextIdentifierNotSet

        @Message(id=8503,
                 value="ContextID not set. Check if the context id was set using PolicyContext.setContextID.")
        IllegalStateException authzContextIdentifierNotSet()
      • authzInvalidPolicyContextIdentifier

        @Message(id=8504,
                 value="Invalid policy context identifier [%s].")
        IllegalArgumentException authzInvalidPolicyContextIdentifier​(String contextID)
      • authzUnableToObtainPolicyConfiguration

        @Message(id=8505,
                 value="Could not obtain PolicyConfiguration for contextID [%s].")
        javax.security.jacc.PolicyContextException authzUnableToObtainPolicyConfiguration​(String contextId,
                                                                                          @Cause
                                                                                          Throwable cause)
      • authzPolicyConfigurationNotInService

        @Message(id=8506,
                 value="Policy configuration with contextID [%s] is not in service state.")
        IllegalStateException authzPolicyConfigurationNotInService​(String contextID)
      • authzCouldNotObtainSecurityIdentity

        @LogMessage(level=DEBUG)
        @Message(id=8508,
                 value="Could not obtain authorized identity.")
        void authzCouldNotObtainSecurityIdentity​(@Cause
                                                 Throwable cause)