jdk/src/java.security.sasl/share/classes/javax/security/sasl/Sasl.java
changeset 45665 6f21cd7ec80e
parent 37348 9ccec3170d5e
equal deleted inserted replaced
45664:946711bbda08 45665:6f21cd7ec80e
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2017, 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
   278 
   278 
   279     /**
   279     /**
   280      * Creates a {@code SaslClient} using the parameters supplied.
   280      * Creates a {@code SaslClient} using the parameters supplied.
   281      *
   281      *
   282      * This method uses the
   282      * This method uses the
   283 <a href="{@docRoot}/../technotes/guides/security/crypto/CryptoSpec.html#Provider">JCA Security Provider Framework</a>, described in the
   283      * {@extLink security_guide_jca JCA Security Provider Framework},
   284      * "Java Cryptography Architecture API Specification &amp; Reference", for
   284      * described in the
       
   285      * "Java Cryptography Architecture (JCA) Reference Guide", for
   285      * locating and selecting a {@code SaslClient} implementation.
   286      * locating and selecting a {@code SaslClient} implementation.
   286      *
   287      *
   287      * First, it
   288      * First, it
   288      * obtains an ordered list of {@code SaslClientFactory} instances from
   289      * obtains an ordered list of {@code SaslClientFactory} instances from
   289      * the registered security providers for the "SaslClientFactory" service
   290      * the registered security providers for the "SaslClientFactory" service
   427 
   428 
   428     /**
   429     /**
   429      * Creates a {@code SaslServer} for the specified mechanism.
   430      * Creates a {@code SaslServer} for the specified mechanism.
   430      *
   431      *
   431      * This method uses the
   432      * This method uses the
   432 <a href="{@docRoot}/../technotes/guides/security/crypto/CryptoSpec.html#Provider">JCA Security Provider Framework</a>,
   433      * {@extLink security_guide_jca JCA Security Provider Framework},
   433      * described in the
   434      * described in the
   434      * "Java Cryptography Architecture API Specification &amp; Reference", for
   435      * "Java Cryptography Architecture (JCA) Reference Guide", for
   435      * locating and selecting a {@code SaslServer} implementation.
   436      * locating and selecting a {@code SaslClient} implementation.
   436      *
   437      *
   437      * First, it
   438      * First, it
   438      * obtains an ordered list of {@code SaslServerFactory} instances from
   439      * obtains an ordered list of {@code SaslServerFactory} instances from
   439      * the registered security providers for the "SaslServerFactory" service
   440      * the registered security providers for the "SaslServerFactory" service
   440      * and the specified mechanism. It then invokes
   441      * and the specified mechanism. It then invokes