I'm making a website in c# .NET and using the windows live id web authentication sdk for my logins. I'm trying to deploy the site using server 2003 and IIS ... |
I have a Java Enterprise Edition web application, a standard WAR. I want to integrate this with an existing .NET infrastructure running IIS. To be specific, I need to be able ... |
I have a web reference created from the WSDL, but I'm not allowed to call the function unless I pass in the username / password; the original code for the XML ... |
Recently, I am working on a project that requires to build a web service client in Java running on JAX-WS engine to talk to a .NET web service secured by Integrated ... |
Can anyone roughly explain how can i do window authentication in JSF application? From google search quite lot of example is about asp.net.
|
I have a Java application (not an applet) that needs to access a web service. Proxies for the web service have been generated with JAX-WS, and seem to work fine. In ... |
In my WebService I need to log the caller's id, but wsContext.getUserPrincipal() returns null even though the user was authenticated using WS-Security with password authentication. According to the JavaDocs for ... |
|
I'm new to JAX-WS and there's a thing which I don't understand.
There's a ton of tutorials available on how to set up JAX-WS security, but in pretty much all cases BindingProvider.USERNAME_PROPERTY ... |
I'm developing a standalone custom registry, custom login portlet, and custom profile portlet for Websphere Portal 6.1. Some existing users have not completed one or more required fields in their ... |
I'm trying to use Exchange authentication from my app using JavaMail to do this. Could some one give me a guide to do this?
After authentication I need to send mails that's ... |
I'm getting this error when calling a java web service. I'm using the same source as the rest of my team and they're all able to call it no problem?
This is ... |
I am trying to write a java application connecting to server connection channel with SSL enabled.
So far, I have been successfully connected to the channel by setting authentication to ... |
RESTEasy (a JAX-RS implementation) has a nice client framework, eg:
ServiceApi client = ProxyFactory.create(ServiceApi.class, baseUri);
How do you provide HTTP authentication credentials to this client?
|
I have application in C# that consume Java WS. Everything worked fine until WS was configured to use authentication. Now I should user login i password to execute methods from WS ... |
I am having a heck of a time getting my web service client talking to my web service which is protected by requiring client certificates. I am using JAX-WS 2.1 ... |
I'm creating a web service (and test client) that uses mutual authentication. I've used this guide to create a CA and key/trust stores but instead of creating .p12 files ... |
I'm looking to integrate a J2EE app running on JBoss with RSA's Access Manager (which provides authentication with SecurID tokens).
The documentation I've found so far is pretty sparse. RSA's site |
We're building a GWT+hibernate+spring web app that's deployed to tomcat and postgres. Looking at http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ and http://www.owasp.org/index.php/Hashing_Java#Complete_Java_Sample, We have a User table and a Role table(4-5 roles, ... |
I need to develop a web application for the Intranet users. I dont want them to enter the login credentials each time they visit the site. It should be automatically loaded ... |
i am checking the text file which is present in the mapped hard drive or not.
File cfile = new File("R:\\Link Fixer Reports\\ServiceTest.txt");
but it shows that file is not present
when ... |
What is the best way to authenticate users to a rest API when it built with J2EE technology.
Regards,
Ken
|
I have a web app (Java- and GWT-based), which requires an authentication mechanism (login, logout, password reset etc.).
I don't want to waste my time implementing it, so I'm looking for services, ... |
I have a Java web application. It relies on Google OAuth to authenticate and authorize users. I want to provide an API to my application which must also use OAuth. Is ... |
in my java program i have setted proxy settings but still its showing error..
import javax.xml.soap.SOAPElement;
import javax.xml.soap.SOAPConnectionFactory;
import javax.xml.soap.SOAPConnection;
import javax.xml.soap.MessageFactory;
import javax.xml.soap.SOAPMessage;
import javax.xml.soap.SOAPPart;
import javax.xml.soap.SOAPEnvelope;
import javax.xml.soap.SOAPBody;
import java.io.FileInputStream;
import javax.xml.transform.stream.StreamSource;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamResult;
import java.net.*;
import java.io.*;
public class ...
|
I have mongodb base with users and passwords. I have a jsp file with a form for authorization.
filter should be check - authorized user or not. Servlet should authorize user if ... |
Can anyone see any reason this code doesn't work when ldapwhoami -U portal -h yorktown -Y PLAIN -ZZ works just fine? Is there something I'm doing that isn't equivalent?
LDAPConnection connection ...
|
What is the best way to do authentication and authorization in web services?
I am developing a set of web services, requiring role based access control.
Using metro - SOAP, simple java without ... |
I am working on creating a CAM (custom authentication module/provider) for Cognos 10.
Various encrypted information is passed into the provider from the query string. The Namespace's authentication process is then ... |
I want to create a simple web application that will have self-registering users. In other words, I want users to be able to register, log on, manage their data, log off, ... |
I have a J2EE web application inside of Tomcat that I am writing.
For user login, I have stored salted password hashes inside of MySQL. To login, a user provides a password, ... |
what is keyed-HMAC (Hash Message Authentication Code)? And how to write HMAC in web service using java?
|
I'm working on the CAS Proxy Authentication so that an application receives information from another without asking the user to re authenticate by himself. The second application is a SOAP Web ... |
My Java web application requires both authentication and authorization. Valid user ID/Password should be provided prior accessing to the protected resources. Only users with proper access right/ user role (e.g. administrator) ... |
While using tomcat 6 on java6 with jax-rs (jersey), I'd like my clients to be able to http GET /order but not GET /order/42
If I put something like /order/* it also ... |
I'm using declarative J2EE form based authentication in my webapp, following the instructions given in various places such as here: http://java.dzone.com/articles/understanding-web-security
It appears that the login via j_security_check allows all ... |
What are the advantages and disadvantages of using a Java applet for authentication as part of a web application? I am think of cases where such an applet is only used ... |
I'm developing a webservice in Java on a stack of Metro and Tomcat, and my problem is with the user authentication. I understand Tomcat can make use of several external authentication ... |
Map reqContext = ((BindingProvider) port).getRequestContext(); Map> reqHeader = new HashMap>(); reqHeader.put("Username", Collections.singletonList("user")); reqHeader.put("Password", Collections.singletonList("password")); reqContext.put(MessageContext.HTTP_REQUEST_HEADERS, reqHeader);
im using the above coding i am unable to view username and password in tcp/ip monitor. ... |
Folks,
I develop a fair number of J2EE apps for my clients and all of them involve the concept of user account creation, authentication and in some cases, authorization, organization hierarchies, etc.
I ... |
I am trying to generate the java help classes that I need for a client (a.k.a consumer) for a SSL-protected web service (on Microsoft Biztalk) that is external to our company ... |
I want to make user Login Authentication in my web application. I am using RESTEasy restful framwork. I want to do advance login system that will generate token, make an email ... |
I have a web-service method which works fine until enabling FIPS mode in tomcat.
The code bellow executes fine if FIPS mode is disable:
((X509TrustManager) tm[0]).checkClientTrusted(clientCert, "want");
But when FIPS get enable on tomcat. ... |
I am creating a website using J2EE. I have created a table in a PostgreSQL database for the user data(username, password, role). I want to make a security realm or something ... |
I like to add an user authentification to my REST webservice (Guice + Jersey).
I first wanted to solve the authentification with the Google Guice method interceptions. For example:
@Path("user")
public class User ...
|
import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class BasicAuthentication extends HttpServlet { Hashtable validUsers = new Hashtable(); public void init(ServletConfig config) throws ServletException { super.init(config); // ie this user has no password validUsers.put("james:","authorized"); validUsers.put("jswan:mypassword","authorized"); } public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { res.setContentType("text/html"); PrintWriter out = res.getWriter(); // Get Authorization header String auth = req.getHeader("Authorization"); // ... |
Hi there, we've implemented a web app where we use form based authentication. Works like a charm. Now new requirements make us implement webDAV on top of the app (by adding a new servlet). webDAV doesn't support (?) form based authentication, only basic and digest (???) (Does it support client cert?). Can we use different types of authentication in the same ... |
I previously built a webapp using form based authentication (j_security_check, etc.) and protected directories for regular HTML browsers. Now I want to build a second webapp for WAP browsers using the protected content from the first webapp. I setup a subdomain for this second webapp (ie. wap.mydomain.com) and it's pointing to a directory called "wap" inside the first webapp. I am ... |
|
A j2ee application is deployed in tomcat, user in parent company(Intranet) or child company(Internet) will access to this application, Here is a requirement: Just specific computers can access to this application located in parent company, that is, just the computer in company can access to this application, other computers outside of company can not access to application. PS: The IP Address ... |
I'm using FORM auth for my web app. However, I need to present a file to Google Earth. GE only accepts BASIC auth. How can I set up my app to do FORM auth for everything and BASIC auth for the GE file? I'm using Tomcat 6. I tried adding in a second security constraint, but that's not valid. Is there ... |
Hi Thanx, but I think the problem is that the IE doesn't support this format anymore.... Even Mozilla doesn't get it. But is there a way to generate and execute this URL from a Server and send the response to the client? Like: Browser, log in form -> Servlet Engine (generates URL), forwards URL to ISA Server -> ISA Server accepts ... |
fltChn.doFilter( req, resp ); } It works but I have a problem for the mapping (in my web.xml file). I need to distinguish public and private pages and dont know how to do. With IdentificationFilter *.sjsp the problem si my sjsp files (containing jsp code) arent evaluated by Tomcat and the jsp code is returned... Any help would be ... |
Since the deployment descriptor (web.xml) allows only one directive for auth-method in logic-config, we want to know if there is any other way to achieve this requirement. We are thinking of a custom login module approach. But we are not able to figure out how to configure the auth-method at runtime from the login servlet. |
|