sun.security.action.GetLongAction Java Examples

The following examples show how to use sun.security.action.GetLongAction. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ServerHandshaker.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
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;
}
 
Example #2
Source File: ServerHandshaker.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
ServerHandshaker(SSLEngineImpl engine, SSLContextImpl context,
        ProtocolList enabledProtocols, ClientAuthType clientAuth,
        ProtocolVersion activeProtocolVersion,
        boolean isInitialHandshake, boolean secureRenegotiation,
        byte[] clientVerifyData, byte[] serverVerifyData,
        boolean isDTLS) {

    super(engine, context, enabledProtocols,
            (clientAuth != ClientAuthType.CLIENT_AUTH_NONE), false,
            activeProtocolVersion, isInitialHandshake, secureRenegotiation,
            clientVerifyData, serverVerifyData, isDTLS);
    doClientAuth = clientAuth;
    statusRespTimeout = AccessController.doPrivileged(
                new GetLongAction("jdk.tls.stapling.responseTimeout",
                    DEFAULT_STATUS_RESP_DELAY));
    statusRespTimeout = statusRespTimeout >= 0 ? statusRespTimeout :
            DEFAULT_STATUS_RESP_DELAY;
}
 
Example #3
Source File: ServerHandshakeContext.java    From openjsse with GNU General Public License v2.0 5 votes vote down vote up
ServerHandshakeContext(SSLContextImpl sslContext,
        TransportContext conContext) throws IOException {
    super(sslContext, conContext);
    long respTimeOut = AccessController.doPrivileged(
                new GetLongAction("jdk.tls.stapling.responseTimeout",
                    DEFAULT_STATUS_RESP_DELAY));
    statusRespTimeout = respTimeOut >= 0 ? respTimeOut :
            DEFAULT_STATUS_RESP_DELAY;
    handshakeConsumers.put(
            SSLHandshake.CLIENT_HELLO.id, SSLHandshake.CLIENT_HELLO);
}
 
Example #4
Source File: ServerHandshakeContext.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
ServerHandshakeContext(SSLContextImpl sslContext,
        TransportContext conContext) throws IOException {
    super(sslContext, conContext);
    long respTimeOut = AccessController.doPrivileged(
                new GetLongAction("jdk.tls.stapling.responseTimeout",
                    DEFAULT_STATUS_RESP_DELAY));
    statusRespTimeout = respTimeOut >= 0 ? respTimeOut :
            DEFAULT_STATUS_RESP_DELAY;
    handshakeConsumers.put(
            SSLHandshake.CLIENT_HELLO.id, SSLHandshake.CLIENT_HELLO);
}
 
Example #5
Source File: RMIMasterSocketFactory.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
private static long getConnectTimeout() {
    return java.security.AccessController.doPrivileged(
            new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
                          15000)).longValue(); // default: 15 seconds
}
 
Example #6
Source File: RMIMasterSocketFactory.java    From jdk8u-dev-jdk with GNU General Public License v2.0 4 votes vote down vote up
private static long getConnectTimeout() {
    return java.security.AccessController.doPrivileged(
            new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
                          15000)).longValue(); // default: 15 seconds
}
 
Example #7
Source File: RMIMasterSocketFactory.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
private static long getConnectTimeout() {
    return java.security.AccessController.doPrivileged(
            new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
                          15000)).longValue(); // default: 15 seconds
}
 
Example #8
Source File: RMIMasterSocketFactory.java    From jdk8u_jdk with GNU General Public License v2.0 4 votes vote down vote up
private static long getConnectTimeout() {
    return java.security.AccessController.doPrivileged(
            new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
                          15000)).longValue(); // default: 15 seconds
}
 
Example #9
Source File: RMIMasterSocketFactory.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
private static long getConnectTimeout() {
    return java.security.AccessController.doPrivileged(
            new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
                          15000)).longValue(); // default: 15 seconds
}
 
Example #10
Source File: RMIMasterSocketFactory.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
private static long getConnectTimeout() {
    return java.security.AccessController.doPrivileged(
            new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
                          15000)).longValue(); // default: 15 seconds
}
 
Example #11
Source File: RMIMasterSocketFactory.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
private static long getConnectTimeout() {
    return java.security.AccessController.doPrivileged(
            new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
                          15000)).longValue(); // default: 15 seconds
}
 
Example #12
Source File: RMIMasterSocketFactory.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
private static long getConnectTimeout() {
    return java.security.AccessController.doPrivileged(
            new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
                          15000)).longValue(); // default: 15 seconds
}
 
Example #13
Source File: RMIMasterSocketFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
private static long getConnectTimeout() {
    return java.security.AccessController.doPrivileged(
            new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
                          15000)).longValue(); // default: 15 seconds
}
 
Example #14
Source File: RMIMasterSocketFactory.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
private static long getConnectTimeout() {
    return java.security.AccessController.doPrivileged(
            new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
                          15000)).longValue(); // default: 15 seconds
}
 
Example #15
Source File: RMIMasterSocketFactory.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
private static long getConnectTimeout() {
    return java.security.AccessController.doPrivileged(
            new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
                          15000)).longValue(); // default: 15 seconds
}
 
Example #16
Source File: RMIMasterSocketFactory.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
private static long getConnectTimeout() {
    return java.security.AccessController.doPrivileged(
            new GetLongAction("sun.rmi.transport.proxy.connectTimeout",
                          15000)).longValue(); // default: 15 seconds
}
 
Example #17
Source File: Main3.java    From EclipseCodeFormatter with Apache License 2.0 3 votes vote down vote up
public static void main(String[] args) {

		Map s = new HashMap();

		new MockControl();

		GetLongAction sdd;
		new ApiClientLink();
		new EvasLdapInterfaceProfileWrapper();
		new LoadUnitTestDataTestCase();

		ExecOptionPermission ss;
	}