public class BasicAuthSecurity<T extends AuthenticatedUser> extends java.lang.Object implements HttpSecurity<T>
Constructor and Description |
---|
BasicAuthSecurity(java.lang.String name,
Permissions<T> auth,
AuthFailuresHandler<T> failures) |
Modifier and Type | Method and Description |
---|---|
boolean |
handleAuthorization(HttpRequest headers,
HttpResponse writer,
T sessionState) |
boolean |
passes(org.jetlang.fibers.Fiber dispatchFiber,
HttpRequest headers,
HttpResponse writer,
T sessionState) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
none
public BasicAuthSecurity(java.lang.String name, Permissions<T> auth, AuthFailuresHandler<T> failures)
public boolean passes(org.jetlang.fibers.Fiber dispatchFiber, HttpRequest headers, HttpResponse writer, T sessionState)
passes
in interface HttpSecurity<T extends AuthenticatedUser>
public boolean handleAuthorization(HttpRequest headers, HttpResponse writer, T sessionState)
Copyright © 2019. All Rights Reserved.