Class CamelAuthorizationException

  • All Implemented Interfaces:
    Serializable

    public class CamelAuthorizationException
    extends CamelExchangeException
    An exception thrown for either authentication or authorization errors occurring in a Camel exchange. Intended to be used when a user is denied an action and Camel should not process the message as a result.
    See Also:
    Serialized Form
    • Constructor Detail

      • CamelAuthorizationException

        public CamelAuthorizationException​(String message,
                                           Exchange exchange)
      • CamelAuthorizationException

        public CamelAuthorizationException​(String message,
                                           Exchange exchange,
                                           Throwable cause)
    • Method Detail

      • getPolicyId

        public String getPolicyId()