Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
jaas-0.0.2
-
None
Description
Any LoginModule registered via config or factory SHOULD provide a realm/application name. However if none is specified then the realm name should be assumed to be 'other'.
Following should be supported
1. In case no realm name specified via 'jaas.realmName' the value should be set to 'other'
2. This default value can be changed by Admin via Configuration Spi settings and set it to any other value
The significance of using 'other' here is that LoginContext would first check config entry for provided applicationName. If none is found then it looks for config entry for an app name 'other'. So for default setup LoginModules which does not have any appname specified would be considered as part of 'other'. if the admin changes that then no such default logic would be used