Issue Type: Enhancement Enhancement
Affects Versions: PLINK_2.5.2.FInal
Assignee: Shane Bryzak
Components: IDM
Created: 22/Oct/13 9:00 AM
Description:

Currently, if an user is using a custom Account type to represent their users, he needs to provide an additional CredentialHandler in order to be able to load the custom type during the authentication.

Althought we have this properly documented (http://docs.jboss.org/picketlink/2/latest/reference/html/ch04.html#d5e919), I think we can simplify that and remove the need for custom credential handlers when using a custom account type.

As a suggestion, we can change Credentials to accept a previously loaded Account instance and use this instance when validating credentials. That way we can get the identifier for the account and use it to check if it really exists and retrieve its credentials.

I think this will increase a lot the usability, specially if we consider that in most cases the Account is always loaded by the application before the authentication begins.

Project: PicketLink
Priority: Optional Optional
Reporter: Pedro Igor
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira