jdk/src/java.security.sasl/share/classes/javax/security/sasl/Sasl.java
changeset 37348 9ccec3170d5e
parent 33241 27eb2d6abda9
child 45665 6f21cd7ec80e
equal deleted inserted replaced
37347:f6abe5d4bb1d 37348:9ccec3170d5e
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2016, 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
   310      * for information about how to install and configure security service
   310      * for information about how to install and configure security service
   311      *  providers.
   311      *  providers.
   312      *
   312      *
   313      * @implNote
   313      * @implNote
   314      * The JDK Reference Implementation additionally uses the
   314      * The JDK Reference Implementation additionally uses the
   315      * {@code jdk.security.provider.preferred} property to determine
   315      * {@code jdk.security.provider.preferred}
       
   316      * {@link Security#getProperty(String) Security} property to determine
   316      * the preferred provider order for the specified algorithm. This
   317      * the preferred provider order for the specified algorithm. This
   317      * may be different than the order of providers returned by
   318      * may be different than the order of providers returned by
   318      * {@link Security#getProviders() Security.getProviders()}.
   319      * {@link Security#getProviders() Security.getProviders()}.
   319      *
   320      *
   320      * @param mechanisms The non-null list of mechanism names to try. Each is the
   321      * @param mechanisms The non-null list of mechanism names to try. Each is the
   459      * for information about how to install and configure security
   460      * for information about how to install and configure security
   460      * service providers.
   461      * service providers.
   461      *
   462      *
   462      * @implNote
   463      * @implNote
   463      * The JDK Reference Implementation additionally uses the
   464      * The JDK Reference Implementation additionally uses the
   464      * {@code jdk.security.provider.preferred} property to determine
   465      * {@code jdk.security.provider.preferred}
       
   466      * {@link Security#getProperty(String) Security} property to determine
   465      * the preferred provider order for the specified algorithm. This
   467      * the preferred provider order for the specified algorithm. This
   466      * may be different than the order of providers returned by
   468      * may be different than the order of providers returned by
   467      * {@link Security#getProviders() Security.getProviders()}.
   469      * {@link Security#getProviders() Security.getProviders()}.
   468      *
   470      *
   469      * @param mechanism The non-null mechanism name. It must be an
   471      * @param mechanism The non-null mechanism name. It must be an