You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ranger.apache.org by Shrey Mehrotra <sh...@impetus.co.in> on 2015/02/24 11:42:02 UTC

Redirection to login page loads all resources (js and css) before redirection.

+user group

From: Shrey Mehrotra
Sent: Tuesday, February 24, 2015 3:24 PM
To: 'dev@ranger.incubator.apache.org'
Subject: Redirection to login page loads all resources (js and css) before redirection.

Hi,

When we directly hit index.html without going through login page, it loads all the js and css before redirecting to login page. It takes time and also since the user is not logged in, this should be checked before loading any resource of the site. Is this the architectures' design requirement or we could fix it by applying filters in security-applicationContext.xml?

Thanks & Regards,
Shrey Mehrotra
Senior Software Engineer, iLabs
Impetus Infotech Pvt. Ltd.


________________________________






NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

Re: Redirection to login page loads all resources (js and css) before redirection.

Posted by Gautam Borad <gb...@gmail.com>.
Shrey, This seems to be reproducible only on Firefox. I tried the mentioned
steps on Chrome and at step 3] it redirected to login.jsp page without
loading the html/js files.

We should raise a Jira for this. Thanks.


On Thu, Feb 26, 2015 at 1:56 AM, Shrey Mehrotra <
shrey.mehrotra@impetus.co.in> wrote:

>  Hi Gautam,
>
>
>
> I just hit index.html directly and found that all resources load up before
> the page gets redirected to login. One catch could be I have logged in to
> the application on same browser before. Please try with following steps to
> reproduce at your end:
>
>
>
> 1. Login to application with admin credentials.
>
> 2. Logout from application
>
> 3. Try to access index.html directly.
>
>
>
> Also, Please find attached the snapshot of network calls at my end.
>
>
>
> Let me know if you are able to replicate the same.
>
>
>
> Thanks & Regards,
>
> Shrey Mehrotra
>
> Senior Software Engineer, iLabs
>
> Impetus Infotech Pvt. Ltd.
>
>
>
> *From:* Gautam Borad [mailto:gborad@gmail.com]
> *Sent:* Wednesday, February 25, 2015 4:31 PM
> *To:* user@ranger.incubator.apache.org
> *Cc:* dev@ranger.incubator.apache.org
> *Subject:* Re: Redirection to login page loads all resources (js and css)
> before redirection.
>
>
>
> Hi Shrey, I just confirmed that only the pre-login files are getting
> loaded when you hit 'index.html' without a valid login session.
>
> Please let me know you use-case and i can try to reproduce it.
>
>  P.S: Attached Screenshot shows only the required files being loaded.
>
>
>
> On Tue, Feb 24, 2015 at 11:43 PM, Don Bosco Durai <bd...@hortonworks.com>
> wrote:
>
> Shrey
>
>
>
> Ideally it shouldn’t load, because index.html should have automatically
> redirected to login.jsp based on security-applicationContext.xml and that
> should have minimal dependencies.
>
>
>
> Gautam should be able to give more information.
>
>
>
> Let me know if you want to fix it? You can create a JIRA and assign it to
> your self.
>
>
>
> Thanks
>
>
>
> Bosco
>
>
>
>
>
> *From: *Shrey Mehrotra <sh...@impetus.co.in>
> *Reply-To: *"'user@ranger.incubator.apache.org'" <
> user@ranger.incubator.apache.org>
> *Date: *Tuesday, February 24, 2015 at 2:42 AM
> *To: *"'user@ranger.incubator.apache.org'" <
> user@ranger.incubator.apache.org>, "'dev@ranger.incubator.apache.org'" <
> dev@ranger.incubator.apache.org>
>
>
> *Subject: *Redirection to login page loads all resources (js and css)
> before redirection.
>
>
>
>   +user group
>
>
>
> *From:* Shrey Mehrotra
> *Sent:* Tuesday, February 24, 2015 3:24 PM
> *To:* 'dev@ranger.incubator.apache.org'
> *Subject:* Redirection to login page loads all resources (js and css)
> before redirection.
>
>
>
> Hi,
>
>
>
> When we directly hit index.html without going through login page, it loads
> all the js and css before redirecting to login page. It takes time and also
> since the user is not logged in, this should be checked before loading any
> resource of the site. Is this the architectures’ design requirement or we
> could fix it by applying filters in security-applicationContext.xml?
>
>
>
> Thanks & Regards,
> Shrey Mehrotra
> Senior Software Engineer, iLabs
> Impetus Infotech Pvt. Ltd.
>
>
>
>
>  ------------------------------
>
>
>
>
>
>
>
> NOTE: This message may contain information that is confidential,
> proprietary, privileged or otherwise protected by law. The message is
> intended solely for the named addressee. If received in error, please
> destroy and notify the sender. Any use of this email is prohibited when
> received in error. Impetus does not represent, warrant and/or guarantee,
> that the integrity of this communication has been maintained nor that the
> communication is free of errors, virus, interception or interference.
>
>
>
>
> --
>
> Regards,
>
> Gautam.
>
> ------------------------------
>
>
>
>
>
>
> NOTE: This message may contain information that is confidential,
> proprietary, privileged or otherwise protected by law. The message is
> intended solely for the named addressee. If received in error, please
> destroy and notify the sender. Any use of this email is prohibited when
> received in error. Impetus does not represent, warrant and/or guarantee,
> that the integrity of this communication has been maintained nor that the
> communication is free of errors, virus, interception or interference.
>



