Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: typo

...

The Public User Registration module includes all the necessary components to implement PUR on your site.

You can make the components available on any page template. The components will be used on pages for registration, login and related PUR tasks. 

The Travel demo's Public Users template makes the components available in main area of the page. The example uses this template. See Area definition for more.

Localtab Group
Localtab
activetrue
titleYAML file
Code Pro
languagejs
sections8-28
urlhttp://git.magnolia-cms.com/projects/MODULES/repos/demo-projects/browse/community/magnolia-travel-demo/src/main/resources/travel-demo/templates/pages/pur.yaml?at=master&raw
 
Localtab
titleJCR node
Advanced Tables - Table Plus
heading0
multiplefalse
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
Node nameValue

Mgnl n
areas

 


Mgnl n
main

 


Mgnl n
availableComponents

 


Mgnl n
login

 

Mgnl p
id

public-user-registration:components/login

Mgnl n
registration

 


Mgnl p
id

public-user-registration:components/registration

Mgnl n
userUpdate

 

Mgnl p
id

public-user-registration:components/userUpdate

Mgnl n
forgottenPassword

 


Mgnl p
id

public-user-registration:components/forgottenPassword

Mgnl n
passwordChange

 


Mgnl p
id

public-user-registration:components/passwordChange

Mgnl n
enableUser

 


Mgnl p
id

public-user-registration:components/enableUser

Mgnl n
textImage

 


Mgnl p
id

travel-demo:components/textImage

...

These options are configured in /moudlesmodules/public-user-registration/config/configurations/sportstation.

Localtab
titleJCR node
Advanced Tables - Table Plus
heading0
multiplefalse
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
Node nameValue
Mgnl f
configurations
 

Mgnl n
default

 

Mgnl n
travel

 


Mgnl n
sportstation

 


Mgnl n
registrationStrategy

 


Mgnl p
class

info.magnolia.module.publicuserregistration.strategy.Always 

Mgnl n
passwordRetrievalStrategy

 


Mgnl p
emailTemplate

/public-user-registration/templates/mail/password-reset-email.ftl 

Mgnl p
targetPagePath

/sportstation/sports-club/retrieve-club-password/change-club-password

Mgnl n
defaultRoles

 


Mgnl p
anonymous

anonymous

Mgnl p
extends

 override

Mgnl n
defaultGroups

 

Mgnl p
pur

sportstation-pur

Mgnl p
extends

../default 

...

GroupGranted roles
sportstation-pursportstation-pur 

travel-demo-base

 imaging-base

Adding a client callback to the security filter

...

Localtab
titleJCR node
Advanced Tables - Table Plus
heading0
multiplefalse
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
Node nameValue
Mgnl f
server
 

Mgnl f
filters

 


Mgnl f
...

 


Mgnl f
securityCallback

 


Mgnl n
clientCallbacks

 

Mgnl n
travel-demo-pur

 


Mgnl n
sportstation-pur

 

Mgnl n
originalUrlPattern

 


Mgnl p
class

info.magnolia.cms.util.SimpleUrlPattern

Mgnl p
patternString

(*|sportstation)/sports-club/(profile-update|club-deals)* 

Mgnl p
class

info.magnolia.cms.security.auth.callback.RedirectClientCallback 

Mgnl p
location

/sportstation/sports-club/club-login.html

...