[
https://issues.jboss.org/browse/AS7-1895?page=com.atlassian.jira.plugin.s...
]
Anil Saldhana commented on AS7-1895:
------------------------------------
Interaction:
anil@localhost:~/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/bin/util$
./vault.sh
=========================================================================
JBoss Vault
JBOSS_HOME: /home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT
JAVA: /opt/java/jdk1.6.0_23/bin/java
VAULT Classpath:
/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/picketbox/main/*:/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/jboss/logging/main/*:/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/jboss/common-core/main/*:/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/jboss/as/security/main/*
=========================================================================
/opt/java/jdk1.6.0_23/bin/java -classpath
/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/picketbox/main/*:/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/jboss/logging/main/*:/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/jboss/common-core/main/*:/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/jboss/as/security/main/*
org.jboss.as.security.vault.VaultTool
**********************************
**** JBoss Vault ********
**********************************
Please enter a Digit:: 0: Start Interactive Session 1: Remove Interactive Session 2:
Exit
0
Starting an interactive session
Enter directory to store encrypted files (end with either / or \ based on Unix or
Windows:/home/anil/vault/
Enter Keystore URL:/home/anil/vault/vault.keystore
Enter Keystore password:
Enter Keystore password again:
Values match
Enter 8 character salt:12345678
Enter iteration count as a number (Eg: 44):50
Please make note of the following:
********************************************
Masked Password:MASK-5WNXs8oEbrs
salt:12345678
Iteration Count:50
********************************************
Enter Keystore Alias:vault
Sep 21, 2011 2:37:57 PM org.jboss.security.vault.SecurityVaultFactory get
INFO: Getting Security Vault with implementation of
org.picketbox.plugins.vault.PicketBoxSecurityVault
Obtained Vault
Intializing Vault
Vault is initialized and ready for use
Handshake with Vault complete
Please enter a Digit:: 0: Store a password 1: Check whether password exists 2: Exit
1
Task: Verify whether a password exists
Enter Vault Block:security
Enter Attribute Name:pass
Enter Shared Key:ZWIyNjhkY2EtODk0ZC00NGMyLWE0YTEtNmE1M2I2NzE1YjdmTElORV9CUkVBS3ZhdWx0
A value exists for (security, pass)
Please enter a Digit:: 0: Store a password 1: Check whether password exists 2: Exit
2
anil@localhost:~/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/bin/util$
./vault.sh
/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT
=========================================================================
JBoss Vault
JBOSS_HOME: /home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT
JAVA: /opt/java/jdk1.6.0_23/bin/java
VAULT Classpath:
/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/picketbox/main/*:/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/jboss/logging/main/*:/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/jboss/common-core/main/*:/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/jboss/as/security/main/*
=========================================================================
/opt/java/jdk1.6.0_23/bin/java -classpath
/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/picketbox/main/*:/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/jboss/logging/main/*:/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/jboss/common-core/main/*:/home/anil/as7/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules/org/jboss/as/security/main/*
org.jboss.as.security.vault.VaultTool
**********************************
**** JBoss Vault ********
**********************************
Please enter a Digit:: 0: Start Interactive Session 1: Remove Interactive Session 2:
Exit
0
Starting an interactive session
Enter directory to store encrypted files (end with either / or \ based on Unix or
Windows:/home/anil/vault/
Enter Keystore URL:/home/anil/vault/vault.keystore
Enter Keystore password:
Enter Keystore password again:
Values match
Enter 8 character salt:12345678
Enter iteration count as a number (Eg: 44):50
Please make note of the following:
********************************************
Masked Password:MASK-5WNXs8oEbrs
salt:12345678
Iteration Count:50
********************************************
Enter Keystore Alias:vault
Sep 21, 2011 2:38:55 PM org.jboss.security.vault.SecurityVaultFactory get
INFO: Getting Security Vault with implementation of
org.picketbox.plugins.vault.PicketBoxSecurityVault
Obtained Vault
Intializing Vault
Vault is initialized and ready for use
Handshake with Vault complete
Please enter a Digit:: 0: Store a password 1: Check whether password exists 2: Exit
1
Task: Verify whether a password exists
Enter Vault Block:security
Enter Attribute Name:pass
Enter Shared Key:ZWIyNjhkY2EtODk0ZC00NGMyLWE0YTEtNmE1M2I2NzE1YjdmTElORV9CUkVBS3ZhdWx0
A value exists for (security, pass)
Please enter a Digit:: 0: Store a password 1: Check whether password exists 2: Exit
2
VaultTool for command line interaction
--------------------------------------
Key: AS7-1895
URL:
https://issues.jboss.org/browse/AS7-1895
Project: Application Server 7
Issue Type: Sub-task
Components: Security
Reporter: Anil Saldhana
Assignee: Anil Saldhana
Fix For: 7.1.0.Alpha1
We need a script called vault.sh that will make use of VaultTool interactive class to
deal with the default implementation of the PicketBox SecurityVault interface.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira