Java :: Alternatives For Authentication?

May 8, 2010

Preferably something that integrates well with a Flex front end. Yes the Spring Security guys say this is possible, but all examples seem to use legacy jsp tag libraries making them half useless as examples.I don't want to spend a month setting up and learning how to use a security tool. I would like a tool which supports using annotations (@RolesAllowed etc), MINIMAL XML, and 'remember-me' features (not cookie based).Apache Shiro seems to support Flex/Silverlight/Swing as well but I'd like to know if there are any other alternatives that are NOT container specific.

View 3 Replies


Similar Posts:


Java :: Spring Authentication From A Flex App?

Feb 4, 2011

Some background: I have a Flex app embedded in an HTML page and am using Flex to send a soap request to my Java backend that does some authentication depending on the username and password entered in the Flex form. If I enter the correct login everything works fine and the Flex app can continue making further requests. But with an incorrect username/password, an "Authentication Required" dialog box pops up in my Browser and my Flex app won't respond with its proper handler until I click cancel. I'd like to get rid of the dialog box somehow,

View 2 Replies

Java :: Indicate Failed Authentication Reason To Flex Client With JAAS?

Dec 29, 2009

We're using :

JBoss 5
Flex SDK 3.5
BlazeDS 3, with integrated authentication (through JAAS and JBossSX)

Failed login are always indicated to the flex client by the same fault code : Client.Authentication

However, the underlying JAAS LoginModule throws a specific javax.security.auth.login.LoginException subclass.

How can we propagate the failed login reason to the flex client ?

View 1 Replies

Java :: What's Different When Implementing Flex Authentication/authorization In A Clustered Environment

Sep 25, 2010

Are there any differences implementing Flex application security in a clustered Java environment (such as Oracle Application Server/OC4J or a JBoss cluster) vs a single application server environment? (And/or does it depend on the specific environment software?)

What considerations are there in a situation where you need to authenticate with LDAP (AD) and store user access information in a database (ex. USER table containing username + permissions/roles info)? Any differences between Blaze DS and Granite DS?

View 1 Replies

Java :: Flash - Rewriting Inbound Server Authorization Headers Prior To Authentication?

Feb 16, 2011

Authentication is performed with Basic auth over SSL (although the password inside the basic auth is SHA-2'ed). The issue is that using basic authentication for the Flash client is causing the standard browser log-in box to appear because of "WWW-Authentication: Basic" in the header. Flash is unable to bypass this by manually setting the Authorization header prior to the request.Other clients need to be able to authenticate via the existing mechanisms, so rewriting the authentication logic would not be ideal.

I have the idea that the authorization headers sent to and received from flash client could be dynamically rewritten to use another name for Basic auth which would cause the browser not to understand the auth mechanism and not present the dialog box. Authentication headers to and from Tomcat could be rewritten from "WWW-Authenticate: Basic" to "WWW-Authenticate: PretendBasic" but ideally the built in container security could still handle the basic auth after the rewrite.

I wrote a filter to rewrite inbound headers as "WWW-Authenticate: PretendBasic" as "WWW-Authenticate: Basic" hoping the next filter chain would be auth and the request would be handled as normal. Unfortunately the Servlet specification states that a filter cannot be inserted prior to authentication. I think the only possibility of this working is to create a stackable JAAS authentication module that would first perform a header rewrite on requests if coming from the Flash client, and then pass authentication through to the existing container managed security systems.

View 2 Replies

Professional :: IPhone Viewing Alternatives?

Apr 29, 2011

I'm using an .swf banner for the header of a client project and am concerned that when iPhone and other mobile device users visit the site the header will be missing (being as Flash isn't supported on the iPhone).way in which iPhone visitors can see a .jpeg header when they visit the site so that the header isn't missing entirely? Perhaps this is an easy fix, however I am new to Flash

View 2 Replies

Alternatives For Server-side PDF Viewing?

Jun 22, 2010

I'm looking at options for rendering PDFs on the server to avoid the user having to download them (they're big docs) and/or have a PDF reader installed and configured (audience is not tech savvy). The Google Viewer and Scribd are nice examples, but I'm not interested in making the PDFs available on the web (for Google) or storing them on another party's servers (Scribd).

