Commit a4896771 by Vuk Lazovic

ispravljena autentifikacija

parent 0f9cd90a
......@@ -2,6 +2,8 @@ eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8
......@@ -26,7 +26,7 @@ public class Bezbednost extends WebSecurityConfigurerAdapter {
}
@Bean
public DaoAuthenticationProvider autentikacija() {
public DaoAuthenticationProvider autentifikacija() {
DaoAuthenticationProvider a = new DaoAuthenticationProvider();
a.setUserDetailsService(ku);
a.setPasswordEncoder(enkoder());
......@@ -35,7 +35,7 @@ public class Bezbednost extends WebSecurityConfigurerAdapter {
@Override
protected void configure(AuthenticationManagerBuilder b) throws Exception {
b.authenticationProvider(autentikacija());
b.authenticationProvider(autentifikacija());
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment