-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5ddba2
commit 4b58c15
Showing
12 changed files
with
44 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,40 @@ | ||
component extends="framework.one" { | ||
component accessors=true extends="framework.one" { | ||
|
||
property departmentService; | ||
|
||
this.mappings["/userManager"] = getDirectoryFromPath(getCurrentTemplatePath()); | ||
this.name = 'fw1-userManager-accessControl'; | ||
this.name = 'fw1-userManager-accessControl-5'; | ||
this.sessionmanagement = true; | ||
this.sessiontimeout = createTimeSpan(0,2,0,0); | ||
|
||
// FW/1 - configuration: | ||
variables.framework = { | ||
trace = true | ||
}; | ||
|
||
function setupApplication() { | ||
application.adminEmail = 'admin@mysite.com'; | ||
if ( variables.keyExists( "departmentService" ) ) | ||
writeDump( var = variables.departmentService, label = "setupApplication" ); | ||
} | ||
|
||
function setupSession() { | ||
controller( 'security.session' ); | ||
if ( variables.keyExists( "departmentService" ) ) | ||
writeDump( var = variables.departmentService, label = "setupSession" ); | ||
} | ||
|
||
function setupRequest() { | ||
controller( 'security.authorize' ); | ||
if ( variables.keyExists( "departmentService" ) ) | ||
writeDump( var = variables.departmentService, label = "setupRequest" ); | ||
} | ||
|
||
function setupView( rc ) { | ||
if ( variables.keyExists( "departmentService" ) ) { | ||
writeDump( var = variables.departmentService, label = "setupView" ); | ||
rc.d1 = departmentService.get( 1 ); | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters