public class TestContextBuilder extends Object
RequestContext needed for flow action tests.| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.profile.context.ProfileRequestContext |
profileRequestContext
Root of context tree for our tests.
|
| Constructor and Description |
|---|
TestContextBuilder(String profileId) |
| Modifier and Type | Method and Description |
|---|---|
TestContextBuilder |
addProtocolContext(Object request,
Object response) |
TestContextBuilder |
addRelyingPartyContext(String serviceURL,
boolean verified,
net.shibboleth.idp.profile.config.ProfileConfiguration config) |
TestContextBuilder |
addServiceContext(net.shibboleth.idp.cas.service.Service service) |
TestContextBuilder |
addSessionContext(net.shibboleth.idp.session.IdPSession session) |
TestContextBuilder |
addTicketContext(net.shibboleth.idp.cas.ticket.Ticket ticket) |
org.springframework.webflow.execution.RequestContext |
build() |
private org.opensaml.profile.context.ProfileRequestContext profileRequestContext
public TestContextBuilder(String profileId)
public TestContextBuilder addSessionContext(net.shibboleth.idp.session.IdPSession session)
public TestContextBuilder addProtocolContext(Object request, Object response)
public TestContextBuilder addTicketContext(net.shibboleth.idp.cas.ticket.Ticket ticket)
public TestContextBuilder addRelyingPartyContext(String serviceURL, boolean verified, net.shibboleth.idp.profile.config.ProfileConfiguration config)
public TestContextBuilder addServiceContext(net.shibboleth.idp.cas.service.Service service)
public org.springframework.webflow.execution.RequestContext build()
Copyright © 1999–2014. All rights reserved.