2
голосов
1ответов
952 просмотров

CakePHP - Two types of users to authenticate

I would like to have two different registrations/logins in the same application. One for companies and one for employees because registering a company requires different information than registering an employee. Is it possible to use the auth component to achieve two different registrations/logi...

1
голосов
1ответов
90 просмотров

Verifying Resftul Authentication through a Non Ruby App

I'm trying to do Authentication against restful_authentication from a php application, however I understand it uses a SHA1(digest--salt--password--RESTFUL_AUTH_KEY). The issue is regardless of how much I try I can't get the hash to match. Reading through the documentation I see the digest is just...

3
голосов
2ответов
4692 просмотров

ASP.NET MVC + modelstate and partial view

I have a partial view called LogOn where i basically copied the logon inputs into a control. I am using Html.RenderPartial to place the control in my Index.Html inside of an Ajax.BeginForm <div id="login_ajaxtarget"> <% using (Ajax.BeginForm("Logon", "Account", new AjaxOptions { Upda...

2
голосов
1ответов
2986 просмотров

How do I know what's the realm and uri of a site

I want to use python's urllib2 with authentication and I need the realm and uri of a url. How do I get it? thanks

5
голосов
2ответов
6899 просмотров

Subversion with ssh for authentication

We have a Subversion server running on Linux. We have used to authenticate user with unencrypted password using passwd from conf folder for the subversion repository. We have tried to change to use ssh authentication. I am not sure how to use ssh to authenticate via subversion. Based on the su...

0
голосов
2ответов
1373 просмотров

How do I ask for an authenticated url directly with python

I want to get to an authenticated page using urllib2. I'm hoping there's a hack to do it directly. something like: urllib2.urlopen('http://username:[email protected]/page') If not, how do I use authentication?

5
голосов
2ответов
686 просмотров

How should I handle Authorization/Authentication in my Asp.net MVC app?

I am creating an Asp.net MVC application and I'm currently using the built in Authentication/Authorization code that comes with the sample MVC app. For the most part this is working ok and I kinda understand what's going on. What's concerning me though, is that now I kind of have my users store...

0
голосов
1ответов
333 просмотров

Check authenticated http requests in HttpModule

What kind of event and property I can leverage to check whether a http request (client) is pass through ASP.NET authentication? Thanks

5
голосов
5ответов
6622 просмотров

Separately validating username and password during Django authentication

When using the standard authentication module in django, a failed user authentication is ambiguous. Namely, there seems to be no way of distinguishing between the following 2 scenarios: Username was valid, password was invalid Username was invalid I am thinking that I would like to display th...

5
голосов
1ответов
14982 просмотров

ASP.Net MVC Custom Authentication

Possible Duplicate: Is it possible to create a Logon System with ASP.NET MVC but not use the MembershipProvider? I'm looking to create a custom authentication model for my MVC app but I'm not sure where to implement my custom IPrincipal and IIdentity classes. I don't want to do this in...

0
голосов
1ответов
1217 просмотров

Display popup message when user login to site in J2EE(Filters)

I would like to show a popup message to the users on login to my site, only when login (later on it is not required). We are using java/j2ee for my application, and authentication provided using the Filters, once login success we are redirecting the request to the requested page (it is not the s...

0
голосов
2ответов
108 просмотров

How do I find out if the current AUTH cookie is "permanent"?

I have a ASP.NET website where after a specific user action, I have to issue a new AUTH cookie almost identical to the one the user already currently has. I'm having trouble finding out whether the current AUTH cookie is supposed to be persisted or not. Any ideas on how to do this?

0
голосов
2ответов
5668 просмотров

Access network share using Windows authentication

I constantly trip on this when writing apps for our intranet. Let's say we have a network share called "\\server1\myfolder", and I'm writing an app that needs to read a text file from there. Access to the share is very limited, which is fine. If someone doesn't have access to the folder, the app...

7
голосов
2ответов
4470 просмотров

Emulate a radius server in .NET

We have a wireless controller that prompts client machines for a username and pass using radius, the wireless controller than relays that request to us, where we need to then send that request to a third party unencrypted. is it possible to emulate a radius server in .net is there an api. is th...

2
голосов
1ответов
1434 просмотров

Spring MVC Custom Authentication

What I am looking to accomplish is a filter (or similar) that would handle the authentication model for my Spring MVC application. My application is also hosted on Google App Engine. The authentication on this application can tend to be very dynamic and the permissions are not something that wou...

0
голосов
1ответов
255 просмотров

Cancelling an HTTP authentication login?

Im working on a site that uses an old school http authentication log in. The problem is if someone reached the log in prompt by mistake and presses the cancel button the log in box disappears and then reappears a total of 3 times before sending the user off to an ugly "authentication required" p...

2
голосов
6ответов
12770 просмотров

Check whether user is logged in or not

I am doing a web-application using PHP for job searching. I have one query; when user is not logged in and wants to apply for the job given by clicking 'apply' button, he redirects to the login page. If the user is logged in when clicking, he should get directly to the application page. I'm not ...

1
голосов
1ответов
1421 просмотров

apache HTMLUNIT..... PROBLEM in handling javascript

I want to login to a website (http://www.orkut.com) through com.gargoylesoftware.htmlunit.WebClient But when I click on the "Submit" button, it doesn't take me to the expected page that should come after login. Instead it returns the same login page again. In clear sense, there is some proble...

7
голосов
1ответов
3058 просмотров

Built-in password authentication dialog in Cocoa?

Is there a built in username/password dialog box in Cocoa? I don't want to reinvent this if there's a standard way of doing it, but after googling, I came up with nothing. I often see that lock image with the application image superimposed on it, so I thought there might be something.

4
голосов
1ответов
627 просмотров

Totally custom logins in Google App Engine

Can I use the login:required feature of app.yaml when I create a totally Google separate user login? How? (Google App Engine).

5
голосов
2ответов
7853 просмотров

powershell check sharepoint URLs

I'm trying to write a script that iterates through a bunch of sharepoint URLs and verifies that they exist. From what I can find, it looks like this should work: $webclient = new-object System.Net.WebClient $webclient.Credentials = new-object System.Net.NetworkCredential ("username", "passwor...

1
голосов
2ответов
6190 просмотров

Client SSL authentication causing 403.7 error from IIS

I'm trying to connect to a web service (not under my control) configured to authenticate users via SSL client certs. I have a valid certificate in PKCS12 format containing the client certificate and associated private key. The certificate is issued by a CA accepted by the web service provider. I...

3
голосов
2ответов
2974 просмотров

ASP.NET Forms Authentication with Windows Safari

Does anyone know why ASP.NET Forms Authentication does not work on windows safari, or better yet, how to get it to work? It seems like a very weird issue. When I use a login control (System.Web.UI.WebControls.Login) everything works fine, but if I try to do a custom Forms Authentication login whe...

2
голосов
3ответов
662 просмотров

Grails App Engine Authentication

How do I setup Account Registration, Login, etc in Grails when developing for the Google App Engine? Normally I would use the Acegi plugin but I've read that it doesn't work with Google App Engine. For reference, I'm using the Grails app-engine and gorm-jpa plugins.

2
голосов
2ответов
592 просмотров

SQL Server authentication in SQL Server 2008

I created a login with SQL authentication credential in SQL Server 2008. But, I am not able to login using that credential. We followed the same steps in SQL Server 2005 and working without any problem. What could be the problem? Thanks, P.Gopalakrishnan.

1
голосов
2ответов
275 просмотров

PHP login system from Wikibooks: to be trusted?

Have anyone reading the description of PHP user authentication system at Wikibooks? http://en.wikibooks.org/wiki/PHP_Programming/User_login_systems Is it good? Secure? Correct?

1
голосов
2ответов
194 просмотров

Can a WIN32 program authenticate into Django authentication system, using MYSQL?

I have a web service with Django Framework. My friend's project is a WIN32 program and also a MS-sql server. The Win32 program currently has a login system that talks to a MS-sql for authentication. However, we would like to INTEGRATE this login system as one. Please answer the 2 things: I w...

2
голосов
4ответов
6897 просмотров

Java servlet and authentication

I have a small application with 3-4 servlets and a basic module that provide me authentication like: public class Authentication { public boolean isUserAuthenticated(){ .... } } Is there a way to check the authentication using my class BEFORE every other servlet calls, without ...

0
голосов
3ответов
21238 просмотров

Java Orkut Login

I want the pagesource of home page of ORKUT (http://www.ORKUT.com) in java. But it needs to be logged in to the ORKUT before accessing any page of it. How can I do it. It should not involve browser in between

2
голосов
2ответов
4226 просмотров

Prompt for login details when using Integrated Windows Authentication

For an ASP.NET application, how can I prompt the user for their username / password when Integrated Windows Authentication is used? I would like to use C# in the code behind of the pages to do this. I want some pages (e.g. http://intranet/admin/) to prompt for a password, while others automatica...