Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-479

filesystem-realm#verify-integrity prints an error for empty realm

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • Security
    • None

      Invoking verify-integrity on filesystem-realm prints an error into server log when there are no identities in the realm

      [standalone@localhost:9990 /] /subsystem=elytron/filesystem-realm=fsRealm2:verify-integrity()
      {"outcome" => "success"}
      
      12:06:33,970 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("read-operation-description") failed - address: ([
          ("subsystem" => "elytron"),
          ("filesystem-realm" => "fsRealm2")
      ]): java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key elytron.filesystem-realm.verify-integrity
      	at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:564)
      	at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.descriptions.StandardResourceDescriptionResolver.getOperationDescription(StandardResourceDescriptionResolver.java:185)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.descriptions.DefaultOperationDescriptionProvider.getModelDescription(DefaultOperationDescriptionProvider.java:157)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.operations.global.ReadOperationDescriptionHandler$DescribedOp.<init>(ReadOperationDescriptionHandler.java:166)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.operations.global.ReadOperationDescriptionHandler.getDescribedOp(ReadOperationDescriptionHandler.java:124)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.operations.global.ReadOperationDescriptionHandler.execute(ReadOperationDescriptionHandler.java:89)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:1045)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:777)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:466)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1427)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:449)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.lambda$executeForResponse$0(ModelControllerImpl.java:260)
      	at org.wildfly.security.elytron-base@1.19.1.CR1-SNAPSHOT//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:304)
      	at org.wildfly.security.elytron-base@1.19.1.CR1-SNAPSHOT//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:270)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.executeForResponse(ModelControllerImpl.java:260)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.executeOperation(ModelControllerImpl.java:254)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:237)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:241)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:163)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:159)
      	at org.wildfly.security.elytron-base@1.19.1.CR1-SNAPSHOT//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:328)
      	at org.wildfly.security.elytron-base@1.19.1.CR1-SNAPSHOT//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:285)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:159)
      	at org.jboss.as.protocol@19.0.0.Beta12-SNAPSHOT//org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
      	at org.jboss.as.protocol@19.0.0.Beta12-SNAPSHOT//org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513)
      
      12:06:52,914 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("read-operation-description") failed - address: ([
          ("subsystem" => "elytron"),
          ("filesystem-realm" => "fsRealm2")
      ]): java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key elytron.filesystem-realm.verify-integrity
      	at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:564)
      	at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.descriptions.StandardResourceDescriptionResolver.getOperationDescription(StandardResourceDescriptionResolver.java:185)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.descriptions.DefaultOperationDescriptionProvider.getModelDescription(DefaultOperationDescriptionProvider.java:157)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.operations.global.ReadOperationDescriptionHandler$DescribedOp.<init>(ReadOperationDescriptionHandler.java:166)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.operations.global.ReadOperationDescriptionHandler.getDescribedOp(ReadOperationDescriptionHandler.java:124)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.operations.global.ReadOperationDescriptionHandler.execute(ReadOperationDescriptionHandler.java:89)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:1045)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:777)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:466)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1427)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:449)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.lambda$executeForResponse$0(ModelControllerImpl.java:260)
      	at org.wildfly.security.elytron-base@1.19.1.CR1-SNAPSHOT//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:304)
      	at org.wildfly.security.elytron-base@1.19.1.CR1-SNAPSHOT//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:270)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.executeForResponse(ModelControllerImpl.java:260)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.executeOperation(ModelControllerImpl.java:254)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:237)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:241)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:163)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:159)
      	at org.wildfly.security.elytron-base@1.19.1.CR1-SNAPSHOT//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:328)
      	at org.wildfly.security.elytron-base@1.19.1.CR1-SNAPSHOT//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:285)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
      	at org.jboss.as.controller@19.0.0.Beta12-SNAPSHOT//org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:159)
      	at org.jboss.as.protocol@19.0.0.Beta12-SNAPSHOT//org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
      	at org.jboss.as.protocol@19.0.0.Beta12-SNAPSHOT//org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513)
      
      

              araskar@redhat.com Ashpan Raskar (Inactive)
              okotek@redhat.com Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: