summaryrefslogtreecommitdiff
path: root/lib/DeWeave/BO/Password.pm
diff options
context:
space:
mode:
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;