Security :: SiteMinder Authentication - Redirect From One Application To Another?

Jun 4, 2010

I have a web application that is using siteminder for authentication.

I want to redirect to application that is siteminder enabled. This application might be using site minder forms authentication.

What parameters i need to pass to that application? And what details i will need of that application.

View 1 Replies


Similar Messages:

Security - Forms Authentication Without Redirect?

Feb 2, 2010

I am using ASP.Net's forms authentication, but do not want the default behavior of redirecting to a login page when a restricted area is accessed. Instead I would like to invoke a javascript JQuery dialog for the login on the current page, preventing the content behind from loading.My only issue is that by default the forms authentication wants to redirect. Is there a handler that I can hook into, or some other option to prevent the redirect?

View 3 Replies

Security :: Authentication - Redirect URL For Different Roles?

Mar 10, 2010

I am currently having a spot of bother in something im trying to create. I want it so when a user who is in a certain role logs in they are directed to a certain page, and any other normal users are directed to another page.

I think i have this sorted via code but...

-The first time it will work, the 'admin' user will get directed to the appropriate page

-I then log out and log in as a normal user and get directed to the appropriate page

-then when i log out of that users account and back into the admin one i get directed to the normal users page instead.

-additional to this, I tried it on a different machine logging in as the admin user only to be redirected to the normal users page (is my session being stored somewhere?)

Ive traced through the problem and the user name and password being subbmitted are what they should be, yet it skips the true part of my IF statement for being in that role.

Here is my code I am using on the login form:

[Code]....

-When stepping through if seen it work and not work with the same values, I cant understand the logic of its inconsistency

the code i am using for the logout is (this is on my masterpage):

[Code]....

View 4 Replies

Security :: Redirect URL And Forms Authentication (VS2010)?

Jul 12, 2010

We just switched to VS2010 and seems like the forms authentication is behaving differently.

Our setup is that we have a default page (default.aspx) so that if you link to the root folder of the site, rather than a specific page, you get switched to default.aspx.

In addition, we have a working forms authentication system set up so that if you try to go to any of the pages you get redirected to a login.aspx page.

The login page can either redirect you to the forms authentication default page (default.aspx) or to the requested URL.

I'm not the one that configured this originally, but it looks like we are getting the originally requested URL from the authentication redirect, since Page.Request.Url = "http://.../Login.aspx/ReturnURL=<requestedpage>"

The problem is that this is failing to work when the original url is the root folder. In VS2008, <requestedpage> would be "/rootfolder/default.aspx", whereas now (in VS2010) we're getting "/rootfolder/". In other words, the site redirect used to be happening before the authentication check, and now it seems to be happening afterwards.

