[
https://issues.jboss.org/browse/AS7-3502?page=com.atlassian.jira.plugin.s...
]
Jan Lanik resolved AS7-3502.
----------------------------
Resolution: Rejected
<vault> not supported in standalone.xml - password maskind
doesn't work
-----------------------------------------------------------------------
Key: AS7-3502
URL:
https://issues.jboss.org/browse/AS7-3502
Project: Application Server 7
Issue Type: Bug
Components: Security
Environment: commit: fa19da5ffce7ce765af4700af9126c1a9acc5505
Reporter: Jan Lanik
Assignee: Jan Lanik
Priority: Blocker
I tried to set up Vault as documented here:
https://community.jboss.org/wiki/AS7UtilisingMaskedPasswordsViaTheVault
The server did non started because of a parsing error - it seems that it does not know
<vault> tag at all (See the stacktrace bellow).
As a consequence Password Masking does not work.
This is a blocker for testsuite development.
14:30:06,876 ERROR [org.jboss.as.controller.management-operation] JBAS014612: Operation
("add") failed - address: ([("core-service" =>
"vault")]): java.lang.RuntimeException: JBAS015804: Error initializing vault --
org.jboss.as.server.services.security.VaultReaderException:
org.jboss.security.vault.SecurityVaultException:
org.jboss.security.vault.SecurityVaultException: PB00026: Wrong
Format:/opt/AS7/PasswordMasking/jboss-as/testsuite/integration/basic/src/test/resources/securitydoes
not end with / or \
at
org.jboss.as.server.services.security.VaultAddHandler.performRuntime(VaultAddHandler.java:115)
at
org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:378)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:265)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:193)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.ParallelBootOperationStepHandler.execute(ParallelBootOperationStepHandler.java:161)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:378)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:265)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:193)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:165)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:192)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at org.jboss.as.server.ServerService.boot(ServerService.java:272)
at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:187)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at org.jboss.as.server.ServerService.boot(ServerService.java:261)
at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155)
[jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
Caused by: org.jboss.as.server.services.security.VaultReaderException:
org.jboss.security.vault.SecurityVaultException:
org.jboss.security.vault.SecurityVaultException: PB00026: Wrong
Format:/opt/AS7/PasswordMasking/jboss-as/testsuite/integration/basic/src/test/resources/securitydoes
not end with / or \
at
org.jboss.as.security.vault.RuntimeVaultReader.createVault(RuntimeVaultReader.java:84)
at
org.jboss.as.server.services.security.VaultAddHandler.performRuntime(VaultAddHandler.java:113)
... 15 more
Caused by: org.jboss.security.vault.SecurityVaultException:
org.jboss.security.vault.SecurityVaultException: PB00026: Wrong
Format:/opt/AS7/PasswordMasking/jboss-as/testsuite/integration/basic/src/test/resources/securitydoes
not end with / or \
at
org.picketbox.plugins.vault.PicketBoxSecurityVault.init(PicketBoxSecurityVault.java:194)
at
org.jboss.as.security.vault.RuntimeVaultReader.createVault(RuntimeVaultReader.java:82)
... 16 more
Caused by: org.jboss.security.vault.SecurityVaultException: PB00026: Wrong
Format:/opt/AS7/PasswordMasking/jboss-as/testsuite/integration/basic/src/test/resources/securitydoes
not end with / or \
at
org.picketbox.plugins.vault.PicketBoxSecurityVault.init(PicketBoxSecurityVault.java:176)
... 17 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira