On 28 Jul 2011 00:27, "Noel Portugal" <[email protected]> wrote:
>
> Hi, I am running vysper 0.7 embedded into my application. I'm
authenticating
> users against LDAP, but I noticed that only username and password a
strings
> are being sent to
>    @Override
>    public boolean verifyCredentials(String username, String password,
> Object credentials) {
>        Entity user = EntityImpl.parseUnchecked(username);
>        return verifyCredentials(user, password, credentials);
>    }
> Is there a way to get the full Entity at this point of the authentication
> (or authorization)? I want to get the resource so I can store that on a DB
> right after login.

no. resource binding is only done after authentication.

>If not is there any other way to capture the resource
> right after login?

you'd have to wrap Resource Registry with your own implementation.

  Bernd
>
> Thanks
>
> Noel

Reply via email to