Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
loginservice
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanmw
loginservice
Commits
2de960ef
Commit
2de960ef
authored
Jun 26, 2019
by
linxu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://132.232.112.242:7022/lanmw/loginservice
parents
49e8d996
231ca999
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
LoginManagement.java
src/main/java/com/keymobile/proxy/api/LoginManagement.java
+1
-1
SecurityConfig.java
src/main/java/com/keymobile/proxy/conf/SecurityConfig.java
+2
-2
No files found.
src/main/java/com/keymobile/proxy/api/LoginManagement.java
View file @
2de960ef
...
...
@@ -14,7 +14,7 @@ import java.util.List;
import
java.util.Map
;
@RestController
@RequestMapping
(
value
=
"/
auth
"
)
@RequestMapping
(
value
=
"/"
)
public
class
LoginManagement
{
@RequestMapping
(
value
=
"/sessionInfo"
,
method
=
RequestMethod
.
POST
)
...
...
src/main/java/com/keymobile/proxy/conf/SecurityConfig.java
View file @
2de960ef
...
...
@@ -52,8 +52,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
http
.
formLogin
().
successHandler
(
authenticationSuccessHandler
);
http
.
formLogin
().
failureHandler
(
authenticationFailureHandler
);
http
.
formLogin
().
loginPage
(
"/login"
);
http
.
formLogin
().
loginProcessingUrl
(
"/
auth/
signin"
);
http
.
logout
().
logoutUrl
(
"/
auth/
signout"
);
http
.
formLogin
().
loginProcessingUrl
(
"/signin"
);
http
.
logout
().
logoutUrl
(
"/signout"
);
http
.
logout
().
logoutSuccessHandler
(
logoutSuccessHandler
);
}
...
...
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