Blazeds + Spring security: fetch data based on current user


hi,

i'm learning flex trying build application
flex, blazeds , spring. application lets users log on using
spring security (which combine
acegilogoncommand). assemblers return different
data based on user logged on (for instance show
that specific user's to-do list). this, added userid
property spring security principals (by subclassing
org.springframework.security.userdetails.user)
and added user_id columns user-specific data in database.
i know how can logged on user in
assembler can use userid fetch user's data.

is assembler right place decide data send
flex application? if so, can tell me how determine
user logged on in assembler? if not,
recommended way of dealing user-specific data in database in
combination blazeds?

the examples have been able find on internet far
use different roles determine user or not allowed
do, have yet find examples users store , retrieve
user-specific data.

kind regards,

jeroen



More discussions in General Discussion


adobe

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code