Class Util
- java.lang.Object
-
- com.sun.enterprise.security.common.Util
-
@Service @Singleton public class Util extends Object
- Author:
- venu TODO: need to change this class, it needs to be similar to SecurityServicesUtil
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAppClientMsgSecConfigs()
CallbackHandler
getCallbackHandler()
static String
getCurrentEmbeddedServerName()
static Util
getInstance()
boolean
isACC()
static boolean
isEmbeddedServer()
boolean
isNotServerOrACC()
boolean
isServer()
void
setAppClientMsgSecConfigs(Object appClientMsgSecConfigs)
void
setCallbackHandler(CallbackHandler callbackHandler)
static File
writeConfigFileToTempDir(String fileName)
-
-
-
Method Detail
-
getInstance
public static Util getInstance()
-
isACC
public boolean isACC()
-
isServer
public boolean isServer()
-
isNotServerOrACC
public boolean isNotServerOrACC()
-
getCallbackHandler
public CallbackHandler getCallbackHandler()
-
setCallbackHandler
public void setCallbackHandler(CallbackHandler callbackHandler)
-
getAppClientMsgSecConfigs
public Object getAppClientMsgSecConfigs()
-
setAppClientMsgSecConfigs
public void setAppClientMsgSecConfigs(Object appClientMsgSecConfigs)
-
isEmbeddedServer
public static boolean isEmbeddedServer()
-
writeConfigFileToTempDir
public static File writeConfigFileToTempDir(String fileName) throws IOException
- Throws:
IOException
-
getCurrentEmbeddedServerName
public static String getCurrentEmbeddedServerName()
-
-