-- 
Regards,
Gautam.

Re: Redirection to login page loads all resources (js and css) before redirection.

Posted by Gautam Borad <gb...@gmail.com>.
Shrey, This seems to be reproducible only on Firefox. I tried the mentioned
steps on Chrome and at step 3] it redirected to login.jsp page without
loading the html/js files.

We should raise a Jira for this. Thanks.


On Thu, Feb 26, 2015 at 1:56 AM, Shrey Mehrotra <
shrey.mehrotra@impetus.co.in> wrote:

>  Hi Gautam,
>
>
>
> I just hit index.html directly and found that all resources load up before
> the page gets redirected to login. One catch could be I have logged in to
> the application on same browser before. Please try with following steps to
> reproduce at your end:
>
>
>
> 1. Login to application with admin credentials.
>
> 2. Logout from application
>
> 3. Try to access index.html directly.
>
>
>
> Also, Please find attached the snapshot of network calls at my end.
>
>
>
> Let me know if you are able to replicate the same.
>
>
>
> Thanks & Regards,
>
> Shrey Mehrotra
>
> Senior Software Engineer, iLabs
>
> Impetus Infotech Pvt. Ltd.
>
>
>
> *From:* Gautam Borad [mailto:gborad@gmail.com]
> *Sent:* Wednesday, February 25, 2015 4:31 PM
> *To:* user@ranger.incubator.apache.org
> *Cc:* dev@ranger.incubator.apache.org
> *Subject:* Re: Redirection to login page loads all resources (js and css)
> before redirection.
>
>
>
> Hi Shrey, I just confirmed that only the pre-login files are getting
> loaded when you hit 'index.html' without a valid login session.
>
> Please let me know you use-case and i can try to reproduce it.
>
>  P.S: Attached Screenshot shows only the required files being loaded.
>
>
>
> On Tue, Feb 24, 2015 at 11:43 PM, Don Bosco Durai <bd...@hortonworks.com>
> wrote:
>
> Shrey
>
>
>
> Ideally it shouldn’t load, because index.html should have automatically
> redirected to login.jsp based on security-applicationContext.xml and that
> should have minimal dependencies.
>
>
>
> Gautam should be able to give more information.
>
>
>
> Let me know if you want to fix it? You can create a JIRA and assign it to
> your self.
>
>
>
> Thanks
>
>
>
> Bosco
>
>
>
>
>
> *From: *Shrey Mehrotra <sh...@impetus.co.in>
> *Reply-To: *"'user@ranger.incubator.apache.org'" <
> user@ranger.incubator.apache.org>
> *Date: *Tuesday, February 24, 2015 at 2:42 AM
> *To: *"'user@ranger.incubator.apache.org'" <
> user@ranger.incubator.apache.org>, "'dev@ranger.incubator.apache.org'" <
> dev@ranger.incubator.apache.org>
>
>
> *Subject: *Redirection to login page loads all resources (js and css)
> before redirection.
>
>
>
>   +user group
>
>
>
> *From:* Shrey Mehrotra
> *Sent:* Tuesday, February 24, 2015 3:24 PM
> *To:* 'dev@ranger.incubator.apache.org'
> *Subject:* Redirection to login page loads all resources (js and css)
> before redirection.
>
>
>
> Hi,
>
>
>
> When we directly hit index.html without going through login page, it loads
> all the js and css before redirecting to login page. It takes time and also
> since the user is not logged in, this should be checked before loading any
> resource of the site. Is this the architectures’ design requirement or we
> could fix it by applying filters in security-applicationContext.xml?
>
>
>
> Thanks & Regards,
> Shrey Mehrotra
> Senior Software Engineer, iLabs
> Impetus Infotech Pvt. Ltd.
>
>
>
>
>  ------------------------------
>
>
>
>
>
>
>
> NOTE: This message may contain information that is confidential,
> proprietary, privileged or otherwise protected by law. The message is
> intended solely for the named addressee. If received in error, please
> destroy and notify the sender. Any use of this email is prohibited when
> received in error. Impetus does not represent, warrant and/or guarantee,
> that the integrity of this communication has been maintained nor that the
> communication is free of errors, virus, interception or interference.
>
>
>
>
> --
>
> Regards,
>
> Gautam.
>
> ------------------------------
>
>
>
>
>
>
> NOTE: This message may contain information that is confidential,
> proprietary, privileged or otherwise protected by law. The message is
> intended solely for the named addressee. If received in error, please
> destroy and notify the sender. Any use of this email is prohibited when
> received in error. Impetus does not represent, warrant and/or guarantee,
> that the integrity of this communication has been maintained nor that the
> communication is free of errors, virus, interception or interference.
>



