public class JwtAuthenticationMechanismTest extends Object
JwtAuthenticationMechanism
Modifier and Type | Field and Description |
---|---|
org.jmock.integration.junit4.JUnitRuleMockery |
context |
Constructor and Description |
---|
JwtAuthenticationMechanismTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testAuthenticateWhenAuthenticatorFailsToAuthenticate() |
void |
testAuthenticateWhenAuthNotRequired() |
void |
testAuthenticateWhenIdentityManagerFailsToVerifyCredential() |
void |
testAuthenticateWhenNoTokenSpecified() |
void |
testAuthenticateWhenTokenAppearsInAuthHeader() |
void |
testAuthenticateWhenTokenInQueryParam() |
public void setUp()
public void testAuthenticateWhenAuthNotRequired()
public void testAuthenticateWhenNoTokenSpecified()
public void testAuthenticateWhenTokenAppearsInAuthHeader() throws Exception
Exception
public void testAuthenticateWhenTokenInQueryParam() throws Exception
Exception
public void testAuthenticateWhenAuthenticatorFailsToAuthenticate() throws Exception
Exception
Copyright © 2014–2019. All rights reserved.