Modifier and Type | Class and Description |
---|---|
static class |
PsBasic.Default
Default entry.
|
static class |
PsBasic.Empty
Empty check.
|
static interface |
PsBasic.Entry
Entry interface that is used to check if the received information is
valid.
|
static class |
PsBasic.Fake
Fake implementation of
PsBasic.Entry . |
Constructor and Description |
---|
PsBasic(String rlm,
PsBasic.Entry basic)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Opt<Identity> |
enter(Request request)
Authenticate the user by the request.
|
Response |
exit(Response response,
Identity identity)
Wrap the response with the user.
|
public PsBasic(String rlm, PsBasic.Entry basic)
rlm
- Realmbasic
- Entrypublic Opt<Identity> enter(Request request) throws IOException
Pass
enter
in interface Pass
request
- The requestIOException
- If failsCopyright © 2015–2018 Take. All rights reserved.