AuthenticationService  v0.2.0
Public Member Functions | Static Public Member Functions | Properties | List of all members
Joutsen.AuthenticationControl.CreateTablesCommand Class Reference

A command that canbe used to initialize the database from scratch. More...

Public Member Functions

 CreateTablesCommand ()
 Creates the command. More...
 
override void Execute ()
 Executes the command's logic to initialize the database. More...
 

Static Public Member Functions

static SubParser CreateParser (SubParser parser)
 Creates a command line parser for use with the command. More...
 

Properties

String AdminName [get, set]
 The name of the application's administrator. More...
 
String AdminPassword [get, set]
 The password of the application's administrator. More...
 
bool SimulationOnly [get, set]
 Determines if the database is actually created or if only a scrip tis generated. More...
 
AuthenticationNHibernateSchema Schema [get, set]
 The schema for the authentication database. More...
 
UserRepository UserRepository [set]
 A repository used to create the admin user. More...
 
ApplicationRepository AppRepository [set]
 A repository used to create the authentication service application. More...
 
RoleRepository RoleRepository [set]
 A repository used to create the admin cole for the admin user and the authentication service. More...
 

Detailed Description

A command that canbe used to initialize the database from scratch.

Since
0.1.0

Constructor & Destructor Documentation

◆ CreateTablesCommand()

Joutsen.AuthenticationControl.CreateTablesCommand.CreateTablesCommand ( )

Creates the command.

Member Function Documentation

◆ CreateParser()

static SubParser Joutsen.AuthenticationControl.CreateTablesCommand.CreateParser ( SubParser  parser)
static

Creates a command line parser for use with the command.

◆ Execute()

override void Joutsen.AuthenticationControl.CreateTablesCommand.Execute ( )
virtual

Executes the command's logic to initialize the database.

Implements Joutsen.AuthenticationControl.Command.

Property Documentation

◆ AdminName

String Joutsen.AuthenticationControl.CreateTablesCommand.AdminName
getset

The name of the application's administrator.

◆ AdminPassword

String Joutsen.AuthenticationControl.CreateTablesCommand.AdminPassword
getset

The password of the application's administrator.

◆ AppRepository

ApplicationRepository Joutsen.AuthenticationControl.CreateTablesCommand.AppRepository
set

A repository used to create the authentication service application.

◆ RoleRepository

RoleRepository Joutsen.AuthenticationControl.CreateTablesCommand.RoleRepository
set

A repository used to create the admin cole for the admin user and the authentication service.

◆ Schema

AuthenticationNHibernateSchema Joutsen.AuthenticationControl.CreateTablesCommand.Schema
getset

The schema for the authentication database.

◆ SimulationOnly

bool Joutsen.AuthenticationControl.CreateTablesCommand.SimulationOnly
getset

Determines if the database is actually created or if only a scrip tis generated.

◆ UserRepository

UserRepository Joutsen.AuthenticationControl.CreateTablesCommand.UserRepository
set

A repository used to create the admin user.