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>
Function
that returns the data encryption algorithm used.-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,EncryptionContext>
encryptionContextLookupStrategy
Lookup strategy forEncryptionContext
. -
Constructor Summary
Constructors Constructor Description EncryptionAlgorithmAuditExtractor()
Constructor. -
Method Summary
Modifier and Type Method Description String
apply(ProfileRequestContext input)
void
setEncryptionContextLookupStrategy(Function<ProfileRequestContext,EncryptionContext> strategy)
Sets the lookup strategy for theEncryptionContext
.
-
Field Details
-
encryptionContextLookupStrategy
Lookup strategy forEncryptionContext
.
-
-
Constructor Details
-
EncryptionAlgorithmAuditExtractor
public EncryptionAlgorithmAuditExtractor()Constructor.
-
-
Method Details
-
setEncryptionContextLookupStrategy
public void setEncryptionContextLookupStrategy(@Nonnull Function<ProfileRequestContext,EncryptionContext> strategy)Sets the lookup strategy for theEncryptionContext
.- Parameters:
strategy
- lookup strategy for context
-
apply
- Specified by:
apply
in interfaceFunction<ProfileRequestContext,String>
-