equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 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 |
51 "(implements client mechanisms for: " + |
51 "(implements client mechanisms for: " + |
52 "DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5, NTLM;" + |
52 "DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5, NTLM;" + |
53 " server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5, NTLM)"; |
53 " server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5, NTLM)"; |
54 |
54 |
55 public Provider() { |
55 public Provider() { |
56 super("SunSASL", 1.8d, info); |
56 super("SunSASL", 1.9d, info); |
57 |
57 |
58 AccessController.doPrivileged(new PrivilegedAction<Void>() { |
58 AccessController.doPrivileged(new PrivilegedAction<Void>() { |
59 public Void run() { |
59 public Void run() { |
60 // Client mechanisms |
60 // Client mechanisms |
61 put("SaslClientFactory.DIGEST-MD5", |
61 put("SaslClientFactory.DIGEST-MD5", |