Class CredentialsConfiguration

  • All Implemented Interfaces:
    ICredentials

    @Embeddable
    public class CredentialsConfiguration
    extends Object
    implements ICredentials
    Configuration for possible credentials
    • Constructor Detail

      • CredentialsConfiguration

        public CredentialsConfiguration()
      • CredentialsConfiguration

        public CredentialsConfiguration​(PasswordType password)
    • Method Detail

      • isDevice

        public boolean isDevice()
        Description copied from interface: ICredentials
        Indicates whether a trusted device is allowed
        Specified by:
        isDevice in interface ICredentials
      • isTotp

        public boolean isTotp()
        Description copied from interface: ICredentials
        Indicates whether RFC 6238 TOTP is allowed
        Specified by:
        isTotp in interface ICredentials
      • setDevice

        public void setDevice​(boolean device)
      • setPassword

        public void setPassword​(PasswordType password)
      • setTotp

        public void setTotp​(boolean totp)