com.uwyn.rife.authentication
Interface Credentials

All Superinterfaces:
Validated
All Known Subinterfaces:
RoleUserCredentials
All Known Implementing Classes:
RoleUser

public interface Credentials
extends Validated

This interface defines the methods that classes with Credentials functionalities have to implement.

Credentials contain the information that is required to verify if a user is valid and known to the system. They are the basic building blocks of the authentication mechanism.

Credentials can contain any data, they just have to be able to validate the contents of the provided data. For example enforce limits on the length of passwords, verify the accepted characters in logins, check the numeric requirements of identifiers, and so on.

This is different from the validation of the credentials themselves (ie. checking if they're known by the system and can be authenticated) since that is performed by a CredentialsManager.

Since:
1.0
Version:
$Revision: 3643 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)
See Also:
CredentialsManager

Method Summary
 
Methods inherited from interface com.uwyn.rife.site.Validated
addRule, addValidationError, countValidationErrors, getRules, getValidatedSubjects, getValidationErrors, isSubjectValid, limitSubjectErrors, makeErrorValid, makeSubjectValid, provideValidatedBean, replaceValidationErrors, resetValidation, retrieveValidatedBean, unlimitSubjectErrors, validate, validate
 



Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.