Class WriteFTICKSLog
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
Action that produces F-TICKS log entries for successful SAML SSO responses.
- Event:
EventIds.PROCEED_EVENT_ID
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<ProfileRequestContext,String> Lookup strategy for authentication method.private StringDigest algorithm for username hashing.private StringDigesterUsername hasher.private StringFederation ID for log.static final StringLogging category to use.private Function<ProfileRequestContext,String> Lookup strategy for relying party ID.private Function<ProfileRequestContext,String> Lookup strategy for responder ID.private StringSalt for username hashing.private Function<ProfileRequestContext,String> Lookup strategy for StatusCode.private Function<ProfileRequestContext,String> Lookup strategy for username. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) protected voidvoidSet the strategy used to locate the authentication method.voidsetDigestAlgorithm(String alg) Set the digest algorithm for username hashing.voidSet the federation identifier for the log.voidSet the strategy used to locate the relying party ID.voidSet the strategy used to locate the responder ID.voidSet the salt for username hashing.voidSet the strategy used to locate the status code.voidSet the strategy used to locate the username.Methods inherited from class net.shibboleth.idp.profile.AbstractProfileAction
doExecute, execute, getBean, getBean, getMessage, getMessage, getMessage, getParameter, getParameter, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategyMethods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
doPreExecute, getActivationCondition, setActivationConditionMethods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, ensureHttpServletRequest, ensureHttpServletResponse, execute, getHttpServletRequest, getHttpServletRequestSupplier, getHttpServletResponse, getHttpServletResponseSupplier, getLogPrefix, isPreExecuteCalled, setHttpServletRequestSupplier, setHttpServletResponseSupplierMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
FTICKS_LOG_CATEGORY
Logging category to use.- See Also:
-
federationId
Federation ID for log. -
digestAlgorithm
Digest algorithm for username hashing. -
salt
Salt for username hashing. -
relyingPartyLookupStrategy
Lookup strategy for relying party ID. -
responderLookupStrategy
Lookup strategy for responder ID. -
usernameLookupStrategy
Lookup strategy for username. -
authenticationMethodLookupStrategy
Lookup strategy for authentication method. -
statusCodeLookupStrategy
Lookup strategy for StatusCode. -
digester
Username hasher.
-
-
Constructor Details
-
WriteFTICKSLog
public WriteFTICKSLog()Constructor.
-
-
Method Details
-
setFederationId
Set the federation identifier for the log.- Parameters:
id- federation identifier
-
setDigestAlgorithm
Set the digest algorithm for username hashing.- Parameters:
alg- digest algorithm
-
setSalt
Set the salt for username hashing.- Parameters:
s- salt
-
setRelyingPartyLookupStrategy
Set the strategy used to locate the relying party ID.- Parameters:
strategy- lookup strategy
-
setResponderLookupStrategy
Set the strategy used to locate the responder ID.- Parameters:
strategy- lookup strategy
-
setUsernameLookupStrategy
Set the strategy used to locate the username.- Parameters:
strategy- lookup strategy
-
setAuthenticationMethodLookupStrategy
public void setAuthenticationMethodLookupStrategy(@Nonnull Function<ProfileRequestContext, String> strategy) Set the strategy used to locate the authentication method.- Parameters:
strategy- lookup strategy
-
setStatusCodeLookupStrategy
Set the strategy used to locate the status code.- Parameters:
strategy- lookup strategy
-
doInitialize
- Overrides:
doInitializein classAbstractInitializableComponent- Throws:
ComponentInitializationException
-
doExecute
- Overrides:
doExecutein classAbstractProfileAction
-