Reputation: 4438
Is there a way to configure the password strength for the add-user.sh script in Jboss 6 EAP?
Upvotes: 1
Views: 3038
Reputation: 3390
This was not possible, so somebody made a feature request for it in the community Wildfly project: https://issues.jboss.org/browse/WFLY-1611
Wildfly 8 should have it, but it's not known when (if ever) this gets merged back to EAP 6.
Alternatively, you can bypass add-user and create the user by hand with any password for standalone mode. Of course, it's not because you can that you should always do so, password rules are there for security. Only do this for development, and surely don't copy your install or configuration folder to production!
<jboss-install>/standalone/configuration
and open mgmt-users.properties
.#$REALM_NAME=
and note the value after the =
, last $
excluded. In my case it is ManagementRealm
.echo -n '<user>:<realm>:<password>' | md5sum
md5sum
will output a hexidecimal value. Go back to mgmt-users.properties
and add a line at the end:<user>=<MD5 hash>
Upvotes: 0
Reputation: 166
There is no such a way to define the rules but it allows alphanumerics and special characters...
Upvotes: 1