Class LdapRegistrationActorDTO

java.lang.Object
de.gustavblass.fsu.fmi.roombooking.dto.LdapRegistrationActorDTO

public class LdapRegistrationActorDTO extends Object
A data-transfer object that represents an LDAP user whose password is stored remotely.
  • Field Details

    • userName

      @NotNull @NotBlank private @NotNull @NotBlank String userName
      The Actor's userName used for log-in with the LDAP server. Will be stored in the local database.
    • password

      @NotNull @NotBlank private @NotNull @NotBlank String password
      The literal password that the future Actor will use for login. The password must not be stored in the local database, because it's managed by the LDAP server!
    • acceptedPrivacyPolicy

      @NotNull @AssertTrue private @NotNull @AssertTrue Boolean acceptedPrivacyPolicy
      Whether the end user agrees to the privacy policy.
    • acceptedTermsOfUse

      @NotNull @AssertTrue private @NotNull @AssertTrue Boolean acceptedTermsOfUse
      Whether the end user agrees to the terms of use.
  • Constructor Details

    • LdapRegistrationActorDTO

      public LdapRegistrationActorDTO()
  • Method Details

    • clearCredentials

      public void clearCredentials()
      Sets the password to null.