Gateway: Developer notes

From CFTP

Jump to: navigation, search

Note #1

When a user successfully signs in, a new user object is created and saved into user's session under the user.object key. This is done in the new PASS command supplied by this plug-in.


Note #2

When using the Acegi module, in addition to the ExternalAcegiUserDAO which is installed by default, there is also AcegiUserDAO where you have to set authenticationManager and allowedUserRoles through setters. This class is useful if you want to define Acegi configuration in the same beans.xml rather than in an external file to reuse the existing objects. There is an example of acegiUserDAO in the acegi-conf.xml file.



Return to Plug-in: Gateway

Personal tools