public class WriteFTICKSLog extends AbstractProfileAction
EventIds.PROCEED_EVENT_ID| Modifier and Type | Field and Description |
|---|---|
private Function<org.opensaml.profile.context.ProfileRequestContext,AuditContext> |
auditContextLookupStrategy
Strategy used to locate the
AuditContext associated with a given ProfileRequestContext. |
private Function<org.opensaml.profile.context.ProfileRequestContext,String> |
authenticationMethodLookupStrategy
Lookup strategy for authentication method.
|
private String |
digestAlgorithm
Digest algorithm for username hashing.
|
private StringDigester |
digester
Username hasher.
|
private String |
federationId
Federation ID for log.
|
static String |
FTICKS_LOG_CATEGORY
Logging category to use.
|
private Function<org.opensaml.profile.context.ProfileRequestContext,String> |
relyingPartyLookupStrategy
Lookup strategy for relying party ID.
|
private Function<org.opensaml.profile.context.ProfileRequestContext,String> |
responderLookupStrategy
Lookup strategy for responder ID.
|
private String |
salt
Salt for username hashing.
|
private Function<org.opensaml.profile.context.ProfileRequestContext,String> |
statusCodeLookupStrategy
Lookup strategy for StatusCode.
|
private Function<org.opensaml.profile.context.ProfileRequestContext,String> |
usernameLookupStrategy
Lookup strategy for username.
|
| Constructor and Description |
|---|
WriteFTICKSLog()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) |
protected void |
doInitialize() |
void |
setAuthenticationMethodLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
Set the strategy used to locate the authentication method.
|
void |
setDigestAlgorithm(String alg)
Set the digest algorithm for username hashing.
|
void |
setFederationId(String id)
Set the federation identifier for the log.
|
void |
setRelyingPartyLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
Set the strategy used to locate the relying party ID.
|
void |
setResponderLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
Set the strategy used to locate the responder ID.
|
void |
setSalt(String s)
Set the salt for username hashing.
|
void |
setStatusCodeLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
Set the strategy used to locate the status code.
|
void |
setUsernameLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
Set the strategy used to locate the username.
|
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategydoPreExecute, getActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitialized@Nonnull @NotEmpty public static final String FTICKS_LOG_CATEGORY
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,AuditContext> auditContextLookupStrategy
AuditContext associated with a given ProfileRequestContext.@NonnullAfterInit @NotEmpty private String federationId
@Nonnull @NotEmpty private String digestAlgorithm
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,String> relyingPartyLookupStrategy
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,String> responderLookupStrategy
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,String> usernameLookupStrategy
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,String> authenticationMethodLookupStrategy
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,String> statusCodeLookupStrategy
@NonnullAfterInit private StringDigester digester
public void setFederationId(@Nonnull@NotEmpty String id)
id - federation identifierpublic void setDigestAlgorithm(@Nonnull@NotEmpty String alg)
alg - digest algorithmpublic void setSalt(@Nullable String s)
s - saltpublic void setRelyingPartyLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
strategy - lookup strategypublic void setResponderLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
strategy - lookup strategypublic void setUsernameLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
strategy - lookup strategypublic void setAuthenticationMethodLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
strategy - lookup strategypublic void setStatusCodeLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
strategy - lookup strategyprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractInitializableComponentComponentInitializationExceptionprotected void doExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext profileRequestContext)
doExecute in class org.opensaml.profile.action.AbstractProfileActionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.