How to NOT share session between multiple browser tabs ?  I am using Spring Security in JSP/Servlet application and I want to know "How can we achieve the behavior with Spring Security where user is forced to login again whenever he changes the b...
I have web application which and i am trying to make keycloak  authorizations on JavaScript side I am going on keycloak login page and  authenticating successfully. Here is my code   var keycloak = Keycloak({             realm: 'demo',...
Is it makes sense to do a redirection to an external site (OAuth sever) with custom headers in order to authenticate the user?  For example, after providing your credentials to http//this_is_my_site/login you click login, and redirects you to the ext...
I have a front end written in AngularJS, and a Spring MVC backend. The idea I had was to only secure the REST API services and use an interceptor in AngularJS to redirect the user to the login page when an unauthorized service call is made. The probl...
I am trying to set up keycloak based ABAC, Attribute-based access control for my APIs. I was able to set it up creating a javascript based policy which looks for specific user attribute and then grant access, something like   var context = $evaluatio...
I am using Angluar as client and Spring Boot as server.   Some providers will call  directly to my server in a particular (Get/Post) endpoint. If User is authenticated the execution of method will start normally ,if not user is redirected to login -u...
I'm building a Spring MVC application with Spring Security and Bootstrap in my HTML files (JSP).  I am currently working to fix the following error in my application:     "Refused to execute script from   'http://local...
I have a file upload form that's working correctly except when I send a file that is larger than the size that I've configured in Spring.  I've used the same code before on another application that was written in Spring, the difference is...
I am calling to a restAPI through jquery.ajax call() once it completed i cannot use my other ajax calls hence i am thrown away from the spring security. i noticed the JsessionID change upon complete the restAPI call (i used httpFox plugging for fire...
I am currently working on a Spring-MVC application which hosts my html web pages and also a (kind of) REST API. The problem is depending what is accessing the application, an authentication failure should be handled differently:   if the user accesse...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.