RequestType - The AWS Lambda event typepublic interface SecurityContextWriter<RequestType>
SecurityContext object from the
incoming AWS Lambda event.| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.SecurityContext |
writeSecurityContext(RequestType event,
com.amazonaws.services.lambda.runtime.Context lambdaContext)
Called by the container implementation to generate a
SecurityContext given an incoming event. |
javax.ws.rs.core.SecurityContext writeSecurityContext(RequestType event, com.amazonaws.services.lambda.runtime.Context lambdaContext)
SecurityContext given an incoming event. The
library includes a default implementation that reads from the AWS_PROXY integration events.event - The incoming Lambda eventlambdaContext - The context for the AWS Lambda functionAwsProxySecurityContextWriter,
AwsProxyRequestCopyright © 2018. All Rights Reserved.