My favorites right now are FlexPaper and PDFWebViewer.NET but I wanted to see if I'm missing any other options.Most of the related SO questions on this topic are somewhat dated, so maybe there's something new?

View 6 Replies

Php :: Captcha Alternatives To Deter Spam?

Feb 15, 2012

Possible Duplicate: Blocking comment spam without using captchaMost of the time Captcha is either broken by bots or by labor force working as data entry jobs in Asia. And then spam/content bots/scrappers get in.Wt are other strong and effective alternatives availableAnd I thought about something like on smartphones these days that it ask you to drag to unlock. I think if that can be made in Adobe Flash or maybe using HTML5? .. do you think it will work effectively? note that emphasize is on defeating HUMAN + BOT partnership where human element comes from Asian countries to enter Captcha code or simple answers and then bots come into play.

View 1 Replies

Flex :: Ide - Alternatives Of Builder For Development?

Jun 10, 2009

What are the alternatives of Flex builder for flex development (Free ware, open source preferred). I know one that is FlashDevelop, but it is not matured/ full fledged flex IDE.

View 3 Replies

ActionScript 3.0 :: Alternatives To _global Variable Path?

Jun 8, 2009

through out a very old complicated fla there are buttons which set variables using _global paths
 
such as:
 
function menu1_2(Event:MouseEvent) {
global.mode = "hide_hotbox";
MovieClip(this).gotoAndStop("stage_1_b");
}
 
How can I make the variable "hide_hotbox" and others like it accessible and changeable from any movie clip -- whether they be nested in other movie clips or on the main timeline, etc?

View 6 Replies

ActionScript 3 :: Alternatives For Registering Events On Stage?

Feb 1, 2010

I am programming a little software prototype as Flash/Actionscript3 application. Currently I registered some Events on stage - but it is cumbersome since stopPropoagation() needs to be used all the time. As Example: I am having a element shown via mouseclick would and a event for closing the menu on stage. Without using stopPropagation, the menu opens and closes again immediately. The hide-function is registered on some objects so just checking if target= stage would not do it, unfortunately.

View 2 Replies

Flex :: Open Source Alternatives To Builder?

Mar 15, 2010

Are there any open source (read free) alternatives to Flex Builder? I do not qualify for their student waiver (sad)

View 4 Replies

ActionScript 3.0 :: Add In Delays (Flash) - Alternatives To SetInterval?

Apr 23, 2010

While setInterval is handy, it's kind of limiting. Every time I want to add a Tween I have to add a new method. I do not want to alter the structure of my code just to add in some delays. Isn't there any way to say this without making methods for A and B?

// do A
// wait N seconds
// do B

I don't want to use a while loop with Dates because I think it will be blocking.

View 2 Replies

Javascript - Web Standards Alternatives To Flex/Silverlight?

May 19, 2010

Is there a set of open standards technologies that I can use to achieve the same way of development as in Flex and Sivlerlight? I am talking about componentization, separation of concerns, rich graphics, states and effects . Please point out some tutorials and other resources if possible.

P.S. I KNOW that this is technically possible, so please do not respond by sending google search results or general JQuery tutorials. I've seen those already. I need to know how a Flex / Silverlight developer could design and implement an application in roughly the same way (imagine a rich HTML tag set, much like XAML/MXML, behind which stands JavaScript responsible for handling events and business logic.

View 3 Replies

Actionscript 3 :: MouseEvent ROLL_OVER/ROLL_OUT Alternatives?

Feb 5, 2011

I have a custom cursor and I want it to change when you highlight a MovieClip, and return to its default value when the MovieClip is not highlighted anymore.I've used MouseEvent.MOUSE_OVER, MouseEvent.ROLL_OVER, MouseEvent.MOUSE_OUT, and MouseEvent.ROLL_OUT. The result isn't very smooth and there is a small delay to when the cursor changes. Also sometimes if you move the mouse fast enough the cursor won't change at all.

View 1 Replies

Android :: Flash Builder Burrito Alternatives?

Apr 20, 2011

are there any alternatives for the Flash Builder Burrito IDE for mobile development based on the flash technology?

View 1 Replies

ActionScript 3.0 :: Alternatives To Move Huge Movieclips?

Oct 12, 2010

I am making an rpg type game and the map is as big as flash will allow a movie clip. Around 6000 width or something.

To simulate movement, the player is stationary in the center of the screen and moves the map beneath them.

The problem: On computers with slower CPU's it lags very badly.

Is there a way to cache the map or somehow have it so it is less processor intensive?

View 3 Replies

ActionScript 2.0 :: Customization Of DataGrid Component (or Alternatives)?

Jul 20, 2010

This DataGrid Components is giving me a massive headache. It's a massive pain to customize.I do some work for a graphic designer, who has given me a picture of an element which I'm to implement in an existing AS2-based Flash project (targeted flash version is not important). Here's the picture for reference:

Trying to make the default DataGrid work like this I'm quickly figuring out is nearly impossible. Firstly, I don't think it's possible to make alternating rows fade out like that. I'm willing to accept the fact I'm doomed to solid-color alternating rows for now.
My main problem at the moment is that I can't figure out how to change the size of the header. I need a larger font for the header than the items, and I need the size of the header itself to expand. Neither of which I can figure out how to do.

So does anyone know a) how to change the headers on the DataGrid, or b) where to find a more flexible (in terms of skinning) DataGrid component for AS2 which is cheap (preferably free)?

View 5 Replies

Flash :: Alternatives To Script Rich Text Editors?

Oct 8, 2010

I was wondering if there were techniques other than the HTML designMode to build an RTE and work around these in a clean manner.. Maybe in Flash, or as a Java Applet or something?[code]....

View 3 Replies

ActionScript 2.0 :: Local Connection Does Not Always Work - Alternatives Or Fixes?

Jul 16, 2008

I have an swf that needs to communicate with another. It just needs to pass 1 variable (a number) to the other. And the receiving swf will then act according to the number.

However, I noticed when I sometimes refresh the page, localConnection does not always work. When I'm clicking the sending swf, the receiving swf does not act...at all. As if nothing happened.

Is it a HTML problem? Ive selected Flash Player 7 for swfobject's parameters. Anyone have any solutions or possible alternatives to doing this?

Like I said, I just need to give the receiving swf ONE variable. And I dont want the sending one to write to a PHP file and receiving one to always load that PHP file for updates...thats not nifty enough.

View 1 Replies

ActionScript 3.0 :: Alternatives To The Flare Data Visualization Framework?

Apr 20, 2012

does anyone know of any alternatives to the flare data visualization framework that is in regular AS3 and not Flex? [URL]..

View 1 Replies

Flex :: ArrayCollection Error In Does Not Accept Single XML Nodes - Alternatives?

Apr 29, 2010

i get this error when i retrieve an XML that only has 1 node (no repeating nodes) and i try to store in an ArrayCollection. -When I have MORE than 1 "name" nodes...i do NOT get an error.

TypeError: Error #1034: Type Coercion failed: cannot convert "XXXXXX" to mx.collections.ArrayCollection.

this error occurs as the line of code: myList= e.result.list.name;

Why can't ArrayCollection work with a single node? I'm using this ArrayCollection as a dataprovider for a Component -is there an alternative I can use that will take BOTH single and repeating nodes as well as work as a dataprovider?

[Code]...

View 2 Replies

Html :: SWFUpload Alternatives - Allow The User To Upload Multiple Files?

Aug 12, 2010

I've developed a system that uses SWFUpload to easily allow the user to upload multiple files with a progress bar showing them the upload progress. It all works fine in my development environment, but is failing for some users in the wild with the Flash movie not loading. I can see the Flash movie is there, if I right click it a window appears saying Movie not loaded... (Then on the next line) About Adobe Flash Player 10...So far I've not been able to determine what was causing the failure.Are there any other alternatives to SWFUpload that will allow for:

Upload progress bar
Allow multiple uploads

View 2 Replies

ActionScript 3.0 :: Alternatives To *_exclude.xml Files, Loading Class Definitions Dynamically?

Jul 15, 2011

Working in a very large Flash application, previously in AS2/CS3 I would have a setup like the following:

root.swf-- modules---- code_a.swf---- code_b.swf-- views---- view_a.swf---- view_b.swfUsing _exclude.xml files, I could exclude the classes defined in code_a and code_b from the ouptut .swf of view_a and view_b. root.swf would be responsible for loading the code modules before view_a or view_b, ensuring that class definitions that view_a and view_b depended on existed.

The Problem:We've recently migrated to using Actionscript 3/CS5. *_exclude.xml files no longer exist. To get the same functionality as above, I've tried the following: My setup now looks something like:

root.swf-- modules---- class_a.as---- class_b.as-- views---- view_a.swf---- view_b.swfUse mxmlc to compile root.swf, view_a.swf and view_b.swf, passing it -externs option to specify classes that will be loaded externally (the two classes in modules).

This ensures that the class is excluded from the compiled swf.Use compc to compile class_a.as and class_b.as into classes.swf, using -directory=true to access library.swf for external loading.However,when I try running one of the two view files which depend on classes.swf, I get runtime errors telling me that a class definition is not present.

Current Workaround

I've devised a workaround which I'm currently not happy with as it's backwards to the modular approach that I was previously using:Rather than loading the code modules, I statically link all class definitions required by child movies intoroot.swf. When building root.swf, I use the -link-report option of mxmlc to provide a list of included classes. When building child swfs, I can the use -load-externs to ensure that class definitions that already exist will not be included in the compile output.
 
Is there a way that anyone is aware of to replicate the AS2/_exclude.xml solution that I had using AS3/CS5?

View 1 Replies

Flex :: Alternatives To Create Swf Files (which Has External Content Loaded Into Them) Dynamically?

Jul 2, 2009

I'm about to start a project where there will be a Flash application where the visitor customizes a profile with externally loaded images and texts. Then the visitor needs to be able to download that profile as a dynamically created swf with all that external content baked into the swf.

View 2 Replies

Javascript :: Alternatives To Red5 Recorder And Server For Webcam Video Capture?

Feb 26, 2011

I'm looking for a flash script/library to capture video and audio from a webcam and then somehow get a saved flv to my encoding server. I'm not looking for something that will host the videos for me. I just need something simple to capture and then upload. I really want this to be open source and free.

I've done a fair amount of searching and it seems that most of what i can find is either a full blown service with hosting, or the red 5 suite. I've been trying for a day to get something going on with Red5, but honestly I haven't done any flash or java development in over 6 years and this seems way too complicated when all i really want is a flash object i can stick on a webpage.

View 2 Replies

Flex :: Flash Builder 4 Standard Profiling & Unit Testing Alternatives

Mar 3, 2011

I want to profile and unit test my application in Flash Builder 4 Standard. Adobe says I need to upgrade to the Premium version but I can't pay the money they want right now.Are there any alternatives for unit testing and profiling?

View 2 Replies

ActionScript 2.0 :: Find Alternatives But The Event System Doesn't Dispatch Events?

Mar 26, 2007

I noticed that the Object.watch and Object.unwatch methods are gone in actionscript 3.

I've tried to find alternatives but the event system doesn't dispatch events when properties change, There is a data binding system but I think that's just for Flex.

Does anyone know what (if any) the alternative is?

View 1 Replies

Java :: Convert Byte Array From Action Script To Image In Java And Save It

Jun 25, 2010

I am a .NET Developer, but the question I am having is not related to .NETPlease keep this in mind even if my question sounds very trivial.This is my question:We have an swf in the browser, which communicates with a java extensionIts done using Smartfox Server(Used for MMO apllications)From the swf we are grabbing a portion of the screen as "Byte Array" in action script(3).And in Java, we are calling a function that converts the ByteArray to Image and then saves it.ur Java developer is encountering the errorSo basically, what I would like to know is this:How to accept the object type Byte Array from ActionScript in Java?Whats Java object type that is mapped to Byte Array in ActionScript?The conversion part is easy, I dare say. code in the ActionScript Section

public function savePhoto(uName:String, ba:ByteArray, descr:String):void{
var obj:Object = {};
obj.arr = ba;

[code]....

View 3 Replies

Java :: Flex - Max Upload File Size For Java Using Remote Object (BlazDS)?

Jul 16, 2010

I tried with flex and java in the backend. In this, I am able to upload files till 100 MB using remote object (blazeDs) where we will read the file as byte array and send it to the java method. If the file size exceeds after that, then I get the run time error in IE.

View 1 Replies







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