Coverage Report - org.mule.module.spring.security.SpringAuthenticationProvider
 
Classes in this File Line Coverage Branch Coverage Complexity
SpringAuthenticationProvider
N/A
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.module.spring.security;
 8  
 
 9  
 import org.mule.api.security.Authentication;
 10  
 
 11  
 /**
 12  
  * A provider for spring authentication
 13  
  * 
 14  
  * @author estebanroblesluna
 15  
  */
 16  
 public interface SpringAuthenticationProvider
 17  
 {
 18  
 
 19  
     /**
 20  
      * Provides a spring authentication according to mule's authentication
 21  
      * 
 22  
      * @param authentication the mule's authentication
 23  
      * @return the spring's authentication
 24  
      */
 25  
     org.springframework.security.core.Authentication getAuthentication(Authentication authentication);    
 26  
 }
 27  
 
 28