summaryrefslogtreecommitdiff
path: root/lib/DeWeave/BO/Password.pm
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2011-03-26 13:44:35 +0000
committerdakkar <dakkar@thenautilus.net>2011-03-26 13:44:35 +0000
commit63ea2492d1b7676d5aae7c9dd7912ca78159c321 (patch)
tree22ab40b24d45d55d34c93927408c38a9634eddf9 /lib/DeWeave/BO/Password.pm
parentcollections working, subclasses, strings (diff)
downloadDeWeave-63ea2492d1b7676d5aae7c9dd7912ca78159c321.tar.gz
DeWeave-63ea2492d1b7676d5aae7c9dd7912ca78159c321.tar.bz2
DeWeave-63ea2492d1b7676d5aae7c9dd7912ca78159c321.zip
many more BrowserObjects
Diffstat (limited to 'lib/DeWeave/BO/Password.pm')
-rw-r--r--lib/DeWeave/BO/Password.pm50
1 files changed, 50 insertions, 0 deletions
diff --git a/lib/DeWeave/BO/Password.pm b/lib/DeWeave/BO/Password.pm
new file mode 100644
index 0000000..6839d66
--- /dev/null
+++ b/lib/DeWeave/BO/Password.pm
@@ -0,0 +1,50 @@
+package DeWeave::BO::Password;
+use Moose;
+use namespace::autoclean;
+use MooseX::Types::Moose qw(Str);
+
+extends 'DeWeave::EDO';
+
+has hostname => (
+ isa => Str,
+ required => 1,
+ is => 'ro',
+);
+
+has formSubmitURL => (
+ isa => Str,
+ required => 0,
+ is => 'ro',
+);
+
+has httpRealm => (
+ isa => Str,
+ required => 0,
+ is => 'ro',
+);
+
+has username => (
+ isa => Str,
+ required => 1,
+ is => 'ro',
+);
+
+has password => (
+ isa => Str,
+ required => 1,
+ is => 'ro',
+);
+
+has usernameField => (
+ isa => Str,
+ required => 0,
+ is => 'ro',
+);
+
+has passwordField => (
+ isa => Str,
+ required => 0,
+ is => 'ro',
+);
+
+1;