public class SAML1SPSessionCreationStrategy extends Object implements Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.idp.session.SPSession>
SAML1SPSession based on profile execution state.
This strategy is a default approach that uses a lookup strategy for a RelyingPartyContext
to obtain an issuer value, used as the SPSession's relying party ID. The authentication flow ID
comes from the AuthenticationResult in the
AuthenticationContext.
The session has a creation time based on the time of execution, and the expiration is based on
a configurable lifetime.
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext> |
relyingPartyContextLookupStrategy
RelyingPartyContext lookup strategy.
|
private long |
sessionLifetime
Lifetime of sessions to create.
|
| Constructor and Description |
|---|
SAML1SPSessionCreationStrategy(long lifetime)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
net.shibboleth.idp.session.SPSession |
apply(org.opensaml.profile.context.ProfileRequestContext input) |
void |
setRelyingPartyContextLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext> strategy)
Set the strategy used to locate the
RelyingPartyContext to operate on. |
@Nonnull private final org.slf4j.Logger log
@Positive @Duration private final long sessionLifetime
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext> relyingPartyContextLookupStrategy
public void setRelyingPartyContextLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext> strategy)
RelyingPartyContext to operate on.strategy - lookup strategyCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.