> I understand from the chain that I should use the resolver to query UserId
> from database. That is, override extractPrincipalId() method to call a
> remote service or Dao which would fetch UserId by UserName.

I assume you are describing how you would extend
AbstractPersonDirectoryCredentialsToPrincipalResolver, which is
correct if you want to build on top of that component.  I've not heard
anything in your description, however, that warrants PersonDirectory
integration.  You may find it easier to simply create a new class that
implements CredentialsToPrincipalResolver directly.  These sorts of
components are typically straightforward to develop and test.

M

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to