src/java.security.jgss/share/classes/sun/security/jgss/spnego/SpNegoContext.java
changeset 51398 3c389a284345
parent 50307 ba1b490901d4
child 51479 0e4d87cf6caf
equal deleted inserted replaced
51397:c9150700bbd0 51398:3c389a284345
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    26 package sun.security.jgss.spnego;
    26 package sun.security.jgss.spnego;
    27 
    27 
    28 import java.io.*;
    28 import java.io.*;
    29 import java.security.Provider;
    29 import java.security.Provider;
    30 import org.ietf.jgss.*;
    30 import org.ietf.jgss.*;
       
    31 import sun.security.action.GetBooleanAction;
    31 import sun.security.jgss.*;
    32 import sun.security.jgss.*;
    32 import sun.security.jgss.spi.*;
    33 import sun.security.jgss.spi.*;
    33 import sun.security.util.*;
    34 import sun.security.util.*;
    34 
    35 
    35 /**
    36 /**
    79 
    80 
    80     // the SpNegoMechFactory that creates this context
    81     // the SpNegoMechFactory that creates this context
    81     final private SpNegoMechFactory factory;
    82     final private SpNegoMechFactory factory;
    82 
    83 
    83     // debug property
    84     // debug property
    84     static final boolean DEBUG =
    85     static final boolean DEBUG = GetBooleanAction
    85         java.security.AccessController.doPrivileged(
    86             .privilegedGetProperty("sun.security.spnego.debug");
    86             new sun.security.action.GetBooleanAction
       
    87             ("sun.security.spnego.debug")).booleanValue();
       
    88 
    87 
    89     /**
    88     /**
    90      * Constructor for SpNegoContext to be called on the context initiator's
    89      * Constructor for SpNegoContext to be called on the context initiator's
    91      * side.
    90      * side.
    92      */
    91      */