final Object authenticationArgs[] = { casTicket, requestURL , remoteHostName};
final CASReceipt receipt = Authenticate.getCASReceipt(casTicket, requestURL); final Object authenticationArgs[] = { receipt, requestURL , remoteHostName};
    protected IUserView doAuthentication(ActionForm form, HttpServletRequest request, String remoteHostName)            throws FenixFilterException, FenixServiceException {        if (!useCASAuthentication) {            throw new ExcepcaoAutenticacao("errors.noAuthorization");        }        IUserView userView = getCurrentUserView(request);        if (userView == null) {            final String casTicket = (String) request.getParameter("ticket");            final String requestURL = request.getRequestURL().toString();            final Object authenticationArgs[] = { casTicket, requestURL , remoteHostName};            userView = (IUserView) ServiceManagerServiceFactory.executeService(null, "Autenticacao",                    authenticationArgs);        }        return userView;    }