Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
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
ARSnova
ARSnova Backend
Commits
01addf24
Commit
01addf24
authored
10 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Adjust formatting of Value annotations
parent
092e9db5
Branches
Branches containing commit
Tags
Tags containing commit
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
+21
-54
21 additions, 54 deletions
src/main/java/de/thm/arsnova/controller/LoginController.java
with
21 additions
and
54 deletions
src/main/java/de/thm/arsnova/controller/LoginController.java
+
21
−
54
View file @
01addf24
...
...
@@ -71,68 +71,35 @@ public class LoginController extends AbstractController {
private
static
final
int
MAX_USERNAME_LENGTH
=
15
;
private
static
final
int
MAX_GUESTHASH_LENGTH
=
10
;
@Value
(
"${customization.path}"
)
private
String
customizationPath
;
@Value
(
"${customization.path}"
)
private
String
customizationPath
;
@Value
(
"${security.guest.enabled}"
)
private
String
guestEnabled
;
@Value
(
"${security.guest.enabled}"
)
private
String
guestEnabled
;
@Value
(
"${security.guest.lecturer.enabled}"
)
private
String
guest
Lecturer
Enabled
;
@Value
(
"${security.guest.lecturer.enabled}"
)
private
String
guestLecturerEnabled
;
@Value
(
"${security.custom-login.enabled}"
)
private
String
customLoginEnabled
;
@Value
(
"${security.custom-login.title:University}"
)
private
String
customLoginTitle
;
@Value
(
"${security.custom-login.login-dialog-path}"
)
private
String
customLoginDialog
;
@Value
(
"${security.custom-login.image:}"
)
private
String
customLoginImage
;
@Value
(
"${security.custom-login.enabled}"
)
private
String
customLoginEnabled
;
@Value
(
"${security.user-db.enabled}"
)
private
String
dbAuthEnabled
;
@Value
(
"${security.user-db.title:ARSnova}"
)
private
String
dbAuthTitle
;
@Value
(
"${security.user-db.login-dialog-path}"
)
private
String
dbAuthDialog
;
@Value
(
"${security.user-db.image:}"
)
private
String
dbAuthImage
;
@Value
(
"${security.custom-login.title:University}"
)
private
String
customLoginTitle
;
@Value
(
"${security.ldap.enabled}"
)
private
String
ldapEnabled
;
@Value
(
"${security.ldap.title:LDAP}"
)
private
String
ldapTitle
;
@Value
(
"${security.ldap.login-dialog-path}"
)
private
String
ldapDialog
;
@Value
(
"${security.ldap.image:}"
)
private
String
ldapImage
;
@Value
(
"${security.custom-login.login-dialog-path}"
)
private
String
customLoginDialog
;
@Value
(
"${security.cas.enabled}"
)
private
String
casEnabled
;
@Value
(
"${security.cas.title:CAS}"
)
private
String
casTitle
;
@Value
(
"${security.cas.image:}"
)
private
String
casImage
;
@Value
(
"${security.custom-login.image:}"
)
private
String
customLoginImage
;
@Value
(
"${security.facebook.enabled}"
)
private
String
facebookEnabled
;
@Value
(
"${security.user-db.enabled}"
)
private
String
dbAuthEnabled
;
@Value
(
"${security.google.enabled}"
)
private
String
googleEnabled
;
@Value
(
"${security.user-db.title:ARSnova}"
)
private
String
dbAuthTitle
;
@Value
(
"${security.user-db.login-dialog-path}"
)
private
String
dbAuthDialog
;
@Value
(
"${security.user-db.image:}"
)
private
String
dbAuthImage
;
@Value
(
"${security.ldap.enabled}"
)
private
String
ldapEnabled
;
@Value
(
"${security.ldap.title:LDAP}"
)
private
String
ldapTitle
;
@Value
(
"${security.ldap.login-dialog-path}"
)
private
String
ldapDialog
;
@Value
(
"${security.ldap.image:}"
)
private
String
ldapImage
;
@Value
(
"${security.cas.enabled}"
)
private
String
casEnabled
;
@Value
(
"${security.cas.title:CAS}"
)
private
String
casTitle
;
@Value
(
"${security.cas.image:}"
)
private
String
casImage
;
@Value
(
"${security.facebook.enabled}"
)
private
String
facebookEnabled
;
@Value
(
"${security.google.enabled}"
)
private
String
googleEnabled
;
@Value
(
"${security.twitter.enabled}"
)
private
String
twitterEnabled
;
@Value
(
"${security.twitter.enabled}"
)
private
String
twitterEnabled
;
@Autowired
(
required
=
false
)
private
DaoAuthenticationProvider
daoProvider
;
...
...
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