-- 
Regards,
Gautam.

RE: Redirection to login page loads all resources (js and css) before redirection.

Posted by Shrey Mehrotra <sh...@impetus.co.in>.
Hi Gautam,

I just hit index.html directly and found that all resources load up before the page gets redirected to login. One catch could be I have logged in to the application on same browser before. Please try with following steps to reproduce at your end:

1. Login to application with admin credentials.
2. Logout from application
3. Try to access index.html directly.

Also, Please find attached the snapshot of network calls at my end.

Let me know if you are able to replicate the same.

Thanks & Regards,
Shrey Mehrotra
Senior Software Engineer, iLabs
Impetus Infotech Pvt. Ltd.

From: Gautam Borad [mailto:gborad@gmail.com]
Sent: Wednesday, February 25, 2015 4:31 PM
To: user@ranger.incubator.apache.org
Cc: dev@ranger.incubator.apache.org
Subject: Re: Redirection to login page loads all resources (js and css) before redirection.

Hi Shrey, I just confirmed that only the pre-login files are getting loaded when you hit 'index.html' without a valid login session.
Please let me know you use-case and i can try to reproduce it.

P.S: Attached Screenshot shows only the required files being loaded.

On Tue, Feb 24, 2015 at 11:43 PM, Don Bosco Durai <bd...@hortonworks.com>> wrote:
Shrey

Ideally it shouldn’t load, because index.html should have automatically redirected to login.jsp based on security-applicationContext.xml and that should have minimal dependencies.

Gautam should be able to give more information.

Let me know if you want to fix it? You can create a JIRA and assign it to your self.

Thanks

Bosco


