Returns whether or not this authentication processor can handle the given context information.
NOTE: this method does not need to perform the actual authentication!
For example, for an implementation that authenticates a user based on its username and password might check whether the given context information consists of two strings.
@param context the context information to check, should never be
null or anempty array.
@return
true if this authentication processor can handle the given contextinformation,
false otherwise.
@throws IllegalArgumentException in case the given context was
null or an empty array;
@throws NullPointerException in case the given array contains
null as element(s).