private void addURIToAuthorize ( final HttpServletRequest httpRequest , final URI uri ) { @ SuppressWarnings ( "unchecked" ) Set < URI > targetURIs = ( Set < URI > ) httpRequest . getAttribute ( URIS_TO_AUTHORIZE ) ; if ( targetURIs == null ) { targetURIs = new HashSet <> ( ) ; httpRequest . setAttribute ( URIS_TO_AUTHORIZE , targetURIs ) ; } targetURIs . add ( uri ) ; }
Add URIs to collect permissions information for .