public class RolesAllowedSignEncryptTest
extends org.jboss.arquillian.testng.Arquillian
Constructor and Description |
---|
RolesAllowedSignEncryptTest() |
Modifier and Type | Method and Description |
---|---|
void |
callEcho2() |
void |
callEchoBASIC() |
void |
callEchoNoAuth() |
void |
callEchoRsaOaep() |
void |
callEchoSignEncryptToken() |
void |
callEchoSignToken() |
void |
callEchoWithoutCty() |
void |
callHeartbeat() |
void |
checkIsUserInRole() |
void |
checkIsUserInRoleToken2() |
static org.jboss.shrinkwrap.api.spec.WebArchive |
createDeployment()
Create a CDI aware base web application archive
|
void |
echoNeedsToken2Role() |
void |
echoWithToken2() |
static void |
generateToken() |
void |
getInjectedPrincipal() |
void |
getPrincipalClass() |
void |
testNeedsGroup1Mapping()
This test requires that the server provide a mapping from the group1 grant in the token to a Group1MappedRole
application declared role.
|
@Deployment(testable=true) public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment() throws IOException
IOException
- - on resource failure@BeforeClass(alwaysRun=true) public static void generateToken() throws Exception
Exception
@RunAsClient public void callEchoNoAuth()
@RunAsClient public void callEchoBASIC()
@RunAsClient public void callEchoRsaOaep()
@RunAsClient public void callEchoSignEncryptToken() throws Exception
Exception
@RunAsClient public void callEcho2()
@RunAsClient public void checkIsUserInRole()
@RunAsClient public void checkIsUserInRoleToken2() throws Exception
Exception
@RunAsClient public void echoNeedsToken2Role() throws Exception
Exception
@RunAsClient public void getPrincipalClass()
@RunAsClient public void testNeedsGroup1Mapping()
@RunAsClient public void getInjectedPrincipal()
@RunAsClient public void callHeartbeat()
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.