Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
dev.rafex.ether.http.jetty12.JettyAuthHandler Class Reference
Inheritance diagram for dev.rafex.ether.http.jetty12.JettyAuthHandler:
Collaboration diagram for dev.rafex.ether.http.jetty12.JettyAuthHandler:

Public Member Functions

JettyAuthHandler authPolicies (final List< AuthPolicy > policies)
JettyAuthHandler authPolicy (final AuthPolicy policy)
boolean handle (final Request request, final Response response, final Callback callback) throws Exception
 JettyAuthHandler (final Handler delegate, final TokenVerifier tokenVerifier, final JsonCodec jsonCodec)
JettyAuthHandler protectedPrefix (final String pathSpec)
JettyAuthHandler publicPath (final String method, final String pathSpec)

Static Public Attributes

static final String REQ_ATTR_AUTH = "auth"

Detailed Description

Definition at line 43 of file JettyAuthHandler.java.

Constructor & Destructor Documentation

◆ JettyAuthHandler()

dev.rafex.ether.http.jetty12.JettyAuthHandler.JettyAuthHandler ( final Handler delegate,
final TokenVerifier tokenVerifier,
final JsonCodec jsonCodec )

Definition at line 55 of file JettyAuthHandler.java.

Referenced by authPolicies(), authPolicy(), protectedPrefix(), and publicPath().

Here is the caller graph for this function:

Member Function Documentation

◆ authPolicies()

JettyAuthHandler dev.rafex.ether.http.jetty12.JettyAuthHandler.authPolicies ( final List< AuthPolicy > policies)

Definition at line 81 of file JettyAuthHandler.java.

References authPolicy(), and JettyAuthHandler().

Here is the call graph for this function:

◆ authPolicy()

JettyAuthHandler dev.rafex.ether.http.jetty12.JettyAuthHandler.authPolicy ( final AuthPolicy policy)

Definition at line 71 of file JettyAuthHandler.java.

References JettyAuthHandler(), protectedPrefix(), and publicPath().

Referenced by authPolicies().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle()

boolean dev.rafex.ether.http.jetty12.JettyAuthHandler.handle ( final Request request,
final Response response,
final Callback callback ) throws Exception

Definition at line 92 of file JettyAuthHandler.java.

References REQ_ATTR_AUTH.

◆ protectedPrefix()

JettyAuthHandler dev.rafex.ether.http.jetty12.JettyAuthHandler.protectedPrefix ( final String pathSpec)

Definition at line 66 of file JettyAuthHandler.java.

References JettyAuthHandler().

Referenced by authPolicy().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ publicPath()

JettyAuthHandler dev.rafex.ether.http.jetty12.JettyAuthHandler.publicPath ( final String method,
final String pathSpec )

Definition at line 61 of file JettyAuthHandler.java.

References JettyAuthHandler().

Referenced by authPolicy().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ REQ_ATTR_AUTH

final String dev.rafex.ether.http.jetty12.JettyAuthHandler.REQ_ATTR_AUTH = "auth"
static

Definition at line 45 of file JettyAuthHandler.java.

Referenced by handle().


The documentation for this class was generated from the following file: