Class PasswordContainingSource

java.lang.Object
com.levigo.jadice.web.shared.model.Source
com.levigo.jadice.web.shared.PasswordContainingSource
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClassPathSource, ClassPathWithAnnoAndPermissionSource, ClassPathWithAnnoSource, DocumentIDSource, UriSource

public abstract class PasswordContainingSource extends Source
A Source containing the password. The password can be used for example to decrypt the PDF on server side when the document is initially loaded.
See Also:
  • Constructor Details

    • PasswordContainingSource

      public PasswordContainingSource()
  • Method Details

    • getPassword

      public String getPassword()
      Returns the password for this document.
      Returns:
      the password used to encrypt this document
    • setPassword

      public void setPassword(String password)
      Sets the password for this document.
      Parameters:
      password - the password which should be used to encrypt this document