I want it to get the IP address in the Login module.
In JBoss 6 i got so:
1.private String getIP() throws PolicyContextException {
2. HttpServletRequest request = (HttpServletRequest)
PolicyContext.getContext("javax.servlet.http.HttpServletRequest");
3. return request.
Hi Mark,
Thanks for your reply. I am already extending JAASCallbackHandler and getting
Name and password through that. How can we get HTTLServletRequest through
JAASCallbackHandler?
SAURABH SUMAN
Software Developer
Markets & International Banking
RBS
Block No 1, Tower A, Unitech Infospace Comp
Hello experts
How to acess HttpServletRequest in Jaas login module in Tomcat? In Jboss we can
get it through
HttpServletRequest request =
(HttpServletRequest)PolicyContext.getContext("javax.servlet.http.HttpServletRequest")
But it's not working in Tomcat since Jacc is not supported by Tomcat
Which Tomcat version support JACC?
SAURABH SUMAN
Software Developer
Markets & International Banking
RBS
Block No 1, Tower A, Unitech Infospace Complex Sector 21, Gurgaon, Haryana,
122002, India
Office: +91 124 6195699 | Mobile: +91 375289
-Original Message-
From: Mark Thomas [ma
I tried with Tomcat 7.0.69 (Window 64 bit) , but still getting same output i.e.
PolicyContext.getContextID(), it is returning null
and
PolicyContext.getHandlerKeys() returning Blank array.
SAURABH SUMAN
Software Developer
Markets & International Banking
RBS
Block No 1, Tower A, Unitech Infospa
Hi All
I am using Apache-Tomcat version: 6.0.44 and my and OS is window 10.My Java
version in jdk1.6.0_45.
I am using Jaas Realm for Authentication. My authentication is working well
but when I tried to get HttpServletRequest object from
javax.security.jacc.PolicyContext in login() method of m