parent
28974b5723
commit
999658826f
|
@ -240,6 +240,7 @@ public class SamlAuthenticationIT extends ESRestTestCase {
|
|||
* <li>Uses that token to verify the user details</li>
|
||||
* </ol>
|
||||
*/
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/44410")
|
||||
public void testLoginUserWithSamlRoleMapping() throws Exception {
|
||||
// this ACS comes from the config in build.gradle
|
||||
final Tuple<String, String> authTokens = loginViaSaml("http://localhost:54321" + SP_ACS_PATH_1);
|
||||
|
@ -248,6 +249,7 @@ public class SamlAuthenticationIT extends ESRestTestCase {
|
|||
verifyElasticsearchAccessTokenForRoleMapping(accessToken);
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/44410")
|
||||
public void testLoginUserWithAuthorizingRealm() throws Exception {
|
||||
// this ACS comes from the config in build.gradle
|
||||
final Tuple<String, String> authTokens = loginViaSaml("http://localhost:54321" + SP_ACS_PATH_2);
|
||||
|
@ -256,6 +258,7 @@ public class SamlAuthenticationIT extends ESRestTestCase {
|
|||
verifyElasticsearchAccessTokenForAuthorizingRealms(accessToken);
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/44410")
|
||||
public void testLoginWithWrongRealmFails() throws Exception {
|
||||
this.acs = new URI("http://localhost:54321" + SP_ACS_PATH_WRONG_REALM);
|
||||
final BasicHttpContext context = new BasicHttpContext();
|
||||
|
|
Loading…
Reference in New Issue