本文整理汇总了Java中sun.security.action.GetLongAction类的典型用法代码示例。如果您正苦于以下问题:Java GetLongAction类的具体用法?Java GetLongAction怎么用?Java GetLongAction使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
GetLongAction类属于sun.security.action包,在下文中一共展示了GetLongAction类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ServerHandshaker
import sun.security.action.GetLongAction; //导入依赖的package包/类
ServerHandshaker(SSLSocketImpl socket, SSLContextImpl context,
ProtocolList enabledProtocols, ClientAuthType clientAuth,
ProtocolVersion activeProtocolVersion, boolean isInitialHandshake,
boolean secureRenegotiation,
byte[] clientVerifyData, byte[] serverVerifyData) {
super(socket, context, enabledProtocols,
(clientAuth != ClientAuthType.CLIENT_AUTH_NONE), false,
activeProtocolVersion, isInitialHandshake, secureRenegotiation,
clientVerifyData, serverVerifyData);
doClientAuth = clientAuth;
statusRespTimeout = AccessController.doPrivileged(
new GetLongAction("jdk.tls.stapling.responseTimeout",
DEFAULT_STATUS_RESP_DELAY));
statusRespTimeout = statusRespTimeout >= 0 ? statusRespTimeout :
DEFAULT_STATUS_RESP_DELAY;
}
示例2: getConnectTimeout
import sun.security.action.GetLongAction; //导入依赖的package包/类
private static long getConnectTimeout() {
return java.security.AccessController.doPrivileged(
new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
15000)).longValue(); // default: 15 seconds
}
示例3: main
import sun.security.action.GetLongAction; //导入依赖的package包/类
public static void main(String[] args) {
Map s = new HashMap();
new MockControl();
GetLongAction sdd;
new ApiClientLink();
new EvasLdapInterfaceProfileWrapper();
new LoadUnitTestDataTestCase();
ExecOptionPermission ss;
}