in my jsp I have
<a href="staffLink?myjump=Record.jsp"class="link">display Records</a><b> </b>
in my servlet I can use
String Myjump...
Type: Posts; User: HSpring; Keyword(s):
in my jsp I have
<a href="staffLink?myjump=Record.jsp"class="link">display Records</a><b> </b>
in my servlet I can use
String Myjump...
my user name and password store in db, I try the folowing way
<bean id="daoAuthenticationProvider" class="org.acegisecurity.providers.dao.DaoAuthenticationProvider">
<property...
How to add passwordEncoder into spring + acegi?
do my table can use plain password?
if I add the Bold part
<property name="userCache" ref="userCache"/>
<property name="passwordEncoder" ref="passwordEncoder"/>
My application get 503 error , get away this part...
HI all,
on meantime, my admin can access one page call admin.jsp , and do some search actions in here ,
right now I want to change to after the admin login in , go to adminindex.jsp, which...
Thank you,
I get it.
I have a small project, which use spring + acegi , on mean time the admin can only access the admin page and staff only can access the staff page, is that possible to let the admin access both admin...
Hi all,
in acegi, event I log out , i still use back button the view the security page, how can i handle this
<%@ page import="org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices" %>...
thank you for the reply, but the problem is my previent did not be logout out, but if set to true it did have exception, it direct to loginerror page. if the false setting can work , force the...
in my web.xml
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<listener>
<listener-class>
thank you, I got this part .
hi, in spring + acegi login page , I have admin , and staff two link , if the admin acident click on the staff link and input their password and username , be direct to login erro page, how to handle...
what is your suggestion?
hi all,
I have a search page after login and my login page use asprign + acegi
my search page can link to delete and update page , I catch who, when on my log by getting the acegie user name...
I got it thank you
hi all,
I google and read a few artical on acegi, but still confuse on the following questions
web.xml
what is different for the following mapping
<servlet-mapping>...
yse, I did try
<%@ page import="org.acegisecurity.context.SecurityContextHolder" %>
<%@ page import="org.acegisecurity.Authentication" %>
<%@ page...
hi all,
I try acegi + mysql run on tomcat , I want to get the user name and password and insert them into my log
what should I do?
thank you,
I got it already
want to studey spring for long time, but.... right now I try
import java.util.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import...
I did,sorry for the type mistake, itloks if the web .xml is version 2.4 you can add <taglib> in web.xml, but netbean and tomcat 6.016 use version 2.5 for JSTL they just add JSTLlib into...
my jsp have
<@ taglib uri="http://www.springframework.org/spring" prefix="spring" %>
I try then on NetBean
I got the absolute uri http://www.springframework.org/spring" prefix="spring"
cannot...
thank you for the replye,
I have a small Webapplication once can run on Win+ Eclipe + mysql + tomcat , now I need to move to Solaris, I can found Eclipe for solaris , so have to use Netbean,...
can acegi use on netbean that run on solaris , since it only have zip fille