org.mule.util
Class SecurityUtils

java.lang.Object
  extended by org.mule.util.SecurityUtils

public final class SecurityUtils
extends Object


Constructor Summary
SecurityUtils()
           
 
Method Summary
static Provider getDefaultSecurityProvider()
          Returns the default security provider that should be used in scenarios where ONE provider must be explicitly given.
static String getSecurityModel()
           
static boolean isDefaultSecurityModel()
           
static boolean isFipsSecurityModel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityUtils

public SecurityUtils()
Method Detail

getSecurityModel

public static String getSecurityModel()

isFipsSecurityModel

public static boolean isFipsSecurityModel()

isDefaultSecurityModel

public static boolean isDefaultSecurityModel()

getDefaultSecurityProvider

public static Provider getDefaultSecurityProvider()
Returns the default security provider that should be used in scenarios where ONE provider must be explicitly given. It will get the first registered provider in order of preference, unless a system variable is defined with a provider name.

Note: Use this method as a last resort for cases were a library always requires you to provide one. JCE already provides an excellent provider selection algorithm, and many operations will automatically choose the best provider if you don't force one in particular



Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.