@Deprecated public abstract class BaseJahiaExternalUser extends Object implements JahiaUser
| Modifier and Type | Field and Description |
|---|---|
protected UserProperties |
externalProperties
Deprecated.
|
protected String |
password
Deprecated.
|
protected String |
path
Deprecated.
|
protected UserProperties |
properties
Deprecated.
|
protected String |
providerKey
Deprecated.
|
protected String |
userKey
Deprecated.
|
protected String |
username
Deprecated.
|
| Constructor and Description |
|---|
BaseJahiaExternalUser(String providerKey,
String username,
String userKey)
Deprecated.
Initializes an instance of this class.
|
BaseJahiaExternalUser(String providerKey,
String username,
String userKey,
UserProperties externalProperties)
Deprecated.
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object another)
Deprecated.
|
UserProperties |
getExternalProperties()
Deprecated.
|
String |
getLocalPath()
Deprecated.
Get the path of this user in the local store.
|
String |
getName()
Deprecated.
|
Properties |
getProperties()
Deprecated.
Get user's properties list.
|
String |
getProperty(String key)
Deprecated.
Retrieve the requested user property.
|
protected JahiaUserManagerProvider |
getProvider()
Deprecated.
|
String |
getProviderName()
Deprecated.
Get the name of the provider of this user.
|
String |
getRealm()
Deprecated.
Get the realm name this user belongs to.
|
String |
getUserKey()
Deprecated.
Return the unique String identifier of this user.
|
String |
getUsername()
Deprecated.
Return the user username.
|
UserProperties |
getUserProperties()
Deprecated.
Returns the users properties format, in which we can test if a property
is read-only or not.
|
UserProperty |
getUserProperty(String key)
Deprecated.
Retrieves the user property object, so that we can test is the property
is read-only or not.
|
int |
hashCode()
Deprecated.
|
protected UserProperties |
initializeMergedProperties()
Deprecated.
|
boolean |
isAccountLocked()
Deprecated.
Checks if the account is locked
|
boolean |
isAdminMember(int siteID)
Deprecated.
Test if the user is an admin member
|
boolean |
isMemberOfGroup(int siteID,
String name)
Deprecated.
Test if the user is member of the specified group.
|
boolean |
isRoot()
Deprecated.
Test if the user is the root user
|
boolean |
removeProperty(String key)
Deprecated.
Remove the specified property from the properties list.
|
protected abstract boolean |
removePropertyExternal(String key)
Deprecated.
|
protected boolean |
removePropertyInternal(String key)
Deprecated.
|
boolean |
setProperty(String key,
String value)
Deprecated.
Add (or update if not already in the property list) a property key-value
pair in the user's properties list.
|
protected abstract boolean |
setPropertyExternal(String key,
String value)
Deprecated.
|
protected boolean |
setPropertyInternal(String key,
String value)
Deprecated.
|
String |
toString()
Deprecated.
|
boolean |
verifyPassword(String passwordToVerify)
Deprecated.
Verify if the passed in password is the same as the encapsulated by this
user.
|
protected boolean |
verifyPasswordExternal(String password)
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitsetPasswordprotected UserProperties externalProperties
protected String password
protected String path
protected UserProperties properties
protected String providerKey
protected String userKey
protected String username
public BaseJahiaExternalUser(String providerKey, String username, String userKey)
providerKey - the corresponding provider keyusername - the user nameuserKey - the key of this userpublic BaseJahiaExternalUser(String providerKey, String username, String userKey, UserProperties externalProperties)
providerKey - the corresponding provider keyusername - the user nameuserKey - the key of this userexternalProperties - the user properties in the external storage systempublic boolean equals(Object another)
public UserProperties getExternalProperties()
public String getLocalPath()
JahiaUsergetLocalPath in interface JahiaPrincipalgetLocalPath in interface JahiaUserpublic Properties getProperties()
JahiaUsergetProperties in interface JahiaUserpublic String getProperty(String key)
JahiaUsergetProperty in interface JahiaUserkey - Property's name.protected JahiaUserManagerProvider getProvider()
public String getProviderName()
JahiaUsergetProviderName in interface JahiaPrincipalgetProviderName in interface JahiaUserpublic String getUserKey()
JahiaUsergetUserKey in interface JahiaUserpublic String getUsername()
JahiaUsergetUsername in interface JahiaUserpublic UserProperties getUserProperties()
JahiaUsergetUserProperties in interface JahiaUserpublic UserProperty getUserProperty(String key)
JahiaUsergetUserProperty in interface JahiaUserkey - Stringpublic int hashCode()
protected UserProperties initializeMergedProperties()
public boolean isAdminMember(int siteID)
JahiaUserisAdminMember in interface JahiaUsersiteID - the site idpublic boolean isMemberOfGroup(int siteID,
String name)
JahiaUserisMemberOfGroup in interface JahiaUsersiteID - the site idname - Groupname.public final boolean isRoot()
JahiaUserpublic boolean removeProperty(String key)
JahiaUserremoveProperty in interface JahiaUserkey - Property's name.protected abstract boolean removePropertyExternal(String key)
protected boolean removePropertyInternal(String key)
public boolean setProperty(String key, String value)
JahiaUsersetProperty in interface JahiaUserkey - Property's name.value - Property's value.protected abstract boolean setPropertyExternal(String key, String value)
@Deprecated protected boolean setPropertyInternal(String key, String value)
public String toString()
public boolean verifyPassword(String passwordToVerify)
JahiaUserverifyPassword in interface JahiaUserpasswordToVerify - String representation of an non-encrypted password.protected boolean verifyPasswordExternal(String password)
public boolean isAccountLocked()
JahiaUserisAccountLocked in interface JahiaUserCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.