Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5302

secret-key-credential-store reload results in an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 15.0.0.Final
    • None
    • Security
    • None

      The {[reload}} operation of the secret-key-creadential-store resource results in an error

      [domain@localhost:9990 /] /subsystem=elytron/secret-key-credential-store=a:add(path=ax)
      {"outcome" => "success"}
      
      [domain@localhost:9990 /] /subsystem=elytron/secret-key-credential-store=a:read-aliases
      {
          "outcome" => "success",
          "result" => ["key"]
      }
      
      [domain@localhost:9990 /] /subsystem=elytron/secret-key-credential-store=a:reload
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0158: Operation handler failed: java.lang.ClassCastException: class org.wildfly.extension.elytron.SecretKeyCredentialStoreDefinition$SecretKeyDoohickey cannot be cast to clas
      s org.wildfly.extension.elytron.CredentialStoreResourceDefinition$CredentialStoreDoohickey (org.wildfly.extension.elytron.SecretKeyCredentialStoreDefinition$SecretKeyDoohickey and org.wildfly.extension.elytron.C
      redentialStoreResourceDefinition$CredentialStoreDoohickey are in unnamed module of loader 'org.wildfly.extension.elytron@15.0.0.Beta1-SNAPSHOT' @50dfce09)",
          "rolled-back" => true
      }
      

              darran.lofthouse@redhat.com Darran Lofthouse
              okotek@redhat.com Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: