Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Paul-Christian Volkmer
ARSnova Backend
Commits
8142e8d4
Commit
8142e8d4
authored
10 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Fix use of deprecated class
parent
6ec1e6d3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/controller/LoginController.java
+1
-2
1 addition, 2 deletions
src/main/java/de/thm/arsnova/controller/LoginController.java
with
1 addition
and
2 deletions
src/main/java/de/thm/arsnova/controller/LoginController.java
+
1
−
2
View file @
8142e8d4
...
@@ -44,7 +44,6 @@ import org.springframework.security.cas.web.CasAuthenticationEntryPoint;
...
@@ -44,7 +44,6 @@ import org.springframework.security.cas.web.CasAuthenticationEntryPoint;
import
org.springframework.security.core.Authentication
;
import
org.springframework.security.core.Authentication
;
import
org.springframework.security.core.AuthenticationException
;
import
org.springframework.security.core.AuthenticationException
;
import
org.springframework.security.core.GrantedAuthority
;
import
org.springframework.security.core.GrantedAuthority
;
import
org.springframework.security.core.authority.GrantedAuthorityImpl
;
import
org.springframework.security.core.authority.SimpleGrantedAuthority
;
import
org.springframework.security.core.authority.SimpleGrantedAuthority
;
import
org.springframework.security.core.context.SecurityContextHolder
;
import
org.springframework.security.core.context.SecurityContextHolder
;
import
org.springframework.security.core.token.Sha512DigestUtils
;
import
org.springframework.security.core.token.Sha512DigestUtils
;
...
@@ -289,7 +288,7 @@ public class LoginController extends AbstractController {
...
@@ -289,7 +288,7 @@ public class LoginController extends AbstractController {
private
Collection
<
GrantedAuthority
>
getAuthorities
()
{
private
Collection
<
GrantedAuthority
>
getAuthorities
()
{
List
<
GrantedAuthority
>
authList
=
new
ArrayList
<
GrantedAuthority
>();
List
<
GrantedAuthority
>
authList
=
new
ArrayList
<
GrantedAuthority
>();
authList
.
add
(
new
GrantedAuthority
Impl
(
"ROLE_USER"
));
authList
.
add
(
new
Simple
GrantedAuthority
(
"ROLE_USER"
));
return
authList
;
return
authList
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment