Hi,
I do the following in the page code so that I don't have to manipulate urls,
you never know if the format could change;
@Inject
private ComponentResources resources;
public String getUrl() {
return resources.createEventLink("someEvent", 'some
context
Hi Rich,
You could use Javascript to submit the form using AJAX and then in the load
section popup your dialog.
function sendXHRAndUpdate(settings){
var xhrArgs = {
form : settings.formId,
handleAs : "json",
load : function(data) {
>> form.recordError(messages.get("login.invalidUsernameOrPassword"));
>> } else {
>> // do your thing
>> .
>> .
>> .
>> }
>>
>>
> public void onApplicationEvent(AuthenticationSuccessEvent successEvent)
> {
>UserDetails userDetails = (UserDetails)
> successEvent.getAuthentication().getPrincipal();
>//notify here etc.
>
> }
>
> And thats all?!
>
> Cheers,
> Peter
>
>
&
So do I have any takers for this problem?
Somebody must be recording logins somewhere, I don't have to use Spring to do
it.
--Original message
I am trying to get spring security to notify me of a successful logon using the
Spring ApplicationListener. However, the ApplicationListener doesn'
Hi There,
I am trying to get spring security to notify me of a successful logon using the
Spring ApplicationListener. However, the ApplicationListener doesn't seem to be
notified of the events.
Any help or pointers will be appreciated.
I am using t5.2 Spring 3.0 and the 3.0.0-snapshot of t5ss