1 |
/* Sasl.java -- |
/* Sasl.java -- |
2 |
Copyright (C) 2003, 2004 Free Software Foundation, Inc. |
Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
221 |
* breaking into future sessions. The property contains <code>"true"</code> |
* breaking into future sessions. The property contains <code>"true"</code> |
222 |
* if mechanisms that implement forward secrecy between sessions are |
* if mechanisms that implement forward secrecy between sessions are |
223 |
* required; <code>"false"</code> if such mechanisms are not required. The |
* required; <code>"false"</code> if such mechanisms are not required. The |
224 |
* default is <code>"false"</code>.</p> |
* default is <code>"false"</code>. |
225 |
* |
* |
226 |
* <p>The value of this constant is <code>"javax.security.sasl.policy.forward"</code>. |
* <p>The value of this constant is <code>"javax.security.sasl.policy.forward"</code>. |
227 |
* </p> |
* </p> |
233 |
* credentials are required. The property contains <code>"true"</code> if |
* credentials are required. The property contains <code>"true"</code> if |
234 |
* mechanisms that pass client credentials are required; <code>"false"</code> |
* mechanisms that pass client credentials are required; <code>"false"</code> |
235 |
* if such mechanisms are not required. The default is <code>"false"</code>. |
* if such mechanisms are not required. The default is <code>"false"</code>. |
|
* </p> |
|
236 |
* |
* |
237 |
* <p>The value of this constant is <code>"javax.security.sasl.policy.credentials"</code>. |
* <p>The value of this constant is <code>"javax.security.sasl.policy.credentials"</code>. |
238 |
* </p> |
* </p> |
279 |
// ------------------------------------------------------------------------- |
// ------------------------------------------------------------------------- |
280 |
|
|
281 |
/** |
/** |
282 |
* <p>Creates a {@link SaslClient} for the specified mechanism.</p> |
* Creates a {@link SaslClient} for the specified mechanism. |
283 |
* |
* |
284 |
* <p>This method uses the JCA Security Provider Framework, described in the |
* <p>This method uses the JCA Security Provider Framework, described in the |
285 |
* "Java Cryptography Architecture API Specification & Reference", for |
* "Java Cryptography Architecture API Specification & Reference", for |
489 |
} |
} |
490 |
|
|
491 |
/** |
/** |
492 |
* <p>Creates a {@link SaslServer} for the specified mechanism.</p> |
* Creates a {@link SaslServer} for the specified mechanism. |
493 |
* |
* |
494 |
* <p>This method uses the JCA Security Provider Framework, described in the |
* <p>This method uses the JCA Security Provider Framework, described in the |
495 |
* "Java Cryptography Architecture API Specification & Reference", for |
* "Java Cryptography Architecture API Specification & Reference", for |
520 |
* |
* |
521 |
* <pre> |
* <pre> |
522 |
* SaslServerFactory.DIGEST-MD5 com.wiz.sasl.digest.ServerFactory |
* SaslServerFactory.DIGEST-MD5 com.wiz.sasl.digest.ServerFactory |
523 |
* </pre></p> |
* </pre> |
524 |
* |
* |
525 |
* <p>See the "Java Cryptography Architecture API Specification & |
* <p>See the "Java Cryptography Architecture API Specification & |
526 |
* Reference" for information about how to install and configure security |
* Reference" for information about how to install and configure security |