jdk/src/share/classes/sun/security/jgss/wrapper/SunNativeProvider.java
changeset 22121 b1aa108cccb5
parent 20485 8af87f3d549c
child 23585 e4412d1b53d3
equal deleted inserted replaced
22120:3ec2fa1035de 22121:b1aa108cccb5
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2014, 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
   118                 });
   118                 });
   119     }
   119     }
   120 
   120 
   121     public SunNativeProvider() {
   121     public SunNativeProvider() {
   122         /* We are the Sun NativeGSS provider */
   122         /* We are the Sun NativeGSS provider */
   123         super(NAME, 1.8d, INFO);
   123         super(NAME, 1.9d, INFO);
   124 
   124 
   125         if (MECH_MAP != null) {
   125         if (MECH_MAP != null) {
   126             AccessController.doPrivileged(new PutAllAction(this, MECH_MAP));
   126             AccessController.doPrivileged(new PutAllAction(this, MECH_MAP));
   127         }
   127         }
   128     }
   128     }