Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TucWLAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
urz-anwendungen
TucWLAN
Commits
96dace0c
Commit
96dace0c
authored
Jan 24, 2019
by
Toni Beier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Checklist show error if user identity is empty
parent
f351e1b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
app/src/main/java/de/tu_chemnitz/wlan/Helper.java
app/src/main/java/de/tu_chemnitz/wlan/Helper.java
+11
-5
app/src/main/res/values/strings.xml
app/src/main/res/values/strings.xml
+1
-0
No files found.
app/src/main/java/de/tu_chemnitz/wlan/Helper.java
View file @
96dace0c
...
...
@@ -609,15 +609,21 @@ class Helper {
else
if
(
currentConfig
.
allowedGroupCiphers
.
toString
().
contains
(
"2"
))
message
+=
" with TKIP"
;
list
.
add
(
new
MainActivity
.
TickLine
(
ticked
,
message
,
"SSID"
,
false
));
ticked
=
false
;
message
=
currentConfig
.
enterpriseConfig
.
getIdentity
();
if
(
message
.
contains
(
"@"
)
)
{
message
=
message
.
substring
(
0
,
message
.
indexOf
(
'@'
));
if
(
message
.
contains
(
"-"
)
)
{
message
=
message
.
substring
(
0
,
message
.
indexOf
(
'-'
));
if
(
message
!=
null
&&
!
message
.
isEmpty
()
)
{
if
(
message
.
contains
(
"@"
))
{
message
=
message
.
substring
(
0
,
message
.
indexOf
(
'@'
));
if
(
message
.
contains
(
"-"
))
{
message
=
message
.
substring
(
0
,
message
.
indexOf
(
'-'
));
ticked
=
true
;
}
}
}
else
{
message
=
context
.
getString
(
R
.
string
.
tickline_subtext_user_identity_not_found
);
ticked
=
false
;
}
ticked
=
true
;
list
.
add
(
new
MainActivity
.
TickLine
(
ticked
,
message
,
"User Identität"
,
false
));
if
(
currentConfig
.
enterpriseConfig
.
getAnonymousIdentity
().
length
()>
0
)
{
...
...
app/src/main/res/values/strings.xml
View file @
96dace0c
...
...
@@ -19,6 +19,7 @@
<string
name=
"tickline_subtext_ca_cert_certificate_ok"
>
OK
</string>
<string
name=
"tickline_subtext_ca_cert_certificate_not_found"
>
Zertifikat nicht gefunden
</string>
<string
name=
"tickline_subtext_ca_cert_certificate_wrong"
>
Falsches Zertifikat
</string>
<string
name=
"tickline_subtext_user_identity_not_found"
>
Nicht vorhanden
</string>
<plurals
name=
"connect_to_internet_message"
>
<item
quantity=
"one"
>
Bitte stelle eine Internetverbindung mit einem WLAN oder über mobile Daten her.\nIn der TU Chemnitz kannst du das WLAN Netz %1$s verwenden.
</item>
...
...
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