public class WSSecurityHelper
extends java.lang.Object
Constructor and Description |
---|
WSSecurityHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isGlobalSecurityEnabled()
This method returns the state of security enablement for the entire cell.
|
static boolean |
isServerSecurityEnabled()
This method returns the state of security enablement for the process.
|
public static boolean isServerSecurityEnabled()
This method returns the state of security enablement for the process. If global security is enabled, but an application server security is disabled This property returns the state of security just for that application server. This property will always return false when global security is disabled.
public static boolean isGlobalSecurityEnabled()
This method returns the state of security enablement for the entire cell. If this API is called from within an application server where security has been explicitly disabled for the server, but the global security is enabled for the cell, this API will return true. This is useful to determine if Administrative security is enabled within a particular process. Admisitrative security is always enabled with global security, regardless of the state of the server security enablement.