spring security: what is the difference between account locked and not enabled
The UserDetails interface has two properties that seem to be the same, locked and enabled. Aren't these just the opposite one of the other? ...
The UserDetails interface has two properties that seem to be the same, locked and enabled. Aren't these just the opposite one of the other? ...
Best to be implemented in javascript. And easy to use. ...
I am having a registration page. when the page is loaded, everytime it tries to insert the values in the textboxes which is empty by default at first. Please help. My code is attached register.template.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html ...
I want to test whether a certain action results in a file download (a) at all, and (b) with the file having a certain name. Is there any way to use Selenium to do this? ...
I have to develop a online product catalog which will eventually developed into a simple online ordering system, I have never developed a web application before. Please recommend an application framework which might be a good choice for this kind of apps. Is Ruby on Rails a good choice? Thanks. ...
I'm developing on super fast fibre optic connection. I want a tool that allows me to test web sites at certain preset speeds for example - I want to feel the experience of my site loading at modem speeds, then perhaps 1mbps, 2mbps, etc. Basically I want to be able to set the speed of the connection so that I get the real feel of the ...
Why do so many Ruby on Rails apps have missing trailing slashes in their URLs? One example is http://basecamphq.com/tour. AFAIK this goes against Web standards. Is it something to do with the way RoR is set up? ...
What is the most lightweight way to include the jQuery lib into a page dynamically? I'm working on a page where sometimes it runs a few custom scripts (10 lines) and other times the entire jquery is also needed. ...
Hi, I'm using MyFaces 1.1.7 with Facelets and Tomahawk. When creating a regular data table, like: <h:dataTable value = "#{Datamanager.data}" var = "row"> <h:column> <f:facet name = "header"> <t:div> <h:outputText value = "Name" /> </t:div> </f:facet> <h:outputText valu...
Magento is an awesomely powerful ecommerce platform. That said, it is also very complex, and I'd like to know if there is a relatively simple way to utilize Magento as our mISV site's backend to fulfill orders without actually "using" Magento's framework to build the site, run the site, etc. In other words, I don't want to use the buil...
We are in the process of rewriting some of our websites and trying to make the most use of browser caching for our users. We have created a group of shared css files that we plan to use as a "corporate branding" across multiple sites that we've created. The reason for this, we know that browsers will cache a CSS file for a determined le...
I've been a .Net developer for the past seven years or so, and been working with ASP.Net for the last couple of years. I'm now using Ruby on Rails for some projects, and I'm wanting to know if there is something in Ruby on Rails that lets you do master page type stuff? Basically, I want a way to provide a consistent look and feel for th...
I recently migrated an application from IIS6 to IIS7. I've noticed two distinct differences and was wondering if someone could shed some light on them: When I attach the debugger to the w3wp.exe process, it seems that the request times out much quicker than it did with XP. I set the executionTimeout attribute of the httpRuntime elemen...
Is there a simple way to determine what database is in use behind a website from an external HTTP request? i.e., I make an HTTP request, get back whatever data is going to come from the webserver - can I inspect any of that and reliably determine that DB in use? I am thinking not, but figured I would ask this group. ...
Currently browsers have incomplete caching implementation. It only allows to set expiration or keep immediate expiration. Important 3rd option to expire cache programmatically is missing. Without that 3rd option developers cannot deploy new version of code efficiently and reliably. If they use 2nd option it is inefficient if they have ...
It is straightforward to retrieve a list of friends from Facebook using their api. But how would a site figure out which of its members corresponds to the Facebook friend it has imported? Is there a unique id that could be used? For example, does Facebook give the email address of the friend, so that could be compared to see if a perso...
Hi, We are planning to sell our own product in medical domain. Its a Patient management System. Before we start marketing we need to have website for the same. We already have done some basic things like booking a domain name for the website, purchasing the hosting service. Before we design the website, can somebody guide us what thin...
I've been developing web applications for 2 years now, and have been into simpler web pages for many more. I've been using Notepad, then ConText, then Crimson Editor (was my favorite for a long time) and I've been trying with Notepad++. I have NetDrive setup so I can edit and save files directly on the ftp server. On Firefox I use the We...
Hi, Does anyone recognize this problem. If I try to login on my mobile it reloads and sends me rightback to the index/login page. The script recognizes a mobile browser and it will show a different indexpage. I have tested everything with firefox while using the switch user-agent addon. So, No problems working from a normal browser, ...
Once upon a time, Struts was the default choice for a Java web framework. I have no data on this, but I imagine that Struts2 is currently widely used for legacy reasons, only because former Struts projects have been migrated to it. Is Struts 2 really the best choice for a new project? What other web frameworks out there are most popula...