@ SneakyThrows protected View getResultingView ( final IndirectClient < Credentials , CommonProfile > client , final J2EContext webContext , final Ticket ticket ) { val action = client . getRedirectAction ( webContext ) ; if ( RedirectAction . RedirectType . SUCCESS . equals ( action . getType ( ) ) ) { return new DynamicHtmlView ( action . getContent ( ) ) ; } val builder = new URIBuilder ( action . getLocation ( ) ) ; val url = builder . toString ( ) ; LOGGER . debug ( "Redirecting client [{}] to [{}] based on identifier [{}]" , client . getName ( ) , url , ticket . getId ( ) ) ; return new RedirectView ( url ) ; }
Gets resulting view .