B
- the concrete builder typePF
- the principal function typeSCF
- the security context function typepublic abstract static class BasicAuthSecurityContextFilters.AbstractBuilder<B extends BasicAuthSecurityContextFilters.AbstractBuilder,PF,SCF>
extends java.lang.Object
ContainerRequestFilter
instances.Modifier and Type | Method and Description |
---|---|
abstract javax.ws.rs.container.ContainerRequestFilter |
build()
Build a new
ContainerRequestFilter instance. |
B |
principalFunction(PF principalFunction)
Specify a custom function the filter will use to create
Principal instances. |
B |
securityContextFunction(SCF securityContextFunction)
Specify a custom function the filter will use to use to create
SecurityContext instances. |
public B principalFunction(PF principalFunction)
Principal
instances.
This value will override a function specified with securityContextFunction
.
principalFunction
- the custom Principal
functionpublic B securityContextFunction(SCF securityContextFunction)
SecurityContext
instances.
This value will override a function specified with principalFunction(PF)
.
securityContextFunction
- the custom SecurityContext
functionpublic abstract javax.ws.rs.container.ContainerRequestFilter build()
ContainerRequestFilter
instance.ContainerRequestFilter
instance.