Writing in sperate Class Files
Phil1991 opened this issue · comments
hi,
I tried to use this sample and make seperate class files. I made a UserController, this has the mapping method to /user. Also i moved the ClientResources in a seperate Class file and in the last step I made SecurityServer.java file, that extends the WebSecurityConfigurerAdapter and holds the methods configure, ssoFilter, github, facebook and the oauth2ClientFilterRegistration.
If I now start the server and go to localhost:8080, it changes the url to localhost:8080/login and a login form is shown instead of the links of index.html...
What did i do wrong?
Can you help me?
thanks
forgot the @configuration annotation closed....