A
- the Principal
typepublic abstract class AbstractPrincipalArgumentBinder<A extends java.security.Principal>
extends java.lang.Object
implements io.micronaut.http.bind.binders.TypedRequestArgumentBinder<A>
Modifier | Constructor and Description |
---|---|
protected |
AbstractPrincipalArgumentBinder(java.lang.Class<A> authenticationClass) |
Modifier and Type | Method and Description |
---|---|
io.micronaut.core.type.Argument<A> |
argumentType() |
io.micronaut.core.bind.ArgumentBinder.BindingResult<A> |
bind(io.micronaut.core.convert.ArgumentConversionContext<A> context,
io.micronaut.http.HttpRequest<?> source) |
protected AbstractPrincipalArgumentBinder(java.lang.Class<A> authenticationClass)
public io.micronaut.core.bind.ArgumentBinder.BindingResult<A> bind(io.micronaut.core.convert.ArgumentConversionContext<A> context, io.micronaut.http.HttpRequest<?> source)
bind
in interface io.micronaut.core.bind.ArgumentBinder<A extends java.security.Principal,io.micronaut.http.HttpRequest<?>>