| Package | Description |
|---|---|
| com.rexsl.page.auth |
Authentication.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Identity.Simple
Simple Identity.
|
| Modifier and Type | Field and Description |
|---|---|
static Identity |
Identity.ANONYMOUS
Anonymous.
|
| Modifier and Type | Method and Description |
|---|---|
Identity |
HttpBasic.Vault.authenticate(String user,
String password)
Authenticate or not.
|
Identity |
Provider.identity()
Get user's identity or
Identity.ANONYMOUS if can't authenticate. |
Identity |
Provider.Always.identity() |
Identity |
HttpBasic.identity() |
Identity |
Google.identity() |
Identity |
Github.identity() |
Identity |
Facebook.identity() |
Identity |
AuthInset.identity()
Get user's identity (
AuthException
if not authenticated). |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.NewCookie |
AuthInset.cookie(Identity identity)
Authentication cookie.
|
String |
AuthInset.encrypt(Identity identity)
Encrypt identity into text.
|
static String |
AuthInset.encrypt(Identity identity,
String key)
Encrypt identity into text.
|
| Constructor and Description |
|---|
Identity.Simple(Identity identity)
Public ctor.
|
Provider.Always(Identity identity)
Public ctor.
|
Copyright © 2011–2014 ReXSL.com. All rights reserved.