private PrincipalFromRequestRemoteUserNonInteractiveCredentialsAction action;
protected void setUp() throws Exception {
this.action = new PrincipalFromRequestRemoteUserNonInteractiveCredentialsAction();
final CentralAuthenticationServiceImpl centralAuthenticationService = new CentralAuthenticationServiceImpl();
centralAuthenticationService.setTicketRegistry(new DefaultTicketRegistry());
final Map<String, UniqueTicketIdGenerator> idGenerators = new HashMap<String, UniqueTicketIdGenerator>();
idGenerators.put(SimpleWebApplicationServiceImpl.class.getName(), new DefaultUniqueTicketIdGenerator());
final AuthenticationManagerImpl authenticationManager = new AuthenticationManagerImpl();