public class Security extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Security() |
| Modifier and Type | Method and Description |
|---|---|
static void |
enableLog(boolean enable)
Enables/Disables console logging output.
|
static SecurityManager |
getSecurityManager()
Returns the SecurityManager instance used by framework.
|
protected static void |
init(ClassLoader classLoader,
SecurityManager securityManager) |
protected static void |
init(ClassLoader classLoader,
SecurityManager securityManager,
String... securedClasses) |
protected static void |
init(SecurityManager securityManager)
Initializes security framework
|
protected static void |
init(SecurityManager securityManager,
String... securedClasses) |
static void |
skipFrozenClasses(boolean skip)
Defines if frozen classes shall be skipped.
|
public static void enableLog(boolean enable)
enable - defines if log messages shall be printed to console. By default log is disabled.public static void skipFrozenClasses(boolean skip)
skip - define if frozen classes shall be skipped instead of rising errors. By default frozen classes are not skipped.public static SecurityManager getSecurityManager()
protected static void init(SecurityManager securityManager)
securityManager - security framework to be used. Passing null implies in no security.protected static void init(ClassLoader classLoader, SecurityManager securityManager)
protected static void init(SecurityManager securityManager, String... securedClasses)
protected static void init(ClassLoader classLoader, SecurityManager securityManager, String... securedClasses)
Copyright © 2016 Agapsys Tecnologia Ltda-ME. All rights reserved.