From: Shrey Mehrotra <sh...@impetus.co.in>>
Reply-To: "'user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'" <us...@ranger.incubator.apache.org>>
Date: Tuesday, February 24, 2015 at 2:42 AM
To: "'user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'" <us...@ranger.incubator.apache.org>>, "'dev@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'" <de...@ranger.incubator.apache.org>>

Subject: Redirection to login page loads all resources (js and css) before redirection.

+user group

From: Shrey Mehrotra
Sent: Tuesday, February 24, 2015 3:24 PM
To: 'dev@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'
Subject: Redirection to login page loads all resources (js and css) before redirection.

Hi,

When we directly hit index.html without going through login page, it loads all the js and css before redirecting to login page. It takes time and also since the user is not logged in, this should be checked before loading any resource of the site. Is this the architectures’ design requirement or we could fix it by applying filters in security-applicationContext.xml?

Thanks & Regards,
Shrey Mehrotra
Senior Software Engineer, iLabs
Impetus Infotech Pvt. Ltd.


________________________________






NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.



--
Regards,
Gautam.

________________________________






NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

RE: Redirection to login page loads all resources (js and css) before redirection.

Posted by Shrey Mehrotra <sh...@impetus.co.in>.
Hi Gautam,

I just hit index.html directly and found that all resources load up before the page gets redirected to login. One catch could be I have logged in to the application on same browser before. Please try with following steps to reproduce at your end:

1. Login to application with admin credentials.
2. Logout from application
3. Try to access index.html directly.

Also, Please find attached the snapshot of network calls at my end.

Let me know if you are able to replicate the same.

Thanks & Regards,
Shrey Mehrotra
Senior Software Engineer, iLabs
Impetus Infotech Pvt. Ltd.

From: Gautam Borad [mailto:gborad@gmail.com]
Sent: Wednesday, February 25, 2015 4:31 PM
To: user@ranger.incubator.apache.org
Cc: dev@ranger.incubator.apache.org
Subject: Re: Redirection to login page loads all resources (js and css) before redirection.

Hi Shrey, I just confirmed that only the pre-login files are getting loaded when you hit 'index.html' without a valid login session.
Please let me know you use-case and i can try to reproduce it.

P.S: Attached Screenshot shows only the required files being loaded.

On Tue, Feb 24, 2015 at 11:43 PM, Don Bosco Durai <bd...@hortonworks.com>> wrote:
Shrey

Ideally it shouldn’t load, because index.html should have automatically redirected to login.jsp based on security-applicationContext.xml and that should have minimal dependencies.

Gautam should be able to give more information.

Let me know if you want to fix it? You can create a JIRA and assign it to your self.

Thanks

Bosco


From: Shrey Mehrotra <sh...@impetus.co.in>>
Reply-To: "'user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'" <us...@ranger.incubator.apache.org>>
Date: Tuesday, February 24, 2015 at 2:42 AM
To: "'user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'" <us...@ranger.incubator.apache.org>>, "'dev@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'" <de...@ranger.incubator.apache.org>>

Subject: Redirection to login page loads all resources (js and css) before redirection.

+user group

From: Shrey Mehrotra
Sent: Tuesday, February 24, 2015 3:24 PM
To: 'dev@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'
Subject: Redirection to login page loads all resources (js and css) before redirection.

Hi,

When we directly hit index.html without going through login page, it loads all the js and css before redirecting to login page. It takes time and also since the user is not logged in, this should be checked before loading any resource of the site. Is this the architectures’ design requirement or we could fix it by applying filters in security-applicationContext.xml?

Thanks & Regards,
Shrey Mehrotra
Senior Software Engineer, iLabs
Impetus Infotech Pvt. Ltd.


________________________________






NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.



--
Regards,
Gautam.

________________________________






NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

Re: Redirection to login page loads all resources (js and css) before redirection.

Posted by Gautam Borad <gb...@gmail.com>.
Hi Shrey, I just confirmed that only the pre-login files are getting loaded
when you hit 'index.html' without a valid login session.
Please let me know you use-case and i can try to reproduce it.


