authentication

Integrating Dokuwiki in a Drupal site

Hi, Does anyone have experience or suggestions on how to integrate Dokuwiki with a Drupal site? What I want to achieve is for a user to only have to log in only once with Drupal and be able to access the wiki when they navigate to it. ...

How to manage user authentication/sessions?

What is the best way to manage user authentication/sessions in a web app, ideally in a clustered environment, using Spring Framework/MVC? I thought of creating a login bean that creates a jsession for authenticated users and then using AOP to check for the jsession before each controller method inovcation. If there isn't a better way,...

Authenticated MediaPlayer

Trying to stream a video from an external server. _mediaPlayer = new MediaPlayer(); _mediaPlayer.setDataSource( this, Uri.parse( _uri ) ); Works fine for an openly accessible server, but throws an Exception when the server requires authentication. I've looked at the code inside setDataSource and haven't found any way to set a c...

Problem in login page using form based authentication

I want a login page in which if any user types invalid password or username after clicking submit button, then the user will be displayed an error message on the same page. What should I have to make this requirement enable? Is this possible with ajax or javascript? ...

Session handling in python / django

I am creating an application that lets users login using Google, Facebook and the website's native login. The site is being built in Python / Django. What would be the best way to handle login, session management and user authentication? I do not want to use the in-built Django user management. I am using Django very sparingly(URLs, te...

What is meant by two legged authentication?

What is meant by two legged authentication? Where and how it is used in programming? ...

Web Services Primer for a WinForms Developer?

I've been writing client/server applications with Winforms for about six years now, but I have yet to venture into the web space (neither ASP.NET nor web services). Given the direction that the job market has been heading for some time and the fact that I have a basic curiosity, I'd like to get involved with writing web services, but I d...

Twitter Oauth Issue

I'm using a few different gems here (Devise, Warden, Warden_Oauth), but I think you could answer this question without necessarily being familiar with them. I'm trying to execute a Twitter Oauth strategy, where the app first looks for a user by an access_token and access_secret, and then if it doesn't find one, it creates a new user. I c...

Is there a way to authenticating without web browser on Facebook API on iPhone(or similar native clients)?

Facebook offers an Objective-C library, but it uses web browser session too. Is there any browser-less way to do authentication? ...

Ruby ways to authenticate using headers?

I am designing an API system in Ruby-on-Rails, and I want to be able to log queries and authenticate users. However, I do not have a traditional login system, I want to use an APIkey and a signature that users can submit in the HTTP headers in the request. (Similar to how Amazon's services work) Instead of requesting /users/12345/phot...

User forms authentication in JSF

I'm a novice at JSF and I got a couple of questions concerning organizing user authentication there. 1) How can i redirect the registered user to a welcome page (for example welcome.xhtml)? I heard about using Filter or navigation-rule tag, but i didn't found a full-blown tutorial of how it works. 2) How can i tell the server that unau...

Lazy Registration: How to let a guest user start their workflow and prompt registration when they try to save their work?

I'm wondering what I would do to go about letting a guest use my web application without registering, then if they attempt to save their work they are prompted with a registration. This will be in a rails application by the way. Can I just allow public access to part of the work flow, then when they save check if they're a registered use...

Building an 'Activation Key' Generator in JAVA

I want to develop a Key generator for my phone applications. Currently I am using an external service to do the job but I am a little concerned that the service might go offline one day hence I will be in a bit of a pickle. How authentication works now. Public key stored on the phone. When the user requests a key the 'phone ID' is se...

How would I authenticate against a local windows user on another machine in an ASP.NET application?

In my ASP.NET application, I need to be able to authenticate/authorise against local Windows users/groups (ie. not Active Directory) on a different machine, as well as be able to change the passwords of said remote local Windows accounts. Yes, I know Active Directory is built for this sort of thing, but unfortunately the higher ups have...

Credentials - Can I do this?

I've got an ASP.NET website that I use forms authentication using the default provider you can setup. This works just fine for the site. The question is can I pass the credentials from the web site to a web app on the same server? ...

Are cookies enough for storing login data?

I am reading the Head First PHP/Mysql book and they say to store both the user's username, email into cookies and sessions.cookies? Should I store both in sessions and cookies or just one of them? I am not storing any sensitive data in cookies such as password, etc. ...

Need Users to Re-authenticate with NTLM

I'm NTLM (authenication="windows" in the web.config) with an asp.net mvc 2.0 site. Right now once a user logs in it keeps them logged in for weeks at a time. The use of the application is being opened up to users who share computers that use logged in service accounts. I need the site to reprompt each user for their AD credentials...

Error getting twitter request token using OAuth and PEAR Services_Twitter

Hello, I am moving from the basic authentication method using username and password to the OAuth based authentication. I was using an old version of the pear package Services_Twitter, that did not support OAuth. The latest version of this package supports OAuth authentications, it has a few dependencies (HTTP_Request2, HTTP_OAuth). It ...

ASP.Net MVC ReturnUrl Practice

I have a question about the returnUrl querystring parameter that is appended by ASP.Net when attempted to hit a page that requires authentication. In looking at Microsoft NerdDinner Sample's LogOn action (along with every other 'sample authentication code' I see on the 'net), it just has the ReturnUrl parameter declared in the action's ...

How to write custom (odd) authentication plugins for Wordpress, Joomla and MediaWiki?

On our network (a group of related websites - not a LAN) we have a common authentication system which works like this: On a network site ("consumer") the user clicks on a login link This redirects the user to a login page on our auth system ("RAS"). Upon successful login the user is directed back to the consumer site. Extra data is pas...