Previous Topic

Next Topic

Book Contents

Book Index

Util Simple Login Bundle

System Property

Default Value

Description

mbs.sm

true

Turns on/off the Security Manager, implemented by the User Admin Extension bundle. Can be used only if the mbs.xuseradmin.sm system property is true.

When setting the mbs.useradmin.automatic system property to true under JDK 1.1, this property must be set to false.

mbs.useradmin.anonymousConnect

false

Turns on/off connecting to the framework with user-defined user name and password. When set to true, it switches off basic authentication. It should be enabled when the User Admin service of the User Admin Bundle is NOT available in the Framework. Then a user will always be able to log into a system requiring user authentication.

mbs.useradmin.automatic

false

Defines whether the authorization object received during login, will be associated with the current thread.

mbs.useradmin.default.username

admin

Determines the name of the default administrator user.

mbs.useradmin.default.password

admin

Determines the password of the default administrator user.

mbs.useradmin.createAdmin

true

On the very first start of the Simple Login bundle, when there is no framework persistent storage, the property is ignored and the admin/admin user is created.
When there is already a persistent storage after restart of the framework or the bundle, the property is taken into account.

mbs.useradmin.createAnonymous

false

Indicates if to create a universal user account with name "anonymous" and empty password on registering the User Admin service in the Framework.

mbs.useradmin.default.hashAlgorithm

PBKDF2WithHmacSHA256

Specifies the default standard name of the requested secret-key algorithm. Its value is used to generate the hash of the password credentials. The possible values of this property are standard algorithm names described in SecretKeyFactory Algorithms.

mbs.useradmin.default.saltAlgorithm

Depends on your operating system and JRE.

Specifies the default standard name of the RNG algorithm. Its value is used to generate the salt for the password credentials. The possible values of this property are standard algorithm names described in SecureRandom Number Generation (RNG) Algorithms.

mbs.useradmin.default.hashIterationCount

100000

Specifies the default iterations' count. Its value is used for generating the hash of the password credentials.

To use successfully the above system properties, you have to set them: