Hi!
I'm in the situation of having to create a filter for authenticating users.
If they are logged in (Windows authentication) then let them see the content.
If not do something else...
The solution I'm working on uses both SurfaceControllers (where [Authorize] won't work) and RenderMvcController (where it does).
Earlier you could register this via global filters and now I think you should use the composer in some way. Could really need some help here... Thanks!
I added profile attributes in the processReqParams method above, and it's an example of how to programmatically add profile https://vidmate.bet/ attributes for a logged-in user. The method calls up the profileAttributeService that was defined for the SimpleAuthFilter bean, which allows us to manipulate profile attributes via the engine. You can verify that the attributes have been written to the database by consulting the jiprofileattributes table.
Register filter for authentication of users
Hi! I'm in the situation of having to create a filter for authenticating users. If they are logged in (Windows authentication) then let them see the content. If not do something else... The solution I'm working on uses both SurfaceControllers (where [Authorize] won't work) and RenderMvcController (where it does). Earlier you could register this via global filters and now I think you should use the composer in some way. Could really need some help here... Thanks!
I added profile attributes in the processReqParams method above, and it's an example of how to programmatically add profile https://vidmate.bet/ attributes for a logged-in user. The method calls up the profileAttributeService that was defined for the SimpleAuthFilter bean, which allows us to manipulate profile attributes via the engine. You can verify that the attributes have been written to the database by consulting the jiprofileattributes table.
is working on a reply...