You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2020/08/10 06:22:43 UTC

[karaf] branch master updated: [KARAF-6797] More detailed description of the JAAS command options for realm-manage

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/master by this push:
     new 7f2dba3  [KARAF-6797] More detailed description of the JAAS command options for realm-manage
     new 75d79ac  Merge pull request #1142 from AndreVirtimo/master
7f2dba3 is described below

commit 7f2dba30f3b6cbecc49a089862e4fd5fb34df787
Author: Andre Schlegel <an...@virtimo.de>
AuthorDate: Mon Aug 10 07:16:30 2020 +0200

    [KARAF-6797] More detailed description of the JAAS command options for realm-manage
---
 .../main/java/org/apache/karaf/jaas/command/ManageRealmCommand.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jaas/command/src/main/java/org/apache/karaf/jaas/command/ManageRealmCommand.java b/jaas/command/src/main/java/org/apache/karaf/jaas/command/ManageRealmCommand.java
index f7855aa..05c4fc0 100644
--- a/jaas/command/src/main/java/org/apache/karaf/jaas/command/ManageRealmCommand.java
+++ b/jaas/command/src/main/java/org/apache/karaf/jaas/command/ManageRealmCommand.java
@@ -35,14 +35,14 @@ import org.apache.karaf.shell.api.action.lifecycle.Service;
 @Service
 public class ManageRealmCommand extends JaasCommandSupport {
 
-    @Option(name = "--realm", description = "JAAS Realm", required = false, multiValued = false)
+    @Option(name = "--realm", description = "JAAS Realm. Must be combined with --module", required = false, multiValued = false)
     @Completion(RealmCompleter.class)
     String realmName;
 
     @Option(name = "--index", description = "Realm Index", required = false, multiValued = false)
     int index;
 
-    @Option(name = "--module", description = "JAAS Login Module Class Name", required = false, multiValued = false)
+    @Option(name = "--module", description = "JAAS Login Module Class Name. Must be combined with --realm", required = false, multiValued = false)
     @Completion(LoginModuleNameCompleter.class)
     String moduleName;