Package com.sun.enterprise.security
Class SecurityServicesUtil
- java.lang.Object
-
- com.sun.enterprise.security.SecurityServicesUtil
-
@Service @Singleton public class SecurityServicesUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description SecurityServicesUtil()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditManager
getAuditManager()
CallbackHandler
getCallbackHandler()
org.glassfish.hk2.api.ServiceLocator
getHabitat()
write the new secure seed to the secure.seed file to speed up startup the next time the server is started.static SecurityServicesUtil
getInstance()
org.glassfish.api.admin.ProcessEnvironment
getProcessEnv()
boolean
isACC()
boolean
isNotServerOrACC()
boolean
isServer()
void
setCallbackHandler(CallbackHandler callbackHandler)
-
-
-
Method Detail
-
getHabitat
public org.glassfish.hk2.api.ServiceLocator getHabitat()
write the new secure seed to the secure.seed file to speed up startup the next time the server is started.- Parameters:
fname
- secure.seed fileseed
- seed the value of the 8 byte seed.
-
getAuditManager
public AuditManager getAuditManager()
-
getInstance
public static SecurityServicesUtil getInstance()
-
getProcessEnv
public org.glassfish.api.admin.ProcessEnvironment getProcessEnv()
-
isACC
public boolean isACC()
-
isServer
public boolean isServer()
-
isNotServerOrACC
public boolean isNotServerOrACC()
-
getCallbackHandler
public CallbackHandler getCallbackHandler()
-
setCallbackHandler
public void setCallbackHandler(CallbackHandler callbackHandler)
-
-