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 Details

    • Util

      public Util()
  • Method Details

    • getDefaultHabitat

      public static org.glassfish.hk2.api.ServiceLocator getDefaultHabitat()
    • 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 <T> T 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()