Coverage Report - org.mule.api.security.SecurityProviderNotFoundException
 
Classes in this File Line Coverage Branch Coverage Complexity
SecurityProviderNotFoundException
0%
0/4
N/A
1
 
 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.MuleException;
 10  
 import org.mule.config.i18n.CoreMessages;
 11  
 
 12  
 /**
 13  
  * <code>SecurityProviderNotFoundException</code> is thrown by the
 14  
  * SecurityManager when an authentication request is made but no suitable security
 15  
  * provider can be found to process the authentication
 16  
  */
 17  
 public class SecurityProviderNotFoundException extends MuleException
 18  
 {
 19  
     /**
 20  
      * Serial version
 21  
      */
 22  
     private static final long serialVersionUID = 124630897095610595L;
 23  
 
 24  
     public SecurityProviderNotFoundException(String providerName)
 25  
     {
 26  0
         super(CoreMessages.authNoSecurityProvider(providerName));
 27  0
     }
 28  
 
 29  
     public SecurityProviderNotFoundException(String providerName, Throwable cause)
 30  
     {
 31  0
         super(CoreMessages.authNoSecurityProvider(providerName), cause);
 32  0
     }
 33  
 }