HADOOP-11267. TestSecurityUtil fails when run with JDK8 because of empty principal names. Contributed by Stephen Chu.
This commit is contained in:
parent
834e931d8e
commit
8549fa5dc9
@ -403,6 +403,9 @@ Release 2.7.0 - UNRELEASED
|
||||
HADOOP-11266. Remove no longer supported activation properties for packaging
|
||||
from pom. (Masatake Iwasaki via wheat9)
|
||||
|
||||
HADOOP-11267. TestSecurityUtil fails when run with JDK8 because of empty
|
||||
principal names. (Stephen Chu via wheat9)
|
||||
|
||||
Release 2.6.0 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -55,12 +55,8 @@ public void isOriginalTGTReturnsCorrectValues() {
|
||||
(null));
|
||||
assertFalse(SecurityUtil.isTGSPrincipal
|
||||
(new KerberosPrincipal("blah")));
|
||||
assertFalse(SecurityUtil.isTGSPrincipal
|
||||
(new KerberosPrincipal("")));
|
||||
assertFalse(SecurityUtil.isTGSPrincipal
|
||||
(new KerberosPrincipal("krbtgt/hello")));
|
||||
assertFalse(SecurityUtil.isTGSPrincipal
|
||||
(new KerberosPrincipal("/@")));
|
||||
assertFalse(SecurityUtil.isTGSPrincipal
|
||||
(new KerberosPrincipal("krbtgt/foo@FOO")));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user