| Package | Description |
|---|---|
| org.jivesoftware.openfire.auth |
Authentication and Authorization service interfaces and classes.
|
| org.jivesoftware.openfire.session | |
| org.jivesoftware.util |
Utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthToken |
AuthFactory.authenticate(String username,
String password)
Authenticates a user with a username and plain text password and returns and
AuthToken.
|
static AuthToken |
AuthToken.generateAnonymousToken()
Constructs a new AuthToken that represents an authenticated, but anonymous user.
|
static AuthToken |
AuthToken.generateUserToken(String username)
Constructs a new AuthToken that represents an authenticated user identified by
the provider username.
|
| Modifier and Type | Field and Description |
|---|---|
protected AuthToken |
LocalClientSession.authToken
The authentication token for this session.
|
| Modifier and Type | Method and Description |
|---|---|
AuthToken |
LocalClientSession.getAuthToken()
Returns the authentication token associated with this session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LocalClientSession.setAuthToken(AuthToken auth)
Sets the new Authorization Token for this session.
|
void |
LocalClientSession.setAuthToken(AuthToken auth,
String resource)
Initialize the session with a valid authentication token and
resource name.
|
| Modifier and Type | Method and Description |
|---|---|
AuthToken |
WebManager.getAuthToken()
Returns the auth token redirects to the login page if an auth token is not found.
|
Copyright © 2003–2019 Ignite Realtime. All rights reserved.