Class JPAAuthProfile
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
-
- org.apache.syncope.core.persistence.jpa.entity.am.JPAAuthProfile
-
- All Implemented Interfaces:
Serializable,AuthProfile,Entity
@Entity public class JPAAuthProfile extends AbstractGeneratedKeyEntity implements AuthProfile
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static TypeReference<List<GoogleMfaAuthAccount>>GOOGLE_MFA_ACCOUNTS_TYPEREFprotected static TypeReference<List<GoogleMfaAuthToken>>GOOGLE_MFA_TOKENS_TYPEREFprotected static TypeReference<List<ImpersonationAccount>>IMPERSONATION_TYPEREFprotected static TypeReference<List<MfaTrustedDevice>>MFA_TRUSTED_DEVICE_TYPEREFstatic StringTABLEprotected static TypeReference<List<U2FDevice>>U2F_TYPEREFprotected static TypeReference<List<WebAuthnDeviceCredential>>WEBAUTHN_TYPEREF-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOG
-
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
-
Constructor Summary
Constructors Constructor Description JPAAuthProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<GoogleMfaAuthAccount>getGoogleMfaAuthAccounts()List<GoogleMfaAuthToken>getGoogleMfaAuthTokens()List<ImpersonationAccount>getImpersonationAccounts()List<MfaTrustedDevice>getMfaTrustedDevices()StringgetOwner()List<U2FDevice>getU2FRegisteredDevices()List<WebAuthnDeviceCredential>getWebAuthnDeviceCredentials()voidsetGoogleMfaAuthAccounts(List<GoogleMfaAuthAccount> accounts)voidsetGoogleMfaAuthTokens(List<GoogleMfaAuthToken> tokens)voidsetImpersonationAccounts(List<ImpersonationAccount> accounts)voidsetMfaTrustedDevices(List<MfaTrustedDevice> devices)voidsetOwner(String owner)voidsetU2FRegisteredDevices(List<U2FDevice> devices)voidsetWebAuthnDeviceCredentials(List<WebAuthnDeviceCredential> credentials)-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
getKey, setKey
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toString
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
GOOGLE_MFA_TOKENS_TYPEREF
protected static final TypeReference<List<GoogleMfaAuthToken>> GOOGLE_MFA_TOKENS_TYPEREF
-
GOOGLE_MFA_ACCOUNTS_TYPEREF
protected static final TypeReference<List<GoogleMfaAuthAccount>> GOOGLE_MFA_ACCOUNTS_TYPEREF
-
U2F_TYPEREF
protected static final TypeReference<List<U2FDevice>> U2F_TYPEREF
-
MFA_TRUSTED_DEVICE_TYPEREF
protected static final TypeReference<List<MfaTrustedDevice>> MFA_TRUSTED_DEVICE_TYPEREF
-
IMPERSONATION_TYPEREF
protected static final TypeReference<List<ImpersonationAccount>> IMPERSONATION_TYPEREF
-
WEBAUTHN_TYPEREF
protected static final TypeReference<List<WebAuthnDeviceCredential>> WEBAUTHN_TYPEREF
-
-
Method Detail
-
getOwner
public String getOwner()
- Specified by:
getOwnerin interfaceAuthProfile
-
setOwner
public void setOwner(String owner)
- Specified by:
setOwnerin interfaceAuthProfile
-
getGoogleMfaAuthTokens
public List<GoogleMfaAuthToken> getGoogleMfaAuthTokens()
- Specified by:
getGoogleMfaAuthTokensin interfaceAuthProfile
-
setGoogleMfaAuthTokens
public void setGoogleMfaAuthTokens(List<GoogleMfaAuthToken> tokens)
- Specified by:
setGoogleMfaAuthTokensin interfaceAuthProfile
-
getGoogleMfaAuthAccounts
public List<GoogleMfaAuthAccount> getGoogleMfaAuthAccounts()
- Specified by:
getGoogleMfaAuthAccountsin interfaceAuthProfile
-
setGoogleMfaAuthAccounts
public void setGoogleMfaAuthAccounts(List<GoogleMfaAuthAccount> accounts)
- Specified by:
setGoogleMfaAuthAccountsin interfaceAuthProfile
-
getU2FRegisteredDevices
public List<U2FDevice> getU2FRegisteredDevices()
- Specified by:
getU2FRegisteredDevicesin interfaceAuthProfile
-
setU2FRegisteredDevices
public void setU2FRegisteredDevices(List<U2FDevice> devices)
- Specified by:
setU2FRegisteredDevicesin interfaceAuthProfile
-
getMfaTrustedDevices
public List<MfaTrustedDevice> getMfaTrustedDevices()
- Specified by:
getMfaTrustedDevicesin interfaceAuthProfile
-
setMfaTrustedDevices
public void setMfaTrustedDevices(List<MfaTrustedDevice> devices)
- Specified by:
setMfaTrustedDevicesin interfaceAuthProfile
-
getImpersonationAccounts
public List<ImpersonationAccount> getImpersonationAccounts()
- Specified by:
getImpersonationAccountsin interfaceAuthProfile
-
setImpersonationAccounts
public void setImpersonationAccounts(List<ImpersonationAccount> accounts)
- Specified by:
setImpersonationAccountsin interfaceAuthProfile
-
getWebAuthnDeviceCredentials
public List<WebAuthnDeviceCredential> getWebAuthnDeviceCredentials()
- Specified by:
getWebAuthnDeviceCredentialsin interfaceAuthProfile
-
setWebAuthnDeviceCredentials
public void setWebAuthnDeviceCredentials(List<WebAuthnDeviceCredential> credentials)
- Specified by:
setWebAuthnDeviceCredentialsin interfaceAuthProfile
-
-