// selected.
final ObjectAction action = MethodsUtils.findAction(object, methodName);
entryState = validateParameters(context, action, object);
AuthenticationSession session = context.getSession();
if (session == null && action.isVisible(new AnonymousSession(), object, where).isVetoed()) {
session = new AnonymousSession();
}
final Version originalVersion = context.getVersion(version);
object.checkLock(originalVersion);
if (entryState.isValid()) {