Hey,

the reason i needed the logged in users was that i had a requirement to change the UI runtime if a admin goes and change the logged in user roles \ privileges.

i was able to the get the logged in flex clients with following code,

Code:
			
FlexClientManager flexClientManager = messageBroker.getFlexClientManager();

String[] clientIDs = flexClientManager.getClientIds();

for (String ID : clientIDs) {
	FlexClient flexClient = flexClientManager.getFlexClient(ID);
}
and from the flex client i got the flex sessions (HttpFlexSession) and the principal (UsernamePasswordAuthenticationToken) with following code

Code:
List<HttpFlexSession> clientSessions = flexClient.getFlexSessions();
UsernamePasswordAuthenticationToken principal = clientSessions.get(0).getUserPrincipal();
don't know if this is the best way to implement this. i'll be trying your solution this weekend.

thanks for you help