Class GrpcSecurityMethodConfig.BuilderBase.GrpcSecurityMethodConfigImpl
java.lang.Object
io.helidon.webserver.grpc.security.GrpcSecurityMethodConfig.BuilderBase.GrpcSecurityMethodConfigImpl
- All Implemented Interfaces:
Prototype.Api,GrpcSecurityMethodConfig
- Enclosing class:
GrpcSecurityMethodConfig.BuilderBase<BUILDER extends GrpcSecurityMethodConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends GrpcSecurityMethodConfig>
protected static class GrpcSecurityMethodConfig.BuilderBase.GrpcSecurityMethodConfigImpl
extends Object
implements GrpcSecurityMethodConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webserver.grpc.security.GrpcSecurityMethodConfig
GrpcSecurityMethodConfig.Builder, GrpcSecurityMethodConfig.BuilderBase<BUILDER extends GrpcSecurityMethodConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends GrpcSecurityMethodConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionaudit()Whether to audit this request.Override for audit event type.Override for audit message format.Whether to authenticate this request.Whether authentication failure should continue as anonymous.Use a named authenticator.Whether to authorize this request.Use a named authorizer.config()Configuration associated with this security handler.A store of custom objects, that can be used to customize specific security providers.booleaninthashCode()name()Bare gRPC method name such asUpper, not the full gRPC method path such asStringService/Upper.An array of allowed roles for this gRPC method.toString()
-
Constructor Details
-
GrpcSecurityMethodConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
name
Description copied from interface:GrpcSecurityMethodConfigBare gRPC method name such asUpper, not the full gRPC method path such asStringService/Upper.- Specified by:
namein interfaceGrpcSecurityMethodConfig- Returns:
- gRPC method name
-
rolesAllowed
Description copied from interface:GrpcSecurityMethodConfigAn array of allowed roles for this gRPC method.- Specified by:
rolesAllowedin interfaceGrpcSecurityMethodConfig- Returns:
- if subject is any of these roles, allow access
-
authenticator
Description copied from interface:GrpcSecurityMethodConfigUse a named authenticator.- Specified by:
authenticatorin interfaceGrpcSecurityMethodConfig- Returns:
- name of authenticator as configured in
Security
-
authorizer
Description copied from interface:GrpcSecurityMethodConfigUse a named authorizer.- Specified by:
authorizerin interfaceGrpcSecurityMethodConfig- Returns:
- name of authorizer as configured in
Security
-
authenticate
Description copied from interface:GrpcSecurityMethodConfigWhether to authenticate this request.- Specified by:
authenticatein interfaceGrpcSecurityMethodConfig- Returns:
- whether to authenticate
-
authenticationOptional
Description copied from interface:GrpcSecurityMethodConfigWhether authentication failure should continue as anonymous.- Specified by:
authenticationOptionalin interfaceGrpcSecurityMethodConfig- Returns:
- whether authentication is optional
-
audit
Description copied from interface:GrpcSecurityMethodConfigWhether to audit this request.- Specified by:
auditin interfaceGrpcSecurityMethodConfig- Returns:
- whether to audit
-
authorize
Description copied from interface:GrpcSecurityMethodConfigWhether to authorize this request.- Specified by:
authorizein interfaceGrpcSecurityMethodConfig- Returns:
- whether to authorize
-
auditEventType
Description copied from interface:GrpcSecurityMethodConfigOverride for audit event type.- Specified by:
auditEventTypein interfaceGrpcSecurityMethodConfig- Returns:
- audit event type
-
auditMessageFormat
Description copied from interface:GrpcSecurityMethodConfigOverride for audit message format.- Specified by:
auditMessageFormatin interfaceGrpcSecurityMethodConfig- Returns:
- audit message format
-
customObjects
Description copied from interface:GrpcSecurityMethodConfigA store of custom objects, that can be used to customize specific security providers.- Specified by:
customObjectsin interfaceGrpcSecurityMethodConfig- Returns:
- custom objects
-
config
Description copied from interface:GrpcSecurityMethodConfigConfiguration associated with this security handler.- Specified by:
configin interfaceGrpcSecurityMethodConfig- Returns:
- the configuration
-
toString
-
equals
-
hashCode
public int hashCode()
-