access to request object when using spring security
- by Hussain
When logging in I want to read the URL and base on the combination of subdomain, username and password user should be authorized.
like if the url is abc.xyz.com
i somehow need request object to get the subdomain and authorize user using the subdomain and username.