public interface Authentication
Authenticationinterface defines methods to validate
Credentialsupon authentication. The validation dependants on the authentication mechanism used, i.e.
|Modifier and Type||Method and Description|
True if the Credentials identify the
An Authentication may only be able to handle certain types of
boolean canHandle(Credentials credentials)
Credentialsas the authentication process is tightly coupled to the semantics of the
Credentials. E.g.: A ticket based
Authenticationis dependant on a Credentials implementation which allows access to this ticket.
credentials- in questions
trueif the current Authentication handles the given Credentials
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.