Package com.sun.identity.monitoring
Class MonitoringUtil
- java.lang.Object
-
- com.sun.identity.monitoring.MonitoringUtil
-
public class MonitoringUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
HTTP_AUTH_FILE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Byte[]
convertDate(String date)
date/time format is "YYYY-MM-DD HH:MM:SS" it should be an 8-Byte array, where bytes 0-1: year byte 2: month byte 3: day byte 4: hours byte 5: minutes byte 6: seconds byte 7: deci-seconds (will be 0)static String
escapeColonInString(String str)
Escapes colons (":") in the supplied String to ":".protected static Map<String,String>
getMonAuthList(String authFilePath)
static String[]
getNetworkMonitorNames()
static int
getPolicyWindowSize()
protected static String
getRealmDNForRealm(String realm)
static int
getSessionWindowSize()
protected static SSOToken
getSSOToken()
static boolean
isRunning()
protected static boolean
networkMonitorExist(String nwMonName)
return whether the specified network monitor has been instantiated in the entitlements service yet
-
-
-
Field Detail
-
HTTP_AUTH_FILE
public static String HTTP_AUTH_FILE
-
-
Method Detail
-
getNetworkMonitorNames
public static String[] getNetworkMonitorNames()
-
networkMonitorExist
protected static boolean networkMonitorExist(String nwMonName)
return whether the specified network monitor has been instantiated in the entitlements service yet
-
escapeColonInString
public static String escapeColonInString(String str)
Escapes colons (":") in the supplied String to ":". Useful mostly for the MBean names, as jdmk really doesn't like them.
-
getSSOToken
protected static SSOToken getSSOToken() throws SSOException
- Throws:
SSOException
-
convertDate
public static Byte[] convertDate(String date)
date/time format is "YYYY-MM-DD HH:MM:SS" it should be an 8-Byte array, where bytes 0-1: year byte 2: month byte 3: day byte 4: hours byte 5: minutes byte 6: seconds byte 7: deci-seconds (will be 0)- Parameters:
date
-- Returns:
- the converted date
-
isRunning
public static boolean isRunning()
-
getPolicyWindowSize
public static int getPolicyWindowSize()
-
getSessionWindowSize
public static int getSessionWindowSize()
-
-