@Entity public class JPALinkedAccount extends AbstractGeneratedKeyEntity implements LinkedAccount
Modifier and Type | Field and Description |
---|---|
static String |
TABLE |
LOG
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
Constructor and Description |
---|
JPALinkedAccount() |
getKey, setKey
checkImplementationType, checkType, equals, hashCode, toString
public static final String TABLE
public String getConnObjectKeyValue()
getConnObjectKeyValue
in interface LinkedAccount
public void setConnObjectKeyValue(String connObjectKeyValue)
setConnObjectKeyValue
in interface LinkedAccount
public User getOwner()
getOwner
in interface LinkedAccount
public void setOwner(User owner)
setOwner
in interface LinkedAccount
public ExternalResource getResource()
getResource
in interface LinkedAccount
public void setResource(ExternalResource resource)
setResource
in interface LinkedAccount
public String getUsername()
getUsername
in interface Account
public void setUsername(String username)
setUsername
in interface Account
public CipherAlgorithm getCipherAlgorithm()
getCipherAlgorithm
in interface Account
public void setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
setCipherAlgorithm
in interface Account
public boolean canDecodeSecrets()
canDecodeSecrets
in interface Account
public String getPassword()
getPassword
in interface Account
public void setEncodedPassword(String password, CipherAlgorithm cipherAlgoritm)
setEncodedPassword
in interface Account
public void setPassword(String password)
setPassword
in interface Account
public void setSuspended(Boolean suspended)
setSuspended
in interface Account
public Boolean isSuspended()
isSuspended
in interface Account
public boolean add(LAPlainAttr attr)
add
in interface Attributable<LAPlainAttr>
public boolean remove(LAPlainAttr attr)
remove
in interface Attributable<LAPlainAttr>
public Optional<? extends LAPlainAttr> getPlainAttr(String plainSchema)
Attributable
getPlainAttr
in interface Attributable<LAPlainAttr>
plainSchema
- plain schema namepublic List<? extends LAPlainAttr> getPlainAttrs()
Attributable
getPlainAttrs
in interface Attributable<LAPlainAttr>
public boolean add(Privilege privilege)
add
in interface LinkedAccount
public Set<? extends Privilege> getPrivileges()
getPrivileges
in interface LinkedAccount
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.