This is a problem because when we are checking to see if we need to redirect to something other than the default page, we check to see if the return URL is empty or matches the authentication defaultURL (which is also "default.aspx". If it matches, we go straight to the default page. If it doesn't we do some processing and then do the redirect. The extra processing is producing strange results when the browser is redirected to the rootfolder and therefore to the default page.

For now, I'm able to additionally test for Request + "default.aspx" (which resolved to the authenticaiton defaultURL), but this feels clunky and I can see headaches in the future if we ever need to rename default.aspx.

P.S. It has occurred to me that it's possible that something changed in web.config or another setup file when we did our conversion to VS2010. I can't find it, but that doesn't mean it's not there.

View 2 Replies

Security :: How To Redirect Page If Authentication Fails

Aug 12, 2010

we would like to redirect the user to a given page if the authentication to our SharePoint site fails (i.e. the standard windows login prompt pops up three times - we are using windows authentication). No matter what option we try it always ends up bringing the user back to a blank page.

We have tried writing a HttpModule (and catch the if Response.StatusCode = 401), which doesn't seem to fire any events if the user is not authenticated. We have tried writing a HttpHandler, but of course we can redirect the user if there is an error code but can't continue onto the desired site if not. We have tried doing the following in the web.config:

<customErrors mode="Off">
<error statusCode="401" redirect="http://social.msdn.microsoft.com"/>
</customErrors>

Which doesn't work, again taking us to a blank page.

View 3 Replies

Security :: Redirect On Forms Authentication Timeout?

Nov 3, 2010

how to redirect to a custom URL on Forms Authentication timeout? The timeout is working but it is only caught when I try to go to a page in my application because each Page_Load method is wrapped in a custom IsLoggedIn method. Here is the settings I have so far in the Web.config.

[Code]....

View 1 Replies

Application Loses Authentication When Performing Redirect To A Virtual Directory?

May 3, 2010

I have the following setup:

[URL]

[URL]

Each virtual directory is configured on IIS6.0 as an application with own AppPool.

When redirecting authenticated user from dir1 to dir2 using response.redirect I lose authentication information for the user and the user is being redirected to the login page. This issue was not coming up with each app (dir1 and dir2) were configured under subdomain, ex: [URL]

I have resolved the issue by adding a machine key to the machine.config file.

View 2 Replies

Security :: NT Authentication Fails Redirect To Default Page

Dec 16, 2010

I am in the process of designing application in case user authentication if failed i need to redirect to default page (NT Authentication). Is there any way you can redirect the user on IIS if the user is fail go through the NT authenticaiton at IIS level.Options 1 : Always land the user to defalut page and validate there and redirect to site based on the access give the directory level access. I am looking if there any options to let the user to default page in case user access is denied.

View 4 Replies

Security :: Forms Authentication Across A Subdomain And The Redirect URL Failure?

Apr 9, 2010

Here's my scenario.

I've got a site called domain.com and also another product on product.domain.com. The product.domain.com requires authentication to access it. For consistancy in the user experience I have set the login url in the web.config on product.domain.com to be http://domain.com/Login.aspx. This redirection is working ok - and a sample url would be:

http://domain.com/Login.aspx?RedirectURL=/default.aspx

The problem is that the RedirectURL does not take into account that the request originally came from product.domain.com so when the authentication is successful the user is not redirected back to product.domain.com

I have come up with a solution for this but would like feedback if possible.

I changed the loginURL in the web.config to http://domain.com/Login.aspx?domain=product.domain.com so the sample url is now:

http://domain.com/Login.aspx?domain=product.domain.com&ReturnURL=Default.aspx

I then override the LoggedIn event in the membership control and check to see if the domain value pair is specified and if it is I redirect to the domain + ReturnURL.

As I said previously i'd appreciate any comments or other ways to achieve the same result.

View 1 Replies

Security :: Redirect From Web.config When Forms Authentication Failed?

Mar 7, 2011

I am using forms authentication to authenticate users. Application has multiple folders and one of the folders has its own web.config

[Code]....

I want to redirect the user to "info.aspx" instead of "login.aspx"Root has the following web config

[Code]....

View 8 Replies

Security :: Response.Redirect To Current Page With Cookieless Authentication?

Mar 30, 2011

I have a logon/register control that is on several pages. Users are logged on with code: - FormsAuthentication.SetAuthCookie(Userid, False) Response.Redirect(Request.Url.AbsoluteUri) ' Round trip is necessary to complete logon

All this was working OK, except that there was a problem with Internet Explorer users: if their browser had the default privacy setting the authorization cookie was rejected. There was no message, but they were not logged on. See [URL] To try to solve this problem I changed to cookieless authentication, but now the logon control doesn't work. The problem is that after cookieless authentication the URL changes from

[URL]

However Request.Url.AbsoluteUri remains http://localhost:3641/TestGDB/login_pages/home2.aspx even after the logon, and so with cookieless authentication the user is not logged on as there is no authentication ticket in the redirect URL.

The problem is "solved" by changing the Redirect statement to Response.Redirect("~/login_pages/home2.aspx") which works perfectly for this particular page, but is obviously wrong when the control is on other pages.

How do I write "Response.Redirect(current page)"?

View 1 Replies

Security :: Running Application Under The Security Context Of The Logged In User (LDAP Authentication)

Mar 17, 2011

We are using membership provider for LDAP authentication. It is working as it should.

But what all configuration settings I have to do so that
all the future requests to this application run under the security context of the Logged in user account not through the some default user set in IIS.

We need to have this working because all the permissions on the database are based on the logged in user.

We are using form authentication for LDAP authentication. And having impersonation = true in web.config.

View 1 Replies

Security :: Manage The Redirect By The Application?

Jan 12, 2010

I have a problem....if one user try to go to a page where he isn't autorized, the application rediredt he at the login page...

how I can redirect in an other page, where i write "Access denied"??

View 2 Replies

Security :: Authentication In Web Application?

Jul 13, 2010

I have seen some articles about different types of authentication in online. But i have not used any thing particular.I build a web application that user can register and login an after that.In that application when the user comes to loginpage and enter the user name and password and on click of the login button,the validation is done against the data in DataBase. So i am not getting the any idea of form level authentication with the user details in the webconfig file. For what type of applications we use this type of authentication. Can anybody help to get an idea about this authentication.

View 3 Replies

Security :: Passport Authentication In Web Application?

Jul 12, 2010

Has Passport authentication been removed from ASP.NET 4? It doesn't appear in the documentation anymore, I can't find the site to download it... It seems like Windows Live ID is replacing it, is it correct?

View 2 Replies

Security - Console Application With .NET Authentication

Jan 5, 2011

Here's the situation, I've got a console application that needs to run once a day and make a few requests to pages that require authentication to view. The pages are hosted in a really basic ASP.Net Web Application.

So, I know that in order for the requests to go through successfully I have to authenticate with the server. So I've hooked up the console application to the ASP.Net Membership Provider I'm using for the web app and it successfully determines if a set of a credentials are valid. However, after calling Membership.ValidateUser() any requests I make just get the login screen. After doing some reading it seems that this is because I'm missing the important cookie information that persists my login or what-have-you.

I'm using a basic WebClient to make the requests and then reading/discarding the result.

So the meat of the question is this: Is there a simple way to validate the login information and hold on to it so that I can make the requests successfully, or is this the exact same case as the other two questions I found that require the WebClient to make a "manual" login request to the login.aspx page and try to hold on to the cookie from there?

The questions I'm referencing are:

Authenticating ASP.NET MVC user from a WPF application and Login to website and use cookie to get source for another page

View 2 Replies

Security :: Compare Authentication In Application?

Dec 22, 2010

I have authentication in my web application. I want the application to be logged in with the same credentials as of system logged in. Am able to compare the username easily, but don't know how i can compare the textbox content with logged in windows password. Am using .NET 3.5.

View 4 Replies

Security :: Web Application Authentication Using Database?

Dec 21, 2010

I am developing a web application which requires user to login. There will be N number of users using website concurrently. We have a MySQL database which will store user information like Name, User ID, Password etc. I am not able to understand on how to check username and password once they enter data using Login form which will be present in DB.

View 4 Replies

Security :: Intranet Web Application Using Windows Authentication?

Jan 7, 2010

I've a project using windows authentication and it will be used in intranet. The client itself already have a web application in their intranet and they built it with Java (they used windows authentication too). The problem occur when they want my web application only appear within their application content section.

What should I do? I did think about using iframe but some people said it's evil. And if I'm going to use iframe, is it save? My web application will use a few pop up window/modal window and ajax.

View 5 Replies

Security :: Customize Windows Authentication For Web Application?

Sep 8, 2010

I am using Windows Integrated Authentication with impersonation for all my web applications (on IIS 7 and 7.5), and everything is perfect.

Now I would like to enhance the authentication procedures bypassing the login prompt from IIS, and supplying a custom page to collect the Username + Password inputs from Users, but still mantaining the Windows Authentication support (I rely on the WindowsPrincipal in my application for many core activities).

I just would like to replace the IIS popup with my custom authentication page.

First of all I have tried to mix the WIA with Forms Authentication, but - even if I succeed in authenticating users against the Active Directory - the result is not what I was looking for, because I want to mantain Windows Authentication and not migrating the mechanism to Forms Authentication (even if implemented with the AD provider).

The first step I am trying is to use the "LogonUser" function to create the correct WindowsPrincipal and then the "Impersonate" method, but after this step I have no idea about how to persist the authentication data andor to pass the User information to the Windows Authentication. As a result, when I execute the first redirection to another page the information about the user manually logged are lost.

View 6 Replies

Security :: Multi Authentication Type - Add To Web Application

Mar 5, 2010

I would like to add this feature to my web application, for the end users to chose the type of the authentication either (windows) or (Forms), and add it in the admin setting. This can be done by changing the authentication type programmatically in the code. how can I do this? Note: The user can use one type at time only.

View 1 Replies

Security :: Application Using AD Form Authentication - Login Not Responding

Aug 23, 2010

I've encountered a problem with intranet ASP.NET Application using AD Form Authentcation. The login and authorization is built using this KB http://support.microsoft.com/kb/316748. It works fine on DEV but not in UAT and PROD.

Basically, the problem is:1. In DEV, users see login page and they enter domain user name and password and login process happens with no issue.

2. But in PROD and UAT, the same application when the users see the login page (first time) and they submit the login form no response. The login button does nothing. The user closes the browser and come back to login page and it works second time. Strange, this doesn't happen in DEV.

3. Further, on DEV by changing the LDAP path to PROD or UAT, the users can still login the first time. It's only the PROd and UAT that seems to be a problem. Not sure whether it's IIS setting or domain policy or something else.....

Not sure what's causing this issue. The only difference that I can see between DEV and UAT/PROD is:

1. DEV has no load balance but UAT and PROD has.

2. In DEV application is installed under Default Website and on PROD/UAT it's under new website.

The IIS settings has been setup as per given KB. I

View 1 Replies

Security :: Accessing Webservice From Application With Windows Authentication?

Feb 10, 2011

I'm having trouble with accessing my webservice.

I've got a webapplication and inside this webapplication I have a webservice. An external program is going to use this webservice in the future, but for now that is not the problem. this webservice is also called from inside the webapplication. this is where the problem starts.

I keep getting this error:

The remote server returned an error: (401) Unauthorized.

I tried with imporsonate= true, but it didn't work

[Code]....

the webservice is called like this:

[Code]....

I hope some one can point me into the right direction.

I'm using iis 7.5asp.net 3.5

View 1 Replies

Security :: Accessing .NET WCF Authentication Service In Winforms Application?

Jul 30, 2010

I'm trying to use ASP.NET WCF Authentication Service from a Winforms Application.

I am referring to this article as a tutorial.

for silverlight clients, the WCF Auth service works well.

but for Winforms Apps,

[Code]....the AuthenticationServiceClient.IsLoggedIn() always returns false even after login.

what is the cause of this and is there another approach I should take when I leverage ASP.NET authentication from Winforms?

View 1 Replies

Security :: Implement Windows Authentication In A Application In The Webserver

Sep 13, 2010

I have one webserver alone in the network and all the users authenticate in another server. I'm trying to implement windows authentication in a application in the webserver, but every time that the page loads a login window appears exactly that the windows client was authenticated in the order server. Is It necessary both server stay in the same domain? Is there another way? Finally, I need to get the user id in the windows client, but webserver and domain server don't communicated between itself.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved