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,
AuditContext> Strategy used to locate theAuditContext
associated with a givenProfileRequestContext
.private Function<ProfileRequestContext,
String> Lookup strategy for authentication method.private String
Digest algorithm for username hashing.private StringDigester
Username hasher.private String
Federation ID for log.static final String
Logging category to use.private Function<ProfileRequestContext,
String> Lookup strategy for relying party ID.private Function<ProfileRequestContext,
String> Lookup strategy for responder ID.private String
Salt 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 void
doExecute
(ProfileRequestContext profileRequestContext) protected void
void
Set the strategy used to locate the authentication method.void
setDigestAlgorithm
(String alg) Set the digest algorithm for username hashing.void
Set the federation identifier for the log.void
Set the strategy used to locate the relying party ID.void
Set the strategy used to locate the responder ID.void
Set the salt for username hashing.void
Set the strategy used to locate the status code.void
Set the strategy used to locate the username.Methods inherited from class net.shibboleth.idp.profile.AbstractProfileAction
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategy
Methods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
doPreExecute, getActivationCondition, setActivationCondition
Methods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponse
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
FTICKS_LOG_CATEGORY
Logging category to use.- See Also:
-
auditContextLookupStrategy
Strategy used to locate theAuditContext
associated with a givenProfileRequestContext
. -
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:
doInitialize
in classAbstractInitializableComponent
- Throws:
ComponentInitializationException
-
doExecute
- Overrides:
doExecute
in classAbstractProfileAction
-