Class EncryptionAlgorithmAuditExtractor
- java.lang.Object
-
- net.shibboleth.idp.saml.audit.impl.EncryptionAlgorithmAuditExtractor
-
- All Implemented Interfaces:
Function<ProfileRequestContext,String>
public class EncryptionAlgorithmAuditExtractor extends Object implements Function<ProfileRequestContext,String>
Functionthat returns the data encryption algorithm used.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,EncryptionContext>encryptionContextLookupStrategyLookup strategy forEncryptionContext.
-
Constructor Summary
Constructors Constructor Description EncryptionAlgorithmAuditExtractor()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(ProfileRequestContext input)voidsetEncryptionContextLookupStrategy(Function<ProfileRequestContext,EncryptionContext> strategy)Sets the lookup strategy for theEncryptionContext.
-
-
-
Field Detail
-
encryptionContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,EncryptionContext> encryptionContextLookupStrategy
Lookup strategy forEncryptionContext.
-
-
Method Detail
-
setEncryptionContextLookupStrategy
public void setEncryptionContextLookupStrategy(@Nonnull Function<ProfileRequestContext,EncryptionContext> strategy)Sets the lookup strategy for theEncryptionContext.- Parameters:
strategy- lookup strategy for context
-
apply
@Nullable public String apply(@Nullable ProfileRequestContext input)
- Specified by:
applyin interfaceFunction<ProfileRequestContext,String>
-
-