| java.lang.Object org.apache.james.security.InitJCE
InitJCE | public class InitJCE (Code) | | Security Providers initialization class. The first call of the init method
will have the class loader do the job. This technique ensures proper
initialization without the need of maintaining the
${java_home}/lib/security/java.security file, that would otherwise
need the addition of the following line:
security.provider.n=org.bouncycastle.jce.provider.BouncyCastleProvider .
The call also registers to the javamail's MailcapCommandMap the content
handlers that are needed to work with s/mime mails.
|
Method Summary | |
public static void | init() Method that registers the security provider BouncyCastle as a system
security provider. |
init | public static void init() throws InstantiationException, IllegalAccessException, ClassNotFoundException(Code) | | Method that registers the security provider BouncyCastle as a system
security provider. The provider class is dinamically loaded on runtime so
there is no need to include the bouncycastle jar in the James
distribution. It can be downloaded and installed by the user if she needs
it.
|
|
|