Groovy Documentation

controllers
Class FileAndPasswordCommand

java.lang.Object
  controllers.FileAndPasswordCommand

class FileAndPasswordCommand

Command object representing a file, possibly protected by a password which will be entered in a web form in the usual repeated way. The constraints on this object verify that the two copies of the password match but do not enforce any constraints on the content of the password as it is intended for passwords that CoW will pass to third parties, not passwords that are used to authenticate to CoW itself.


Property Summary
static def constraints

byte[] data

Uploaded file data (will be data-bound by grails)

String password

The password

String repeatPassword

 
Constructor Summary
FileAndPasswordCommand()

 
Method Summary
 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Property Detail

constraints

static def constraints


data

byte[] data
Uploaded file data (will be data-bound by grails)


password

String password
The password


repeatPassword

String repeatPassword


 
Constructor Detail

FileAndPasswordCommand

FileAndPasswordCommand()


 

Groovy Documentation