Interface SessionIdentityOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SessionIdentity,SessionIdentity.Builder
public interface SessionIdentityOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDefines how the identity (user/principal) is extracted from the request.Defines how the identity (user/principal) is extracted from the request.Specifies how to handle requests where the subject is missing or invalid.Specifies how to handle requests where the subject is missing or invalid.booleanDefines how the identity (user/principal) is extracted from the request.booleanSpecifies how to handle requests where the subject is missing or invalid.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasIdentity
boolean hasIdentity()Defines how the identity (user/principal) is extracted from the request.
.envoy.extensions.filters.http.mcp_router.v3.IdentityExtractor identity = 1 [(.validate.rules) = { ... }- Returns:
- Whether the identity field is set.
-
getIdentity
IdentityExtractor getIdentity()Defines how the identity (user/principal) is extracted from the request.
.envoy.extensions.filters.http.mcp_router.v3.IdentityExtractor identity = 1 [(.validate.rules) = { ... }- Returns:
- The identity.
-
getIdentityOrBuilder
IdentityExtractorOrBuilder getIdentityOrBuilder()Defines how the identity (user/principal) is extracted from the request.
.envoy.extensions.filters.http.mcp_router.v3.IdentityExtractor identity = 1 [(.validate.rules) = { ... } -
hasValidation
boolean hasValidation()Specifies how to handle requests where the subject is missing or invalid. Defaults to DISABLED.
.envoy.extensions.filters.http.mcp_router.v3.ValidationPolicy validation = 2;- Returns:
- Whether the validation field is set.
-
getValidation
ValidationPolicy getValidation()Specifies how to handle requests where the subject is missing or invalid. Defaults to DISABLED.
.envoy.extensions.filters.http.mcp_router.v3.ValidationPolicy validation = 2;- Returns:
- The validation.
-
getValidationOrBuilder
ValidationPolicyOrBuilder getValidationOrBuilder()Specifies how to handle requests where the subject is missing or invalid. Defaults to DISABLED.
.envoy.extensions.filters.http.mcp_router.v3.ValidationPolicy validation = 2;
-