public class RolesAllowedTest
extends org.jboss.arquillian.testng.Arquillian
| Constructor and Description |
|---|
RolesAllowedTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
callEcho() |
void |
callEcho2() |
void |
callEchoBASIC() |
void |
callEchoNoAuth() |
void |
callEchoNoGroups() |
void |
callEchoSignEncryptToken() |
void |
callEchoSignToken() |
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 |
noTokenHeaderSetToCookie() |
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 callEchoSignEncryptToken()
throws Exception
Exception@RunAsClient
public void checkIsUserInRoleToken2()
throws Exception
Exception@RunAsClient
public void echoNeedsToken2Role()
throws Exception
Exception@RunAsClient public void testNeedsGroup1Mapping()
@RunAsClient
public void getInjectedPrincipal()
throws Exception
ExceptionCopyright © 2017 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.