org.openpermis.security
Class SecurityProviderInitializer

java.lang.Object
  extended by org.openpermis.security.SecurityProviderInitializer

public final class SecurityProviderInitializer
extends Object

Static hook to initialize the security provider from a Pico configuration.

Since:
0.3.0

Nested Class Summary
protected static class SecurityProviderInitializer.Initializer
          Initializer class that sets the actual security provider.
 
Method Summary
static void initializeSecurityProvider()
          Reads the openpermis-jce.xml in the top level folder of the classpath and initializes the security provider according to its contents.
protected static void initializeSecurityProvider(SecurityProviderInitializer.Initializer initializer)
          Reads the openpermis-jce.xml in the top level folder of the classpath and initializes the security provider according to its contents.
protected static void initializeSecurityProvider(URL url, ClassLoader cl, SecurityProviderInitializer.Initializer initializer)
          Initializes the security provider using the configuration and class loader specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initializeSecurityProvider

public static void initializeSecurityProvider()
Reads the openpermis-jce.xml in the top level folder of the classpath and initializes the security provider according to its contents.

Since:
0.3.0

initializeSecurityProvider

protected static void initializeSecurityProvider(SecurityProviderInitializer.Initializer initializer)
Reads the openpermis-jce.xml in the top level folder of the classpath and initializes the security provider according to its contents.

Parameters:
initializer - the actual initializer to use.
Since:
0.3.0

initializeSecurityProvider

protected static void initializeSecurityProvider(URL url,
                                                 ClassLoader cl,
                                                 SecurityProviderInitializer.Initializer initializer)
Initializes the security provider using the configuration and class loader specified.

Parameters:
url - the configuration URL that points to a Pico XML configuration.
cl - the class loader to load the configuration classes from.
initializer - the actual initializer to use.
Since:
0.3.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:49
Copyright (c) 2002-2007 Ergon Informatik AG