P.S: Attached Screenshot shows only the required files being loaded.

On Tue, Feb 24, 2015 at 11:43 PM, Don Bosco Durai <bd...@hortonworks.com>
wrote:

>  Shrey
>
>  Ideally it shouldn’t load, because index.html should have automatically
> redirected to login.jsp based on security-applicationContext.xml and that
> should have minimal dependencies.
>
>  Gautam should be able to give more information.
>
>  Let me know if you want to fix it? You can create a JIRA and assign it
> to your self.
>
>  Thanks
>
>  Bosco
>
>
>   From: Shrey Mehrotra <sh...@impetus.co.in>
> Reply-To: "'user@ranger.incubator.apache.org'" <
> user@ranger.incubator.apache.org>
> Date: Tuesday, February 24, 2015 at 2:42 AM
> To: "'user@ranger.incubator.apache.org'" <us...@ranger.incubator.apache.org>,
> "'dev@ranger.incubator.apache.org'" <de...@ranger.incubator.apache.org>
>
> Subject: Redirection to login page loads all resources (js and css)
> before redirection.
>
>    +user group
>
>
>
> *From:* Shrey Mehrotra
> *Sent:* Tuesday, February 24, 2015 3:24 PM
> *To:* 'dev@ranger.incubator.apache.org'
> *Subject:* Redirection to login page loads all resources (js and css)
> before redirection.
>
>
>
> Hi,
>
>
>
> When we directly hit index.html without going through login page, it loads
> all the js and css before redirecting to login page. It takes time and also
> since the user is not logged in, this should be checked before loading any
> resource of the site. Is this the architectures’ design requirement or we
> could fix it by applying filters in security-applicationContext.xml?
>
>
>
> Thanks & Regards,
> Shrey Mehrotra
> Senior Software Engineer, iLabs
> Impetus Infotech Pvt. Ltd.
>
>
>
> ------------------------------
>
>
>
>
>
>
> NOTE: This message may contain information that is confidential,
> proprietary, privileged or otherwise protected by law. The message is
> intended solely for the named addressee. If received in error, please
> destroy and notify the sender. Any use of this email is prohibited when
> received in error. Impetus does not represent, warrant and/or guarantee,
> that the integrity of this communication has been maintained nor that the
> communication is free of errors, virus, interception or interference.
>
>


-- 
Regards,
Gautam.

Re: Redirection to login page loads all resources (js and css) before redirection.

Posted by Gautam Borad <gb...@gmail.com>.
Hi Shrey, I just confirmed that only the pre-login files are getting loaded
when you hit 'index.html' without a valid login session.
Please let me know you use-case and i can try to reproduce it.


P.S: Attached Screenshot shows only the required files being loaded.

On Tue, Feb 24, 2015 at 11:43 PM, Don Bosco Durai <bd...@hortonworks.com>
wrote:

>  Shrey
>
>  Ideally it shouldn’t load, because index.html should have automatically
> redirected to login.jsp based on security-applicationContext.xml and that
> should have minimal dependencies.
>
>  Gautam should be able to give more information.
>
>  Let me know if you want to fix it? You can create a JIRA and assign it
> to your self.
>
>  Thanks
>
>  Bosco
>
>
>   From: Shrey Mehrotra <sh...@impetus.co.in>
> Reply-To: "'user@ranger.incubator.apache.org'" <
> user@ranger.incubator.apache.org>
> Date: Tuesday, February 24, 2015 at 2:42 AM
> To: "'user@ranger.incubator.apache.org'" <us...@ranger.incubator.apache.org>,
> "'dev@ranger.incubator.apache.org'" <de...@ranger.incubator.apache.org>
>
> Subject: Redirection to login page loads all resources (js and css)
> before redirection.
>
>    +user group
>
>
>
> *From:* Shrey Mehrotra
> *Sent:* Tuesday, February 24, 2015 3:24 PM
> *To:* 'dev@ranger.incubator.apache.org'
> *Subject:* Redirection to login page loads all resources (js and css)
> before redirection.
>
>
>
> Hi,
>
>
>
> When we directly hit index.html without going through login page, it loads
> all the js and css before redirecting to login page. It takes time and also
> since the user is not logged in, this should be checked before loading any
> resource of the site. Is this the architectures’ design requirement or we
> could fix it by applying filters in security-applicationContext.xml?
>
>
>
> Thanks & Regards,
> Shrey Mehrotra
> Senior Software Engineer, iLabs
> Impetus Infotech Pvt. Ltd.
>
>
>
> ------------------------------
>
>
>
>
>
>
> NOTE: This message may contain information that is confidential,
> proprietary, privileged or otherwise protected by law. The message is
> intended solely for the named addressee. If received in error, please
> destroy and notify the sender. Any use of this email is prohibited when
> received in error. Impetus does not represent, warrant and/or guarantee,
> that the integrity of this communication has been maintained nor that the
> communication is free of errors, virus, interception or interference.
>
>


