public class PasswordPerson extends uk.ac.ed.epcc.webapp.session.PasswordAuthAppUser implements ExpressionTarget
AppUserALG, FIRST, GENERATED_PASSWORD_LENGTH, INVALID, LOG_RANDOM_PASSWORD, NON_RANDOM_PASSWORD, PASSWORD, PASSWORD_FAILS, SALT, VALID| Modifier | Constructor and Description |
|---|---|
protected |
PasswordPerson(PasswordPersonFactory<? extends PasswordPerson> fac,
uk.ac.ed.epcc.webapp.model.data.Repository.Record res) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
evaluateExpression(PropExpression<T> expr)
Evaluate an expression on the target object
|
<T> T |
evaluateExpression(PropExpression<T> expr,
T def)
Evaluate expression with default.
|
ExpressionTargetFactory |
getExpressionTargetFactory() |
java.lang.String |
getName() |
Parser |
getParser()
Get a
Parser used to parse expressions for
this target. |
<T> T |
getProperty(PropertyTag<T> tag) |
<T> T |
getProperty(PropertyTag<T> tag,
T def)
Get property with default.
|
<T> void |
setOptionalProperty(PropertyTag<? super T> tag,
T value) |
<T> void |
setProperty(PropertyTag<? super T> tag,
T value) |
<T> void |
setProperty(PropertyTag<T> tag,
PropertyContainer map) |
boolean |
supports(PropertyTag<?> tag) |
boolean |
writable(PropertyTag<?> tag) |
canResetPassword, doWelcome, firstPassword, getAlgorithm, getCryptPassword, getSalt, mustChangePassword, newPassword, newSignup, passwordFailsExceeded, randomisePassword, resetPasswordFails, setCryptPassword, setPasswordcanLogin, getEmail, getIdentifier, getLastTimeDetailsUpdated, getSortName, getWebName, isPlaceholder, markDetailsUpdated, needDetailsUpdate, nonRandomString, postUpdate, randomString, randomString, setEmail, setWebNameaddToMap, addToMap, addToMap, commit, delete, empty, equals, formUpdate, getContext, getFactoryTag, getID, getIdentifier, getLogger, getMap, getRecord, getRecord, getRecord, getSQLContext, getUniqueIdName, hashCode, post_commit, postCreate, pre_commit, release, setContents, setDirty, setMap, toStringprotected PasswordPerson(PasswordPersonFactory<? extends PasswordPerson> fac, uk.ac.ed.epcc.webapp.model.data.Repository.Record res)
public java.lang.String getName()
getName in interface java.security.PrincipalgetName in class uk.ac.ed.epcc.webapp.session.PasswordAuthAppUserpublic final <T> T getProperty(PropertyTag<T> tag) throws InvalidPropertyException
InvalidPropertyExceptionpublic final <T> T getProperty(PropertyTag<T> tag, T def)
PropertyTargetgetProperty in interface PropertyTargetT - Type of propertytag - PropertTag identifying propertydef - default valuepublic final <T> void setProperty(PropertyTag<? super T> tag, T value) throws InvalidPropertyException
InvalidPropertyExceptionpublic final <T> void setOptionalProperty(PropertyTag<? super T> tag, T value)
public final <T> void setProperty(PropertyTag<T> tag, PropertyContainer map) throws InvalidPropertyException
InvalidPropertyExceptionpublic final boolean supports(PropertyTag<?> tag)
public final boolean writable(PropertyTag<?> tag)
public <T> T evaluateExpression(PropExpression<T> expr) throws InvalidPropertyException
ExpressionTargetevaluateExpression in interface ExpressionTargetInvalidPropertyExceptionT - type of expressionexpr - expressionpublic <T> T evaluateExpression(PropExpression<T> expr, T def)
ExpressionTargetevaluateExpression in interface ExpressionTargetT - type of expressionexpr - expressiondef - default valuepublic ExpressionTargetFactory getExpressionTargetFactory()
public Parser getParser()
ExpressionTargetParser used to parse expressions for
this target.getParser in interface ExpressionTarget