Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
awesomelands
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vuk Lazovic
awesomelands
Commits
a4896771
Commit
a4896771
authored
Sep 14, 2022
by
Vuk Lazovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ispravljena autentifikacija
parent
0f9cd90a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
RegLog/.gitignore
+1
-0
RegLog/.settings/org.eclipse.jdt.core.prefs
+2
-0
RegLog/src/main/java/app/config/Bezbednost.java
+2
-2
RegLog/target/classes/app/config/Bezbednost.class
+0
-0
No files found.
RegLog/.gitignore
0 → 100644
View file @
a4896771
/target/
RegLog/.settings/org.eclipse.jdt.core.prefs
View file @
a4896771
...
@@ -2,6 +2,8 @@ eclipse.preferences.version=1
...
@@ -2,6 +2,8 @@ eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=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.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8
org.eclipse.jdt.core.compiler.source=1.8
RegLog/src/main/java/app/config/Bezbednost.java
View file @
a4896771
...
@@ -26,7 +26,7 @@ public class Bezbednost extends WebSecurityConfigurerAdapter {
...
@@ -26,7 +26,7 @@ public class Bezbednost extends WebSecurityConfigurerAdapter {
}
}
@Bean
@Bean
public
DaoAuthenticationProvider
autentikacija
()
{
public
DaoAuthenticationProvider
autenti
fi
kacija
()
{
DaoAuthenticationProvider
a
=
new
DaoAuthenticationProvider
();
DaoAuthenticationProvider
a
=
new
DaoAuthenticationProvider
();
a
.
setUserDetailsService
(
ku
);
a
.
setUserDetailsService
(
ku
);
a
.
setPasswordEncoder
(
enkoder
());
a
.
setPasswordEncoder
(
enkoder
());
...
@@ -35,7 +35,7 @@ public class Bezbednost extends WebSecurityConfigurerAdapter {
...
@@ -35,7 +35,7 @@ public class Bezbednost extends WebSecurityConfigurerAdapter {
@Override
@Override
protected
void
configure
(
AuthenticationManagerBuilder
b
)
throws
Exception
{
protected
void
configure
(
AuthenticationManagerBuilder
b
)
throws
Exception
{
b
.
authenticationProvider
(
autentikacija
());
b
.
authenticationProvider
(
autenti
fi
kacija
());
}
}
@Override
@Override
...
...
RegLog/target/classes/app/config/Bezbednost.class
View file @
a4896771
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment