Skip to content

Commit 56bcc6c

Browse files
committed
Sprinkle some javadoc
1 parent 1ae037a commit 56bcc6c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/main/java/org/codehaus/plexus/components/secdispatcher/SecDispatcher.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@
2727
*/
2828
public interface SecDispatcher {
2929
/**
30-
* Attribute that selects a dispatcher.
30+
* Attribute that selects a dispatcher. If not present in {@link #encrypt(String, Map)} attributes, the
31+
* configured "default dispatcher" is used.
3132
*
3233
* @see #availableDispatchers()
3334
*/
3435
String DISPATCHER_NAME_ATTR = "name";
3536

3637
/**
37-
* Attribute for version that dispatcher should use.
38+
* Attribute for version, added by SecDispatcher for possible upgrade path.
3839
*/
3940
String DISPATCHER_VERSION_ATTR = "version";
4041

src/main/java/org/codehaus/plexus/components/secdispatcher/internal/dispatchers/MasterDispatcher.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ public class MasterDispatcher implements Dispatcher, DispatcherMeta {
4242

4343
private static final String CONF_MASTER_CIPHER = "cipher";
4444
private static final String CONF_MASTER_SOURCE = "source";
45+
/**
46+
* Attribute holding the Cipher name used to encrypt the password.
47+
*/
4548
private static final String MASTER_CIPHER_ATTR = CONF_MASTER_CIPHER;
4649

4750
private final PlexusCipher cipher;

0 commit comments

Comments
 (0)