Coverage Report - org.mule.api.security.UnknownAuthenticationTypeException
 
Classes in this File Line Coverage Branch Coverage Complexity
UnknownAuthenticationTypeException
0%
0/2
0%
0/2
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>UnknownAuthenticationTypeException</code> is thrown if a security context
 14  
  * request is make with an unrecognised Authentication type.
 15  
  */
 16  
 
 17  
 public class UnknownAuthenticationTypeException extends MuleException
 18  
 {
 19  
     /**
 20  
      * Serial version
 21  
      */
 22  
     private static final long serialVersionUID = 6275865761357999175L;
 23  
 
 24  
     public UnknownAuthenticationTypeException(Authentication authentication)
 25  
     {
 26  0
         super(CoreMessages.authTypeNotRecognised((authentication == null
 27  
                         ? "null" : authentication.getClass().getName())));
 28  0
     }
 29  
 }