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
8545ae0d
Commit
8545ae0d
authored
Sep 19, 2022
by
Vuk Lazovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
login/logout/anonymous user...
parent
e5e07021
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
+10
-8
.idea/workspace.xml
+8
-2
src/main/java/app/config/Bezbednost.java
+2
-2
src/main/java/app/usluga/web/MainKontroler.java
+0
-4
src/main/resources/templates/index.html
+0
-0
src/main/resources/templates/loggedin.html
+0
-0
No files found.
.idea/workspace.xml
View file @
8545ae0d
...
...
@@ -4,9 +4,12 @@
<option
name=
"autoReloadType"
value=
"ALL"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"6e82c7f1-3949-40e2-bc26-7eb50b36f993"
name=
"Default Changelist"
comment=
""
>
<list
default=
"true"
id=
"6e82c7f1-3949-40e2-bc26-7eb50b36f993"
name=
"Default Changelist"
comment=
"
dodata ulogovana verzija
"
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/templates/dodaj.html"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/templates/dodaj.html"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/app/config/Bezbednost.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/app/config/Bezbednost.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/app/usluga/web/MainKontroler.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/app/usluga/web/MainKontroler.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/templates/index.html"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/templates/index.html"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/templates/loggedin.html"
beforeDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -191,6 +194,9 @@
<workItem
from=
"1663427050863"
duration=
"1923000"
/>
<workItem
from=
"1663500169914"
duration=
"6177000"
/>
<workItem
from=
"1663512751550"
duration=
"4807000"
/>
<workItem
from=
"1663587110231"
duration=
"665000"
/>
<workItem
from=
"1663587883995"
duration=
"11000"
/>
<workItem
from=
"1663589644471"
duration=
"979000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"dodata ulogovana verzija"
>
<created>
1663501497955
</created>
...
...
src/main/java/app/config/Bezbednost.java
View file @
8545ae0d
...
...
@@ -64,14 +64,14 @@ public class Bezbednost extends WebSecurityConfigurerAdapter {
.
and
()
.
formLogin
()
.
loginPage
(
"/login"
)
.
defaultSuccessUrl
(
"/
loggedin
"
,
true
)
.
defaultSuccessUrl
(
"/"
,
true
)
.
permitAll
()
.
and
()
.
logout
()
.
invalidateHttpSession
(
true
)
.
clearAuthentication
(
true
)
.
logoutRequestMatcher
(
new
AntPathRequestMatcher
(
"/logout"
))
.
logoutSuccessUrl
(
"/
login?logout
"
)
.
logoutSuccessUrl
(
"/"
)
.
permitAll
();
}
...
...
src/main/java/app/usluga/web/MainKontroler.java
View file @
8545ae0d
...
...
@@ -25,10 +25,6 @@ public class MainKontroler {
return
"index"
;
}
@GetMapping
(
"/loggedin"
)
public
String
prikaziLoggedin
()
{
return
"loggedin"
;
}
@GetMapping
(
"/dodaj"
)
public
String
prikazidodaj
()
{
...
...
src/main/resources/templates/index.html
View file @
8545ae0d
This diff is collapsed.
Click to expand it.
src/main/resources/templates/loggedin.html
deleted
100644 → 0
View file @
e5e07021
This diff is collapsed.
Click to expand it.
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