[ 
https://issues.apache.org/jira/browse/KARAF-6797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17174078#comment-17174078
 ] 

ASF GitHub Bot commented on KARAF-6797:
---------------------------------------

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:
[email protected]


> JAAS realm-manage with module name failed
> -----------------------------------------
>
>                 Key: KARAF-6797
>                 URL: https://issues.apache.org/jira/browse/KARAF-6797
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.8
>         Environment: Mac OS Catalina
> OpenJDK 11
>            Reporter: Andre Schlegel-Tylla
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
>  
> If I try to manage a realm via "--module MODULE-CLASS-NAME" I got the message 
> "A valid realm or the realm index need to be specified".
> If I'm using the index I have no problems.
> {code:java}
> virtimo@bpc()> jaas:realm-list
> Index │ Realm Name │ Login Module Class Name
> ──────┼────────────┼─────────────────────────────────────────────────────────────────
> 1     │ inubit     │ de.virtimo.bpc.core.auth.jaas.inubit.InubitLoginModule
> 2     │ jdbc       │ de.virtimo.bpc.core.auth.jaas.jdbc.JDBCLoginModule
> 3     │ karaf      │ 
> org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
> 4     │ karaf      │ 
> org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule
> 5     │ karaf      │ org.apache.karaf.jaas.modules.audit.FileAuditLoginModule
> 6     │ karaf      │ org.apache.karaf.jaas.modules.audit.LogAuditLoginModule
> 7     │ karaf      │ 
> org.apache.karaf.jaas.modules.audit.EventAdminAuditLoginModule
> 8     │ keycloak   │ 
> de.virtimo.bpc.core.auth.jaas.keycloak.DirectKeycloakLoginModule
> virtimo@bpc()> jaas:realm-manage --module 
> org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
> A valid realm or the realm index need to be specified
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to