-- 
Regards,
Gautam.

Re: Redirection to login page loads all resources (js and css) before redirection.

Posted by Don Bosco Durai <bd...@hortonworks.com>.
Shrey

Ideally it shouldn't load, because index.html should have automatically redirected to login.jsp based on security-applicationContext.xml and that should have minimal dependencies.

Gautam should be able to give more information.

Let me know if you want to fix it? You can create a JIRA and assign it to your self.

Thanks

Bosco


From: Shrey Mehrotra <sh...@impetus.co.in>>
Reply-To: "'user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'" <us...@ranger.incubator.apache.org>>
Date: Tuesday, February 24, 2015 at 2:42 AM
To: "'user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'" <us...@ranger.incubator.apache.org>>, "'dev@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'" <de...@ranger.incubator.apache.org>>
Subject: Redirection to login page loads all resources (js and css) before redirection.

+user group

From: Shrey Mehrotra
Sent: Tuesday, February 24, 2015 3:24 PM
To: 'dev@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'
Subject: Redirection to login page loads all resources (js and css) before redirection.

Hi,

When we directly hit index.html without going through login page, it loads all the js and css before redirecting to login page. It takes time and also since the user is not logged in, this should be checked before loading any resource of the site. Is this the architectures' design requirement or we could fix it by applying filters in security-applicationContext.xml?

Thanks & Regards,
Shrey Mehrotra
Senior Software Engineer, iLabs
Impetus Infotech Pvt. Ltd.


________________________________






NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

Re: Redirection to login page loads all resources (js and css) before redirection.

Posted by Don Bosco Durai <bd...@hortonworks.com>.
Shrey

Ideally it shouldn't load, because index.html should have automatically redirected to login.jsp based on security-applicationContext.xml and that should have minimal dependencies.

Gautam should be able to give more information.

Let me know if you want to fix it? You can create a JIRA and assign it to your self.

Thanks

Bosco


From: Shrey Mehrotra <sh...@impetus.co.in>>
Reply-To: "'user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'" <us...@ranger.incubator.apache.org>>
Date: Tuesday, February 24, 2015 at 2:42 AM
To: "'user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'" <us...@ranger.incubator.apache.org>>, "'dev@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'" <de...@ranger.incubator.apache.org>>
Subject: Redirection to login page loads all resources (js and css) before redirection.

+user group

From: Shrey Mehrotra
Sent: Tuesday, February 24, 2015 3:24 PM
To: 'dev@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>'
Subject: Redirection to login page loads all resources (js and css) before redirection.

Hi,

When we directly hit index.html without going through login page, it loads all the js and css before redirecting to login page. It takes time and also since the user is not logged in, this should be checked before loading any resource of the site. Is this the architectures' design requirement or we could fix it by applying filters in security-applicationContext.xml?

Thanks & Regards,
Shrey Mehrotra
Senior Software Engineer, iLabs
Impetus Infotech Pvt. Ltd.


________________________________






NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.