View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.api.security;
8   
9   import org.mule.api.MuleEvent;
10  import org.mule.api.endpoint.ImmutableEndpoint;
11  import org.mule.config.i18n.Message;
12  
13  /**
14   * <code>CredentialsNotSetException</code> is thrown when user credentials cannot
15   * be obtained from the current message
16   */
17  public class CredentialsNotSetException extends UnauthorisedException
18  {
19      /**
20       * Serial version
21       */
22      private static final long serialVersionUID = -6271648179641734580L;
23  
24      public CredentialsNotSetException(Message message, MuleEvent event)
25      {
26          super(message, event);
27      }
28  
29      public CredentialsNotSetException(Message message, MuleEvent event, Throwable cause)
30      {
31          super(message, event, cause);
32      }
33  
34      public CredentialsNotSetException(MuleEvent event, SecurityContext context, SecurityFilter filter)
35      {
36          super(event, context, filter);
37      }
38      
39      @Deprecated
40      public CredentialsNotSetException(MuleEvent event, SecurityContext context,
41          ImmutableEndpoint endpoint, SecurityFilter filter)
42      {
43          super(event, context, endpoint, filter);
44      }
45  }