Class HTTPPostAuthnRequestEncoderTest
- java.lang.Object
-
- net.shibboleth.oidc.profile.encoder.impl.HTTPPostAuthnRequestEncoderTest
-
public class HTTPPostAuthnRequestEncoderTest extends Object
Test for the HTTPPostAuthnRequestEncoder.
-
-
Field Summary
Fields Modifier and Type Field Description private MessageContextcontextThe message context.private net.shibboleth.oidc.profile.encoder.impl.HTTPPostAuthnRequestEncoderencoderThe encoder to test.private MockHttpServletResponsemockResponseMock servlet response.private net.shibboleth.oidc.profile.core.OIDCAuthenticationRequestrequestThe authentication request.
-
Constructor Summary
Constructors Constructor Description HTTPPostAuthnRequestEncoderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestNullEndpointURL()voidtestSuccesfullEncoding()voidtestUninitialized()
-
-
-
Field Detail
-
mockResponse
private MockHttpServletResponse mockResponse
Mock servlet response.
-
encoder
private net.shibboleth.oidc.profile.encoder.impl.HTTPPostAuthnRequestEncoder encoder
The encoder to test.
-
request
private net.shibboleth.oidc.profile.core.OIDCAuthenticationRequest request
The authentication request.
-
context
private MessageContext context
The message context.
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws Exception
- Throws:
Exception
-
testSuccesfullEncoding
public void testSuccesfullEncoding() throws MessageEncodingException, ComponentInitializationException, UnsupportedEncodingException
-
testUninitialized
public void testUninitialized() throws MessageEncodingException- Throws:
MessageEncodingException
-
-