Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Stormpath.* properties should take precedence over config in shiro.ini #34

Open
bdemers opened this issue Sep 16, 2016 · 0 comments
Open

Comments

@bdemers
Copy link
Contributor

bdemers commented Sep 16, 2016

This is tricky due to how Shiro loads an object graph from the shiro.ini, but from a user perspective, the current behavior is less obvious.

Currently if a user has a shiro.ini that looks like:

[main]
...
stormpathRealm.applicationHref = http://etc..

Then there is NO way of overriding this via the command line using an environment variable of STORMPATH_APPLICATION_HREF or -Dstormpath.application.href=...

This is slightly related to SHIRO-501 (using system properties in the shiro.ini, but not exactly the same.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant