Interface Account
-
- All Known Subinterfaces:
LinkedAccount
,User
- All Known Implementing Classes:
DeletingLinkedAccount
,JPAJSONLinkedAccount
,JPAJSONUser
,JPALinkedAccount
,JPAUser
public interface Account
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canDecodeSecrets()
CipherAlgorithm
getCipherAlgorithm()
String
getPassword()
String
getUsername()
Boolean
isSuspended()
void
setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
void
setEncodedPassword(String password, CipherAlgorithm cipherAlgoritm)
void
setPassword(String password)
void
setSuspended(Boolean suspended)
void
setUsername(String username)
-
-
-
Method Detail
-
getUsername
String getUsername()
-
setUsername
void setUsername(String username)
-
getCipherAlgorithm
CipherAlgorithm getCipherAlgorithm()
-
canDecodeSecrets
boolean canDecodeSecrets()
-
getPassword
String getPassword()
-
setEncodedPassword
void setEncodedPassword(String password, CipherAlgorithm cipherAlgoritm)
-
setPassword
void setPassword(String password)
-
setCipherAlgorithm
void setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
-
isSuspended
Boolean isSuspended()
-
setSuspended
void setSuspended(Boolean suspended)
-
-