public class Profile extends Object
| Constructor and Description |
|---|
Profile() |
public org.bson.types.ObjectId getId()
public void setId(org.bson.types.ObjectId id)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getEmail()
public void setEmail(String email)
public boolean isVerified()
public void setVerified(boolean verified)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public Date getCreatedOn()
public void setCreatedOn(Date createdOn)
public Date getLastModified()
public void setLastModified(Date lastModified)
public String getTenant()
public void setTenant(String tenant)
public boolean hasRole(String role)
public int getFailedAttempts()
public void setFailedAttempts(int failedAttempts)
public Date getLastFailedLogging()
public void setLastFailedLogging(Date lastFailedLogging)
public boolean hasAnyRole(String... roles)
public boolean hasAnyRole(Collection<String> roles)
public <T> T getAttribute(String name)
public void increseFaildAttempts()
Copyright © 2015 CrafterCMS. All Rights Reserved.