The Artima Developer Community
Sponsored Link

Java Community News
Acegi and J2EE Security

1 reply on 1 page. Most recent reply: Aug 16, 2010 8:51 AM by Sigma Infosolutions

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Frank Sommers

Posts: 2642
Nickname: fsommers
Registered: Jan, 2002

Acegi and J2EE Security Posted: Apr 2, 2007 2:05 PM
Reply to this message Reply
Summary
Acegi is among the more versatile enterprise Java security frameworks. Originally developed for Spring, Acegi aims to solve many shortcomings of the standard J2EE security model. Xinyu Liu's recent JavaWorld article compares standard J2EE security and Acegi for user authentication, authorization, and access control.
Advertisement

Acegi is Ben Alex's comprehensive security framework for Spring-based applications. Acegi can be used for both user authentication and authorization, and solves several limitations of the standard J2EE security model. A recent JavaWorld article by Xinyu Liu, From Java EE security to Acegi: The right way to protect your Web application, compares the standard J2EE security model with Acegi, showing what areas of application security each solution is appropriate for:

Acegi offers flexible and comprehensive authentication services implemented through servlet filters for applications using Spring. Besides the common form, basic, digest, and client-certification login methods, Acegi also supports anonymous, remember-me, and redirect for SSO authentications that happen on some centralized login Web sites...

Web applications usually have both protected and unprotected URLs, and anonymous users can gain access to unsecured resources without authentication. However, you may picture this scenario differently in Acegi. Anonymous authentication in Acegi allows you to associate anonymous users with a specific user identity and role, so that programming access control is unanimous across protected and unprotected resources...

Remember-me authentication in Acegi enables a Web site to remember a user's identity between Web sessions. A long-duration cookie is sent—with the value of a digested identity and password—to the browser so the cookie will be detected during future sessions, causing automated login to take place, a desirable feature for many commercial Web sites.

Liu's article also highlights other Acegi features, such as concurrent session control that's especially useful in cluster-based Spring deployments, and Acegi's support of transport-level security.

While Acegi was initially developed for Spring applications, it can be made to work with non-Spring applications as well, as the article points out. What do you think of Acegi as an enterprise security framework?


Sigma Infosolutions

Posts: 2
Nickname: sigmainfo
Registered: Aug, 2010

Re: Acegi and J2EE Security Posted: Aug 16, 2010 8:51 AM
Reply to this message Reply
Hi,
The page refresh option need to be avoided (FLEX + J2EE).
The main intention is to handle F5(refresh) event. It works fine in Mozilla, GoogleChrome but not in IE8. When i execute the code in IE8 before the event handle by the FLEX the browser is handling the event.
So kindly let me know if there is any solution for this....


For example open this link in IE8:
http://livedocs.adobe.com/flex/3/html/help.html?content=events_11.html

Through this link i found code to handle the events in the mxml level, as the first example(Handling keyboard events) mentioned in the above link works fine..giving the key code of what ever key you keyin,but as soon as u press F5 it refreshing the page,where this happening in IE8 only works fine in other browsers..

--
S.V.Prathap Kumar,

Flat View: This topic has 1 reply on 1 page
Topic: Introduction to Grails Previous Topic   Next Topic Topic: Whither Sockets?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use