Skip to content

Commit

Permalink
Sprinkle some javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Oct 14, 2024
1 parent 1ae037a commit 56bcc6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@
*/
public interface SecDispatcher {
/**
* Attribute that selects a dispatcher.
* Attribute that selects a dispatcher. If not present in {@link #encrypt(String, Map)} attributes, the
* configured "default dispatcher" is used.
*
* @see #availableDispatchers()
*/
String DISPATCHER_NAME_ATTR = "name";

/**
* Attribute for version that dispatcher should use.
* Attribute for version, added by SecDispatcher for possible upgrade path.
*/
String DISPATCHER_VERSION_ATTR = "version";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ public class MasterDispatcher implements Dispatcher, DispatcherMeta {

private static final String CONF_MASTER_CIPHER = "cipher";
private static final String CONF_MASTER_SOURCE = "source";
/**
* Attribute holding the Cipher name used to encrypt the password.
*/
private static final String MASTER_CIPHER_ATTR = CONF_MASTER_CIPHER;

private final PlexusCipher cipher;
Expand Down

0 comments on commit 56bcc6c

Please sign in to comment.