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.provider;
8   
9   import java.security.Provider;
10  
11  /**
12   * Determines and initializes JDK-specific security provider.
13   */
14  public interface SecurityProviderFactory
15  {
16  
17      SecurityProviderInfo getSecurityProviderInfo();
18  
19      /**
20       * @return an instance of a security provider
21       * @throws org.mule.api.MuleRuntimeException if there was a problem with the security
22       *             provider
23       * @see #getSecurityProviderInfo()
24       */
25      Provider getProvider();
26  }