authentication « Security « JSP-Servlet Q&A





1. Kerberos authentication from my custom servlet?    stackoverflow.com

I do the below steps to get the security token from browser for Single Sign on authentication. I am able to find the Token from http header. My question is: a) How do ...

2. RPX openID auth_info in java    stackoverflow.com

I am using RPXnow Openid service with java but I am not getting how to call authentication url of api with token and obtain xml response returned by openid service in ...

3. Non-java webApp to authenticate against Java servlet    stackoverflow.com

We have a J2EE webapp deployed to JBoss. This webapp is used for authentication purposes. Now we would like to have other webApps that are not written in java to communicate and ...

4. Implementing Authentication for a WebDAV Servlet    stackoverflow.com

I am currently using this WebDAV Java Servlet Implementation, it's as far as I know the smallest and the easiest to use WebDAV java solution that doesn't depend on ...

5. Java servlet and authentication    stackoverflow.com

I have a small application with 3-4 servlets and a basic module that provide me authentication like:

public class Authentication {
    public boolean isUserAuthenticated(){
     ....
 ...

6. Open-source Java server-side implementations of HTTP auth decoding    stackoverflow.com

I have a requirement to perform HTTP authentication logic within a servlet application, rather than delegating this task to the container. Specifically, I need a way of taking the headers of an ...

7. Multiple java servlet authentication methods    stackoverflow.com

Is it possible to have multiple authentication methods for a java servlet? For example, have form based authentication in addition to open id based authentication so users can choose ...

8. Java servlet as proxy for Apache web server    stackoverflow.com

I have an apache webserver that is used to serve php and static web files. In order to use active directory authentication i've written some code that can connect to AD ...

9. servlet authentication and further reference to the credentials    stackoverflow.com

What I got so far: It all begins with an HTML form which prompts the user for a username and password. From there it post the acquired user/pass to a servlet, GateKeeper. ...





10. cannot be resolved to a type    stackoverflow.com

I am trying to use HTTP Authentication in my JSP code. But I am getting error on MyAuthenticator cannot be resolved to a type. Is the sytax correct for the code ...

11. open nagios console site in jsp frameset without authentication    stackoverflow.com

i am trying to open nagios site in jsp frame, but when frame loads it asks for authentication. how i can get rid of tht login dialoge. i have tried httpclient ...

12. Implement DIGEST authentication.    coderanch.com

13. NT Authentication in JSP    coderanch.com

To Ruilin Yang: Unfortunately I am not "ok". NT login ID matches an ID in one of the user tables. I need to prepopulate the form with user information by recognizing him in this manner: extract NT id, put it into a variable and query the user table where user_id = 'StringNTid'; Thanks for everybody's input. Lana.

14. Tough authentication question?    coderanch.com

15. Webshere Authentication    coderanch.com





17. Windows Basic Authentication    coderanch.com

Hi, I have JSP Page with login link that point to the login.asp that resides on the IIS webserver. I protected this page with basic authentication.When the user clicks the link, windowns login popup will be prompted. If everything is okay then my login.asp will redircet to the following link. responce.redirect(http:\\localhost:7001\loginaction?username=text my problem is once the user is logged out, i ...

20. authentication    coderanch.com

Hi.. To do authentication, is there any other way other than passing request or session parameters. I have this view.jsp file. I dont want any user to view this file untill and unless he has logged in from the login page. Now im authenticating my pages my passing session parameters between pages like this.. From process_login.jsp file int valid=0; when proper ...

21. Windows Authentication    coderanch.com

22. Authentication issue    coderanch.com

23. authentication problem    coderanch.com

24. hello help me in authentication    coderanch.com

hello all here i wrote a pice of code which takes uesrname and password from login.jsp <%@ page language="java" %> <%@ page import="java.util.*" %> <% if (request.getParameter("username").length() != 0 || request.getParameter("password").length() != 0) { %> <% } %> when i compile this its genrating a errors like this: org.apache.jasper.JasperException: /jsp/process.jsp(12,0) Expecting "jsp aram" standard action with "name" and "value" ...

25. Getting acegi Authentication object in Jsp    coderanch.com

Hi all, I'm trying to get the authentication object of the acegi security in the jsp using (UserMaster)SecurityContextHolder.getContext().getAuthentication().getPrincipal() i'm getting this object if this is put in <% %> but if i'm using the same by i'm getting following exception org.apache.jasper.JasperException: /WEB-INF/pages/Search.jsp(235,6) The function getContext must be used with a prefix when a default namespace is not ...

26. Custom Authentication    coderanch.com

I have read how easy it is to use authentication in a servlet conatiner.by using and what not. Ok it is easy but also fairly useless, since it doesn't allow for dynamic registration. Is there an easy way to tell the container when a log in is valid and what role they have if the sign in and suthentication is ...

28. NT authentication using servlets..    coderanch.com

31. Servlet Authentication    coderanch.com

32. Servlet Authentication    coderanch.com

The Authentication Types are: 1. BASIC Authentication. 2. DIGEST Authentication. 3. CLIENT-CERT Authentication. 4. FORM Authentication. the BASIC Authentication features are: 1. easy to use. 2. it is supported by all of the Browsers. the disadvantages of BASIC Authentication are: 1. not scure becaue the password transfered in clear text (not encrypted) 2. you can not customize the look and feel ...

33. servlet to bypass basic authentication    coderanch.com

34. selective authentication for a servlet?    coderanch.com

I have a servlet that returns data to users from a mapping system. Most of the data are publicly accessible, so those requests need to work without any security or login challenge. Depending on the items requested in the URI and querystring, I may need to authorize the user to see some of the data. Determining whether the request requires security ...

35. Better Authentication Method    coderanch.com

I'm trying to login from Adobe BlazeDS to my EJB. BlazeDS may or may not matter for my questions. BlazeDS has a POJO that references the EJB with InitialContext. The POJO gets the user name and password from the BlazeDS session variables that another method has set. The POJO calls login in the EJB and then a business method. Can the ...

38. openSSO use only for authentication for j2ee application    coderanch.com

Hi, We have to use openSSO for authentication in our application as demanded by Client. The requirement here is, when user launch our application, he would be redirected to openSSO, user needs to authenticate itself, after authentication, re-direct back to our application. We want opensso only for authentication. As far as authorization is concerned, our application will handle itself like what ...

39. Authentication over ssl in jsp    coderanch.com

OK, so you're talking about form-based authentication. Any decent servlet/JSP tutorial/book covers that. You'll also need to consult the documentation of whichever servlet container you're using on how to enable SSL. You can use the HttpServletRequest.isSecure method to find out whether a request came through a secure channel, and take appropriate action if it didn't. If you want to require the ...

40. Dual Authentication Issue    coderanch.com

42. Authentication in jsp    coderanch.com

hi, iam developing a web code using jsp. in my project iam having login page for admin,users, after login they will get a corresponding homepages,the problem is if i copy the url from addressbar and paste it in another webpage it will automatically executing from there. how can i avoid this.i have to get a error display..iam using tomcat6. please help ...

45. servlet for authentication    forums.oracle.com

I think your problem is that using sendRedirect is generating another, separate transaction and your Servlet is picking that up too, since it's catching all requests to the directory. A better approach is to use a Filter, rather than a Servlet. The filter is executed before normal processing of the JSP or servlet that the URL indicates. As with servlets you ...