Results 1 to 4 of 4

Thread: how can I use Acegi Security with WebLogic?

  1. #1
    Join Date
    Aug 2004
    Posts
    8

    Default how can I use Acegi Security with WebLogic?

    :?:
    My application is spring-based,and the application server is Weblogic,
    But can I use Acegi Security with WebLogic? and how to do?
    Thanks!

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Acegi Security provides its own authorization interfaces and classes. For the authentication side you have a choice of several approaches:

    - Container adapters. This leaves your Servlet container to perform authentication via web.xml security constraints. The resulting Principal is available via the HTTP request, which Acegi Security "reads" and then handles authorization.

    - Acegi-handled form user authentication. Basically traditional "form" authentication but fully contained within Acegi Security.

    - Acegi-handled BASIC authentication. Basically traditional "BASIC" authentication but fully contained within Acegi Security.

    - Acegi-handled CAS authentication. Integrates with Yale CAS (a popular open source single sign on system) but fully contained within Acegi Security (apart from the CAS server, which is just a separate webapp).

    If you use any of the "Acegi-handled" options for authentication you do not need to worry about which container you are using. We aim for complete container portability. Most people use an "Acegi-handled" option as it's also far more flexible.

    If you use "container adapters" for authentication you will need a suitable adapter. We don't have one for WebLogic (only Resin, JBoss, Jetty and Tomcat). There's no reason you wouldn't be able to write a WebLogic adapter, though.

    We recommend you use an "Acegi-handled" option to enjoy container portability and more widely used, supported and maintained code.

  3. #3
    Join Date
    Mar 2009
    Posts
    2

    Default Basic Authentication issue in WebLogic

    I have Basic Authentication issue in my application when it was installed into WebLogic 9.2.
    But I have found the solution: How to fix Basic Authentication issue on WebLogic 9.2/10.0/10.3 when using Acegi/Spring Security

  4. #4
    Join Date
    May 2008
    Posts
    153

    Default

    I have a Swing app using HttpClient + HttpInvoker to access web services. Currently I use X509 authentication, but wanted to add username/password authentication to make my application easier to deploy (not everyone is capable of interacting with a CA). The spring security tutorial showed this nice example of HTTP BASIC/TLS which worked for non-browser client applications (as well as browsers), OK great! i'll use that.

    Then I ran in to the issue mentioned above (on Weblogic) - its almost as if weblogic is trying to break spring security.

    Q: Is there a simple, portable mechanism by which a standalone Java app can authenticate to spring security? If I use DIGEST/TLS, will weblogic still try to intercept it?
    Q: Form Auth/TLS seems pretty portable, is there some way to use form based authentication from HttpInvokerService + HttpClient?

Similar Threads

  1. Replies: 2
    Last Post: Dec 7th, 2005, 12:10 PM
  2. Replies: 7
    Last Post: Nov 30th, 2005, 09:27 AM
  3. Acegi Security release 0.8.2
    By Ben Alex in forum Announcements
    Replies: 0
    Last Post: Apr 20th, 2005, 05:44 PM
  4. Acegi Security 0.8.0 and subproject status
    By Ben Alex in forum Announcements
    Replies: 0
    Last Post: Mar 3rd, 2005, 11:44 PM
  5. Acegi Security release 0.7.0 is out
    By Ben Alex in forum Announcements
    Replies: 0
    Last Post: Jan 19th, 2005, 03:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •