--- old/src/java.security.jgss/share/classes/org/ietf/jgss/GSSManager.java 2015-04-08 15:27:53.483467779 +0400 +++ new/src/java.security.jgss/share/classes/org/ietf/jgss/GSSManager.java 2015-04-08 15:27:53.191467793 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -55,7 +55,7 @@ * of this and recover cleanly by catching the exception.
* * It is envisioned that there will be three most common ways in which - * providers will be used:
+ * providers will be used: *
addProviderAtFront
method on a GSSManager that has
* already created an object.* - * Here is some sample code showing how the GSSManager might be used:
+ * Here is some sample code showing how the GSSManager might be used: *
* GSSManager manager = GSSManager.getInstance(); * @@ -116,7 +116,7 @@ * GSSContext.DEFAULT_LIFETIME); *
* - * The server side might use the following variation of this source:
+ * The server side might use the following variation of this source: * *
* // Acquire credentials for the server @@ -387,7 +387,7 @@ * Non-default values for lifetime cannot always be honored by the * underlying mechanisms, thus applications should be prepared to call * {@link GSSCredential#getRemainingLifetime() getRemainingLifetime} - * on the returned credential.+ * on the returned credential. * * @param name the name of the principal for whom this credential is to be * acquired. Use
null
to specify the default principal. @@ -442,7 +442,7 @@ * Non-default values for lifetime cannot always be honored by the * underlying mechanisms, thus applications should be prepared to call * {@link GSSCredential#getRemainingLifetime() getRemainingLifetime} - * on the returned credential.+ * on the returned credential. * * @param name the name of the principal for whom this credential is to * be acquired. Use
null
to specify the default @@ -492,7 +492,7 @@ * Non-default values for lifetime cannot always be honored by the * underlying mechanism, thus applications should be prepared to call * {@link GSSContext#getLifetime() getLifetime} on the returned - * context.+ * context. * * @param peer the name of the target peer. * @param mech the Oid of the desired mechanism. Use
null
@@ -610,7 +610,7 @@ * operation is unavailable.* * Suppose an application desired that the provider A always be checked - * first when any mechanism is needed, it would call:
+ * first when any mechanism is needed, it would call: *
* GSSManager mgr = GSSManager.getInstance(); * // mgr may at this point have its own pre-configured list @@ -621,7 +621,7 @@ ** Now if it also desired that the mechanism of Oid m1 always be * obtained from the provider B before the previously set A was checked, - * it would call:+ * it would call: *
* mgr.addProviderAtFront(B, m1); *@@ -632,7 +632,7 @@ * directly.* * Suppose at a later time the following call is made to the same - * GSSManager instance:
+ * GSSManager instance: *
* mgr.addProviderAtFront(B, null) *@@ -684,14 +684,14 @@ * Suppose an application desired that when a mechanism of Oid m1 is * needed the system default providers always be checked first, and only * when they do not support m1 should a provider A be checked. It would - * then make the call:+ * then make the call: *
* GSSManager mgr = GSSManager.getInstance(); * mgr.addProviderAtEnd(A, m1); ** Now, if it also desired that for all mechanisms the provider B be * checked after all configured providers have been checked, it would - * then call:+ * then call: *
* mgr.addProviderAtEnd(B, null); *@@ -699,7 +699,7 @@ * null)}.* * Suppose at a later time the following call is made to the same - * GSSManager instance:
+ * GSSManager instance: *
* mgr.addProviderAtEnd(B, m2) *@@ -708,7 +708,7 @@ * request is made for the already existing pairs of (A, m1) or (B, * null).* - * Please note, however, that the following call:
+ * Please note, however, that the following call: *
* mgr.addProviderAtEnd(A, null) *