You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by GitBox <gi...@apache.org> on 2020/08/10 05:20:17 UTC

[GitHub] [karaf] AndreVirtimo opened a new pull request #1142: [KARAF-6797] More detailed description of the JAAS command options fo…

AndreVirtimo opened a new pull request #1142:
URL: https://github.com/apache/karaf/pull/1142


   The option "--realm" of the command jaas:realm-manage have to be combine with the option "--module" and vice versa. This wasn't mentioned in the help message of the command.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [karaf] jbonofre merged pull request #1142: [KARAF-6797] More detailed description of the JAAS command options fo…

Posted by GitBox <gi...@apache.org>.
jbonofre merged pull request #1142:
URL: https://github.com/apache/karaf/pull/1142


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [karaf] jbonofre commented on a change in pull request #1142: [KARAF-6797] More detailed description of the JAAS command options fo…

Posted by GitBox <gi...@apache.org>.
jbonofre commented on a change in pull request #1142:
URL: https://github.com/apache/karaf/pull/1142#discussion_r467706367



##########
File path: jaas/command/src/main/java/org/apache/karaf/jaas/command/ManageRealmCommand.java
##########
@@ -35,14 +35,14 @@
 @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)

Review comment:
       Ah yes, my bad, I changed that. You are right.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [karaf] AndreVirtimo commented on a change in pull request #1142: [KARAF-6797] More detailed description of the JAAS command options fo…

Posted by GitBox <gi...@apache.org>.
AndreVirtimo commented on a change in pull request #1142:
URL: https://github.com/apache/karaf/pull/1142#discussion_r467705501



##########
File path: jaas/command/src/main/java/org/apache/karaf/jaas/command/ManageRealmCommand.java
##########
@@ -35,14 +35,14 @@
 @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)

Review comment:
       Why should I combine this with index? Index is already a unique attribute.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [karaf] jbonofre commented on a change in pull request #1142: [KARAF-6797] More detailed description of the JAAS command options fo…

Posted by GitBox <gi...@apache.org>.
jbonofre commented on a change in pull request #1142:
URL: https://github.com/apache/karaf/pull/1142#discussion_r467694902



##########
File path: jaas/command/src/main/java/org/apache/karaf/jaas/command/ManageRealmCommand.java
##########
@@ -35,14 +35,14 @@
 @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)

Review comment:
       I would add the "must be combined" statement here and leave realm option description as it is.

##########
File path: jaas/command/src/main/java/org/apache/karaf/jaas/command/ManageRealmCommand.java
##########
@@ -35,14 +35,14 @@
 @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)

Review comment:
       That's not fully correct. Realm can be combined with module, but also with index.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org