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 ObjectgetAppClientMsgSecConfigs()CallbackHandlergetCallbackHandler()static StringgetCurrentEmbeddedServerName()static UtilgetInstance()booleanisACC()static booleanisEmbeddedServer()booleanisNotServerOrACC()booleanisServer()voidsetAppClientMsgSecConfigs(Object appClientMsgSecConfigs)voidsetCallbackHandler(CallbackHandler callbackHandler)static FilewriteConfigFileToTempDir(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()
-
-