I want to know if its possible to configure Shiro without the shiro.ini file, I mean, instead of using the INI file, what if I need to make the Shiro config to be hardcoded in a Java class?
Yes it is possible. The documentation says how to do it:
http://shiro.apache.org/configuration.html#Configuration-ProgrammaticConfiguration
see Credentials Matching
or use jdbc custom realm here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With