@Requires(missingBeans=io.micronaut.security.authentication.PrincipalArgumentBinder.class)
@Singleton
public class AwsProxyPrincipalBinder
extends java.lang.Object
implements io.micronaut.http.bind.binders.TypedRequestArgumentBinder<java.security.Principal>
Principal
if Micronaut security is not present.Constructor and Description |
---|
AwsProxyPrincipalBinder() |
Modifier and Type | Method and Description |
---|---|
io.micronaut.core.type.Argument<java.security.Principal> |
argumentType() |
io.micronaut.core.bind.ArgumentBinder.BindingResult<java.security.Principal> |
bind(io.micronaut.core.convert.ArgumentConversionContext<java.security.Principal> context,
io.micronaut.http.HttpRequest<?> source) |
public io.micronaut.core.type.Argument<java.security.Principal> argumentType()
argumentType
in interface io.micronaut.core.bind.TypeArgumentBinder<java.security.Principal,io.micronaut.http.HttpRequest<?>>
public io.micronaut.core.bind.ArgumentBinder.BindingResult<java.security.Principal> bind(io.micronaut.core.convert.ArgumentConversionContext<java.security.Principal> context, io.micronaut.http.HttpRequest<?> source)
bind
in interface io.micronaut.core.bind.ArgumentBinder<java.security.Principal,io.micronaut.http.HttpRequest<?>>