Select to view content in your preferred language

Login Screen for the Flexviewer

37036
121
03-15-2011 10:52 AM
andrewj_ca
Frequent Contributor
Just posted some code for a Flexviewer login screen.  I hope somebody can get some use from this.

http://www.arcgis.com/home/item.html?id=baebcaf317994d63902bc9735c0657e0
Tags (2)
0 Kudos
121 Replies
GISDev1
Deactivated User
I checked and the entire ArcGIS_Security folder has read/write extended to IUSRS account.


Can you post up your ViewerContainer.mxml and users.xml
0 Kudos
BrianKraus
Occasional Contributor
Derek,

Do you have an ArcGIS web adapter running?  When I added the ArcGIS_Security folder to wwwroot and converted it to an application in IIS8.0 (also running winSvr2012), I had to make sure I changed the "app pool" to point to the web adapter in the pull down menu.  If I didn't do that, I would get the "internal server error", but after changing it, everything worked fine.
0 Kudos
HarrietMcQuade
Emerging Contributor
Hi All,

These posts are quite old. Since then has anyone come up with a security widget for the compiled version of the viewer? Or another work around to implement security into a compiled application?

Harriet
0 Kudos
CharlesDeng2
Occasional Contributor
Hi there,

I integrated this login widget into Flex Viewer 3.2.  I could log in successfully (by checking the site usage log file), no error message occurred.  But I got a completey blank page, no map showing up at all.  Could you please point me out what the problem it might be?  Anything wrong with Config.xml or ViewerContainer.mxml?  I have no idea what's going on.

Thanks a million,

Charles
0 Kudos
MagalyC_
Deactivated User
0 Kudos
CharlesDeng2
Occasional Contributor
Have you modified the ViewerContainer.mxml ?
http://forums.arcgis.com/threads/25899-Login-Screen-for-the-Flexviewer?p=139178&viewfull=1#post13917...


Thank you Magaly.  I did modify the ViewerContainer.mxml by inserting the workaround code, but still no luck.  Still got a blank page.
0 Kudos
LizDaRos
Regular Contributor
Is there a way the browser or something can remember my login username and/or password so that I don�??t have to enter it every time I open my website? Maybe like a "remember me on this computer?" with a checkbox.
Thanks
0 Kudos
HaniuHokkaido
Deactivated User
Hi, i know its far too late...

I want to protect access to my Flex apps. The link below is not valid anymore (or do i have to have subscription..?) cos i get "http://www.arcgis.com/home/error.html?c=AccessDeniedResource" response when i access this link...

Can anybody  here help me to implement login screen for my flex application ?

Here is what i have:
- its a local application
- IIS
- i use Arcgis Viewer for Flex 3.5 Application Builder (no source code version)
- ArcGIS Server 9.3.1 or 10.2 (yup, i have 2 arcgis servers)


Just posted some code for a Flexviewer login screen.  I hope somebody can get some use from this.

http://www.arcgis.com/home/item.html?id=baebcaf317994d63902bc9735c0657e0


thanks
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
0 Kudos
SaurabhGupta4
Deactivated User

Hello We cannot access the link

0 Kudos