Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ELY-908] Fixed LegacyPropertiesSecurityRealmTest #649

Merged
merged 1 commit into from
Feb 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.wildfly.security.WildFlyElytronProvider;
import org.wildfly.security.auth.principal.NamePrincipal;
Expand Down Expand Up @@ -274,7 +273,6 @@ public void testSpecialChar_atSignUsername() throws Exception {
* Test that username in property file can contain umlaut characters.
*/
@Test
@Ignore("https://issues.jboss.org/browse/ELY-691")
public void testSpecialChar_umlautsUsername() throws Exception {
checkVerifyIdentity(specialCharsRealm, "elytronumlautöäü", ELYTRON_SIMPLE_PASSWORD);
}
Expand All @@ -283,7 +281,6 @@ public void testSpecialChar_umlautsUsername() throws Exception {
* Test that username in property file can contain Chinese characters.
*/
@Test
@Ignore("https://issues.jboss.org/browse/ELY-691")
public void testSpecialChar_chineseUsername() throws Exception {
checkVerifyIdentity(specialCharsRealm, "elytron用戶", ELYTRON_SIMPLE_PASSWORD);
}
Expand Down Expand Up @@ -373,7 +370,6 @@ public void testSpecialChar_quoteInPassword() throws Exception {
* Test that password in property file can contain umlaut characters.
*/
@Test
@Ignore("https://issues.jboss.org/browse/ELY-691")
public void testSpecialChar_umlautsPassword() throws Exception {
checkVerifyIdentity(specialCharsRealm, "elytron6", "passwordWithumlautöäü");
}
Expand All @@ -382,7 +378,6 @@ public void testSpecialChar_umlautsPassword() throws Exception {
* Test that password in property file can contain Chinese characters.
*/
@Test
@Ignore("https://issues.jboss.org/browse/ELY-691")
public void testSpecialChar_chinesePassword() throws Exception {
checkVerifyIdentity(specialCharsRealm, "elytron7", "用戶");
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
#
# Properties declaration of users for the realm 'ManagementRealm' which is the default realm
# for new installations. Further authentication mechanism can be configured
# as part of the <management /> in standalone.xml.
#
# Users can be added to this properties file at any time, updates after the server has started
# will be automatically detected.
#
# By default the properties realm expects the entries to be in the format: -
#
# A utility script is provided which can be executed from the bin folder to add the users: -
# - Linux
# bin/add-user.sh
#
# - Windows
# bin\add-user.bat
# On start-up the server will also automatically add a user $local - this user is specifically
# for local tools running against this AS installation.
#
# The following illustrates how an admin user could be defined, this
# is for illustration only and does not correspond to a usable password.
#
#$REALM_NAME=ManagementRealm$
elytron:password
!elytronWithExclamationMark=password
elytron@JBOSS.ORG=password
elytronumlaut\u00f6\u00e4\u00fc=password
elytron\u7528\u6236=password
elytronumlautöäü=password
elytron用戶=password
ElYtRoNuSeR=password
backslash\\=password
backslash\\inthemiddle=password
Expand All @@ -35,11 +14,6 @@ elytron2=pass\=word
elytron3=password\\
elytron4=pass\\word
elytron5=pass"word
elytron6=passwordWithumlaut\u00f6\u00e4\u00fc
elytron7=\u7528\u6236
elytron6=passwordWithumlautöäü
elytron7=用戶
elytron8=PaSsWoRd

#javajoe=29964e13022479e4db09c2b8a0e67b0f
#
#$REALM_NAME=ManagementRealm$ This line is used by the add-user utility to identify the realm name already used in this file.
#