|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.security.WSSecurityHelper
public class WSSecurityHelper
Provides methods to perform security functions
Constructor Summary | |
---|---|
WSSecurityHelper()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSSecurityHelper()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |