Class DeletingLinkedAccount
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.propagation.DeletingLinkedAccount
-
- All Implemented Interfaces:
Serializable
,Attributable<LAPlainAttr>
,Entity
,Account
,LinkedAccount
public class DeletingLinkedAccount extends Object implements LinkedAccount
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
-
Constructor Summary
Constructors Constructor Description DeletingLinkedAccount(User user, ExternalResource resource, String connObjectKeyValue)
-
Method Summary
-
-
-
Constructor Detail
-
DeletingLinkedAccount
public DeletingLinkedAccount(User user, ExternalResource resource, String connObjectKeyValue)
-
-
Method Detail
-
getConnObjectKeyValue
public String getConnObjectKeyValue()
- Specified by:
getConnObjectKeyValue
in interfaceLinkedAccount
-
setConnObjectKeyValue
public void setConnObjectKeyValue(String connObjectKeyValue)
- Specified by:
setConnObjectKeyValue
in interfaceLinkedAccount
-
getOwner
public User getOwner()
- Specified by:
getOwner
in interfaceLinkedAccount
-
setOwner
public void setOwner(User owner)
- Specified by:
setOwner
in interfaceLinkedAccount
-
getResource
public ExternalResource getResource()
- Specified by:
getResource
in interfaceLinkedAccount
-
setResource
public void setResource(ExternalResource resource)
- Specified by:
setResource
in interfaceLinkedAccount
-
add
public boolean add(Privilege privilege)
- Specified by:
add
in interfaceLinkedAccount
-
getPrivileges
public Set<? extends Privilege> getPrivileges()
- Specified by:
getPrivileges
in interfaceLinkedAccount
-
getUsername
public String getUsername()
- Specified by:
getUsername
in interfaceAccount
-
setUsername
public void setUsername(String username)
- Specified by:
setUsername
in interfaceAccount
-
getCipherAlgorithm
public CipherAlgorithm getCipherAlgorithm()
- Specified by:
getCipherAlgorithm
in interfaceAccount
-
setCipherAlgorithm
public void setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
- Specified by:
setCipherAlgorithm
in interfaceAccount
-
canDecodeSecrets
public boolean canDecodeSecrets()
- Specified by:
canDecodeSecrets
in interfaceAccount
-
getPassword
public String getPassword()
- Specified by:
getPassword
in interfaceAccount
-
setEncodedPassword
public void setEncodedPassword(String password, CipherAlgorithm cipherAlgoritm)
- Specified by:
setEncodedPassword
in interfaceAccount
-
setPassword
public void setPassword(String password)
- Specified by:
setPassword
in interfaceAccount
-
isSuspended
public Boolean isSuspended()
- Specified by:
isSuspended
in interfaceAccount
-
setSuspended
public void setSuspended(Boolean suspended)
- Specified by:
setSuspended
in interfaceAccount
-
add
public boolean add(LAPlainAttr attr)
- Specified by:
add
in interfaceAttributable<LAPlainAttr>
-
remove
public boolean remove(LAPlainAttr attr)
- Specified by:
remove
in interfaceAttributable<LAPlainAttr>
-
getPlainAttr
public Optional<? extends LAPlainAttr> getPlainAttr(String plainSchema)
Description copied from interface:Attributable
Returns the plain attribute for this instance and the given schema name.s- Specified by:
getPlainAttr
in interfaceAttributable<LAPlainAttr>
- Parameters:
plainSchema
- plain schema name- Returns:
- plain attribute for this instance and the given schema name
-
getPlainAttrs
public List<? extends LAPlainAttr> getPlainAttrs()
Description copied from interface:Attributable
Returns the plain attributes for this instance.- Specified by:
getPlainAttrs
in interfaceAttributable<LAPlainAttr>
- Returns:
- plain attribute for this instance
-
-