Class CustomPrincipal

  • All Implemented Interfaces:
    Principal

    public class CustomPrincipal
    extends Object
    implements Principal
    Represents a custom principal sent by API Gateway i.e. a Lambda authorizer Will only be allocated if requestContext.authorizer.lambda.principalId is set in the http event sent by API Gateway