I've been looking for information on managing security in SmartGWT. It seems there are a number of approaches, and I'm not sure which is best to take.
At present, we have a standard J2EE form-based logon to our application - it protects the web page which is the application itself. But within the application we need to access the details of the currently-logged on user (his username), and (although I'm not sure I've understood this correctly) it seems the simplest methods to get that information don't work (I'm thinking DataSource.get("user")).
So is there a recommended way to handle this?
I note when searching the forum that there are lots and lots of posts asking similar questions. It might be really helpful to put an example of logon functionality (including retrieval of information) into the showcase. Obviously a great many people are finding that the existing documentation doesn't explain the situation well enough.
At present, we have a standard J2EE form-based logon to our application - it protects the web page which is the application itself. But within the application we need to access the details of the currently-logged on user (his username), and (although I'm not sure I've understood this correctly) it seems the simplest methods to get that information don't work (I'm thinking DataSource.get("user")).
So is there a recommended way to handle this?
I note when searching the forum that there are lots and lots of posts asking similar questions. It might be really helpful to put an example of logon functionality (including retrieval of information) into the showcase. Obviously a great many people are finding that the existing documentation doesn't explain the situation well enough.
Comment