| Modifier and Type | Method and Description |
|---|---|
protected JCRUserNode |
JahiaRemoteService.getRemoteJahiaUserNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
ContentHubHelper.storePasswordForProvider(JCRUserNode user,
String providerKey,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<JCRUserNode> |
FindUser.searchUsers(String queryTerm) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
WelcomeServlet.resolveLanguage(javax.servlet.http.HttpServletRequest request,
JCRSiteNode site,
JCRUserNode user,
boolean userRedirect) |
protected org.json.JSONObject |
FindUser.toJSON(JCRUserNode user) |
protected org.json.JSONObject |
FindUsersAndGroups.toJSON(JCRUserNode user) |
protected boolean |
FindUsersAndGroupsInAcl.userMatches(JCRUserNode user,
Pattern pattern) |
| Modifier and Type | Method and Description |
|---|---|
static Set<JCRUserNode> |
PrincipalViewHelper.getSearchResult(javax.servlet.ServletRequest request)
Get the user search result from the parameter form given by the request.
|
static Set<JCRUserNode> |
PrincipalViewHelper.getSearchResult(String searchIn,
String searchString,
String[] searchInProps,
String storedOn,
String[] providers) |
static Set<JCRUserNode> |
PrincipalViewHelper.getSearchResult(String searchIn,
String siteKey,
String searchString,
String[] searchInProps,
String storedOn,
String[] providers) |
static Set<JCRUserNode> |
PrincipalViewHelper.getSearchResult(String searchIn,
String siteKey,
String searchString,
String[] searchInProps,
String storedOn,
String[] providers,
boolean includeGlobalUsers) |
static Set<JCRUserNode> |
PrincipalViewHelper.removeJahiaAdministrators(Set<JCRUserNode> users)
Utility method to remove from a set of users all the members of the
Jahia Administrators group.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<JCRUserNode> |
PrincipalViewHelper.removeJahiaAdministrators(Set<JCRUserNode> users)
Utility method to remove from a set of users all the members of the
Jahia Administrators group.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
CookieAuthValveImpl.createAndSendCookie(AuthValveContext authContext,
JCRUserNode theUser,
CookieAuthConfig cookieAuthConfig) |
protected static void |
CookieAuthValveImpl.sendCookie(String cookieUserKey,
AuthValveContext authContext,
JCRUserNode theUser,
CookieAuthConfig cookieAuthConfig) |
| Modifier and Type | Method and Description |
|---|---|
JCRUserNode |
JCRNodeWrapperImpl.getUser()
Obtains the
JahiaUser object of the current Session, which returned the node |
JCRUserNode |
JCRNodeWrapper.getUser()
Obtains the
JahiaUser object of the current Session, which returned the node |
JCRUserNode |
JCRSessionWrapper.getUserNode() |
| Modifier and Type | Method and Description |
|---|---|
JCRUserNode |
JCRNodeDecorator.getUser() |
| Modifier and Type | Method and Description |
|---|---|
Set<JCRUserNode> |
JCRGroupNode.getRecursiveUserMembers() |
| Modifier and Type | Method and Description |
|---|---|
JCRUserNode |
User.getUserNode() |
| Constructor and Description |
|---|
User(JCRUserNode user) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
UserPreferencesHelper.areEmailNotificationsDisabled(JCRUserNode user)
Returns
true if the user has explicitly disabled e-mail
notification in the profile. |
static String |
UserPreferencesHelper.getEmailAddress(JCRUserNode user)
Returns user's e-mail address or
null if it is not provided. |
static String |
UserPreferencesHelper.getFirstName(JCRUserNode user)
Returns the first name for the specified user or
null if it
is not provided or empty. |
static String |
UserPreferencesHelper.getFullName(JCRUserNode user)
Returns the first + last name of the specified user or
null
if none is not provided or both are empty. |
static String |
UserPreferencesHelper.getLastName(JCRUserNode user)
Returns the last name for the specified user or
null if it
is not provided or empty. |
static String |
UserPreferencesHelper.getPersonalizedEmailAddress(JCRUserNode user)
Returns the e-mail address with the personal name of the specified user.
|
static String |
UserPreferencesHelper.getPersonalizedEmailAddress(String email,
JCRUserNode user)
Returns the e-mail address with the personal name of the specified user.
|
static String |
UserPreferencesHelper.getPersonalName(JCRUserNode user)
Returns the full user name (first name + last name) or the username if
the full name data is not provided.
|
static Locale |
UserPreferencesHelper.getPreferredLocale(JCRUserNode user)
Returns the preferred locale of the specified user or the first one from
the list of available locales.
|
static Locale |
UserPreferencesHelper.getPreferredLocale(JCRUserNode user,
JahiaSite site)
Returns the preferred locale of the specified user or the first one from
the list of available locales.
|
static Locale |
UserPreferencesHelper.getPreferredLocale(JCRUserNode user,
Locale fallback)
Returns the preferred locale of the specified user or the first one from
the list of available locales.
|
| Modifier and Type | Method and Description |
|---|---|
PolicyEnforcementResult |
JahiaPasswordPolicyService.enforcePolicyOnLogin(JCRUserNode user)
Enforce the password policy for the specified user if applicable during
on user login.
|
PolicyEnforcementResult |
JahiaPasswordPolicyService.enforcePolicyOnPasswordChange(JCRUserNode user,
String password,
boolean isUserInitiated)
Enforce the password policy for the specified user if applicable during
the password change.
|
List<PasswordHistoryEntry> |
JahiaPasswordPolicyService.getPasswordHistory(JCRUserNode user)
Returns the (encrypted) password history map, sorted by change date
descending, i.e.
|
boolean |
JahiaPasswordPolicyService.isPasswordReadOnly(JCRUserNode user)
Method to test if the user comes from a read-only provider.
|
boolean |
JahiaPasswordPolicyService.isPolicyEnabled(JCRUserNode user)
Checks, if the password policy should be enforced for the specified user
(existing user).
|
void |
JahiaPasswordPolicyService.storePasswordHistory(JCRUserNode user)
Stores the current user's password into password history.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TaskService.createTask(Task task,
JCRUserNode userNode)
Creates a task for the specified user.
|
| Modifier and Type | Method and Description |
|---|---|
JCRUserNode |
JahiaUserManagerService.createUser(String name,
String password,
Properties properties,
JCRSessionWrapper session)
This is the method that creates a new user in the system, with all the
specified properties.
|
JCRUserNode |
JahiaUserManagerService.createUser(String name,
String siteKey,
String password,
Properties properties,
JCRSessionWrapper session)
This is the method that creates a new user in the system, with all the
specified properties.
|
JCRUserNode |
JahiaUserManagerService.lookup(String lookupKey)
Performs the lookup of the user, detecting the type of the provided lookup key (either a JCR path, a user name or a legacy user key).
|
JCRUserNode |
JahiaUserManagerService.lookupRootUser()
Returns the system root user (not cached).
|
JCRUserNode |
JahiaUserManagerService.lookupRootUser(JCRSessionWrapper session)
Returns the system root user (not cached).
|
JCRUserNode |
JahiaUserManagerService.lookupUser(String name)
Load all the user data and attributes.
|
JCRUserNode |
JahiaUserManagerService.lookupUser(String name,
JCRSessionWrapper session)
Load all the user data and attributes.
|
JCRUserNode |
JahiaUserManagerService.lookupUser(String name,
String site) |
JCRUserNode |
JahiaUserManagerService.lookupUser(String name,
String site,
boolean checkSiteAndGlobalUsers) |
JCRUserNode |
JahiaUserManagerService.lookupUser(String name,
String site,
JCRSessionWrapper session)
Load all the user data and attributes.
|
JCRUserNode |
JahiaUserManagerService.lookupUserByKey(String userKey)
Deprecated.
use lookupUserByPath() instead
|
JCRUserNode |
JahiaUserManagerService.lookupUserByPath(String path)
Load all the user data and attributes.
|
JCRUserNode |
JahiaUserManagerService.lookupUserByPath(String userKey,
JCRSessionWrapper session)
Load all the user data and attributes.
|
| Modifier and Type | Method and Description |
|---|---|
Set<JCRUserNode> |
JahiaUserManagerService.searchUsers(Properties searchCriterias)
Find users according to a table of name=value properties.
|
Set<JCRUserNode> |
JahiaUserManagerService.searchUsers(Properties searchCriterias,
JCRSessionWrapper session)
Find users according to a table of name=value properties.
|
Set<JCRUserNode> |
JahiaUserManagerService.searchUsers(Properties searchCriterias,
String[] providers)
Find users according to a table of name=value properties.
|
Set<JCRUserNode> |
JahiaUserManagerService.searchUsers(Properties searchCriterias,
String[] providerKeys,
JCRSessionWrapper session) |
Set<JCRUserNode> |
JahiaUserManagerService.searchUsers(Properties searchCriterias,
String siteKey,
String[] providerKeys,
boolean excludeProtected,
JCRSessionWrapper session) |
Set<JCRUserNode> |
JahiaUserManagerService.searchUsers(Properties searchCriterias,
String siteKey,
String[] providerKeys,
JCRSessionWrapper session) |
Set<JCRUserNode> |
JahiaUserManagerService.searchUsers(Properties searchCriterias,
String siteKey,
String providerKey,
boolean excludeProtected,
JCRSessionWrapper session) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
JahiaUserManagerService.isGuest(JCRUserNode user)
Returns
true if the specified user is null or a
guest user. |
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.