Package | Description |
---|---|
org.apache.wiki.auth |
Authentication, Authorization and the third A thing.
|
org.apache.wiki.auth.user | |
org.apache.wiki.filters |
Provides page and content filtering functionality for JSPWiki.
|
Modifier and Type | Method and Description |
---|---|
UserProfile |
UserManager.DummyUserDatabase.findByEmail(String index)
No-op; always throws
NoSuchPrincipalException . |
UserProfile |
UserManager.DummyUserDatabase.findByFullName(String index)
No-op; always throws
NoSuchPrincipalException . |
UserProfile |
UserManager.DummyUserDatabase.findByLoginName(String index)
No-op; always throws
NoSuchPrincipalException . |
UserProfile |
UserManager.DummyUserDatabase.findByUid(String uid)
No-op; always throws
NoSuchPrincipalException . |
UserProfile |
UserManager.DummyUserDatabase.findByWikiName(String index)
No-op; always throws
NoSuchPrincipalException . |
UserProfile |
UserManager.JSONUserModule.getUserInfo(String uid)
Directly returns the UserProfile object attached to an uid.
|
UserProfile |
UserManager.getUserProfile(WikiSession session)
Retrieves the
UserProfile for the
user in a wiki session. |
UserProfile |
UserManager.parseProfile(WikiContext context)
Extracts user profile parameters from the HTTP request and populates
a UserProfile with them.
|
Modifier and Type | Method and Description |
---|---|
void |
UserManager.DummyUserDatabase.save(UserProfile profile)
No-op.
|
void |
UserManager.setUserProfile(WikiSession session,
UserProfile profile)
Saves the
UserProfile for the user in
a wiki session. |
void |
UserManager.startUserProfileCreationWorkflow(WikiSession session,
UserProfile profile) |
void |
UserManager.validateProfile(WikiContext context,
UserProfile profile)
Validates a user profile, and appends any errors to the session errors
list.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultUserProfile
Default implementation for representing wiki user information, such as the
login name, full name, wiki name, and e-mail address.
|
Modifier and Type | Method and Description |
---|---|
UserProfile |
AbstractUserDatabase.find(String index)
Looks up and returns the first
UserProfile in the user database
that whose login name, full name, or wiki name matches the supplied
string. |
UserProfile |
UserDatabase.find(String index)
Looks up and returns the first
UserProfile in the user database
that whose login name, full name, or wiki name matches the supplied
string. |
abstract UserProfile |
AbstractUserDatabase.findByEmail(String index)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given e-mail address. |
UserProfile |
JDBCUserDatabase.findByEmail(String index) |
UserProfile |
UserDatabase.findByEmail(String index)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given e-mail address. |
UserProfile |
XMLUserDatabase.findByEmail(String index)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given e-mail address. |
abstract UserProfile |
AbstractUserDatabase.findByFullName(String index)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given full name. |
UserProfile |
JDBCUserDatabase.findByFullName(String index) |
UserProfile |
UserDatabase.findByFullName(String index)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given full name. |
UserProfile |
XMLUserDatabase.findByFullName(String index)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given full name. |
abstract UserProfile |
AbstractUserDatabase.findByLoginName(String index)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given login name. |
UserProfile |
JDBCUserDatabase.findByLoginName(String index) |
UserProfile |
UserDatabase.findByLoginName(String index)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given login name. |
UserProfile |
XMLUserDatabase.findByLoginName(String index)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given login name. |
UserProfile |
JDBCUserDatabase.findByUid(String uid) |
UserProfile |
UserDatabase.findByUid(String uid)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given unique ID (uid). |
UserProfile |
XMLUserDatabase.findByUid(String uid)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given unique ID (uid). |
abstract UserProfile |
AbstractUserDatabase.findByWikiName(String index)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given wiki name. |
UserProfile |
JDBCUserDatabase.findByWikiName(String index) |
UserProfile |
UserDatabase.findByWikiName(String index)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given wiki name. |
UserProfile |
XMLUserDatabase.findByWikiName(String index)
Looks up and returns the first
UserProfile in the user database
that matches a profile having a given wiki name. |
UserProfile |
AbstractUserDatabase.newProfile()
Factory method that instantiates a new DefaultUserProfile with a new, distinct
unique identifier.
|
UserProfile |
UserDatabase.newProfile()
Factory method that instantiates a new user profile.
|
protected static UserProfile |
DefaultUserProfile.newProfile(UserDatabase db)
Static factory method that creates a new DefaultUserProfile
and sets a unique identifier (uid) for the supplied UserDatabase.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractUserDatabase.save(UserProfile profile)
Saves a
UserProfile to the user database, overwriting the
existing profile if it exists. |
void |
JDBCUserDatabase.save(UserProfile profile) |
void |
UserDatabase.save(UserProfile profile)
Saves a
UserProfile to the user database, overwriting the
existing profile if it exists. |
void |
XMLUserDatabase.save(UserProfile profile)
Saves a
UserProfile to the user database, overwriting the
existing profile if it exists. |
Modifier and Type | Method and Description |
---|---|
boolean |
SpamFilter.isValidUserProfile(WikiContext context,
UserProfile profile)
Checks whether the UserProfile matches certain checks.
|
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.