Thursday, August 19, 2010

Security Auditing in WebLogic

Weblogic provides an extensible mechanism to audit the activities of weblogic security framework. Weblogic security framework is the framework which takes care of all security related features in a weblogic server including authentication and authorization. Auditing is turned off by default.

The security framework comes out of the box with a DefaultAuditProvider which can be installed and configured into the security framework. When installed and configured in, it starts logging audit information into a file named DefaultAuditRecorder.log in the server log directory. If the default audit provider is not sufficient, users can write custom audit providers and have it installed and perform custom activities such as storing in database etc. The security framework is designed in a pluggable fashion and there can be multiple audit providers if desired.

All the components of the security framework such as authentication providers, authorization providers etc. emit audit events. If an audit provider is installed, then it receives these audit events and it can do whatever it wants with it. Obviously, the DefaultAuditProvider simply logs these events.

A generic audit event has the following information – (1) event type (2) severity level (information, warning, error, success and failure). The severity levels also have ranks associated with them, with “information” having the least rank and “failure” the maximum and (3) optional “context info” about the event (things like ejb method name and parameters in an authorization audit event).

The DefaultAuditProvider has configuration to choose the severity and context information to be filtered or propagated. This configuration is of course specific to the DefaultAuditProvider. A custom audit provider can have any other configuration as desired. Once the audit provider is installed, its settings can be changed at runtime without having to bounce WLS instance. All the settings and configurations are done through WLS console.

The security framework components also add extra data to the event by inheriting from the generic audit event. For example, events generated by the authentication provider have sub type which specifies the action being performed – such as authentication, identity assertion, user being locked etc. An authorization provider adds information regarding the resource being accessed and the subject accessing the resource. The interfaces for the sub events are well defined and a custom auditor can be more intelligent when dealing with the events. The DefaultAuditProvider does not bother much and just logs it using the “toString” semantics.


28 comments:

  1. Anonymous6:36 PM

    Hi to every , since I am genuinely eager of reading this webpage's post to be updated regularly. It carries good information.

    my web-site: Moms Work From Home Jobs

    ReplyDelete
  2. Anonymous8:35 PM

    Hi there Dear, are you actually visiting this site on a regular basis, if so afterward you will definitely obtain good experience.


    my web page ... tarifvergleich private krankenversicherung

    ReplyDelete
  3. Anonymous10:10 PM

    Wow, this paragraph is fastidious, my younger sister is analyzing these
    things, therefore I am going to tell her.

    Feel free to surf to my site :: Kredite Aus Der Schweiz

    ReplyDelete
  4. Anonymous5:23 PM

    Amazing! This blog looks just like my old one!
    It's on a completely different topic but it has pretty much the same layout and design. Wonderful choice of colors!

    my page :: website optimization companies

    ReplyDelete
  5. Anonymous8:24 PM

    Do you have a spam issue on this website; I also am a blogger, and
    I was curious about your situation; many of us have developed some nice practices and we
    are looking to trade methods with other folks, why not shoot me an
    email if interested.

    Feel free to surf to my web site ... secured loans

    ReplyDelete
  6. Anonymous8:32 PM

    Howdy! I simply wish to offer you a big thumbs up for your excellent info you have got right here on
    this post. I will be coming back to your website for more soon.


    Check out my blog - Mortgage With Bad Credit

    ReplyDelete
  7. Anonymous10:27 PM

    I could not refrain from commenting. Perfectly written!



    Feel free to visit my homepage :: Vergleich Der Krankenkassen

    ReplyDelete
  8. Anonymous1:13 PM

    Its like you read my thoughts! You seem to know so much about this,
    like you wrote the book in it or something.
    I believe that you just could do with a few % to pressure the message house a little bit, however instead of that, that is magnificent blog. A great read. I will certainly be back.

    Feel free to visit my site - wechsel von privat in gesetzliche krankenkasse

    ReplyDelete
  9. Anonymous2:22 PM

    Touche. Sound arguments. Keep up the great effort.

    Check out my page; how to take out a home equity loan

    ReplyDelete
  10. Anonymous2:43 PM

    That is very interesting, You are a very professional blogger.
    I've joined your rss feed and sit up for in quest of extra of your great post. Additionally, I've shared your website in my
    social networks

    Here is my blog beiträge zur privaten krankenversicherung

    ReplyDelete
  11. Anonymous7:49 PM

    Wow, amazing blog layout! How long have you been blogging for?
    you made blogging look easy. The overall look of your site is wonderful, let alone
    the content!

    Feel free to surf to my web-site :: best business ideas 2011

    ReplyDelete
  12. Anonymous4:45 AM

    It's going to be end of mine day, however before finish I am reading this wonderful article to improve my experience.

    Here is my blog google adsence

    ReplyDelete
  13. Anonymous8:22 PM

    Now I am going to do my breakfast, once having my breakfast coming over again to read more
    news.

    Here is my web site; to get a loan with bad credit

    ReplyDelete
  14. Anonymous5:58 AM

    When I initially commented I clicked the "Notify me when new comments are added" checkbox and now each time a comment
    is added I get four e-mails with the same comment.
    Is there any way you can remove me from that service?
    Many thanks!

    Here is my site: cheap best hosting

    ReplyDelete
  15. Anonymous2:13 AM

    Greetings! Very useful advice in this particular article!
    It is the little changes that produce the most important changes.
    Thanks for sharing!

    Feel free to visit my web-site multiple website hosting

    ReplyDelete
  16. Anonymous6:40 AM

    Can I simply say what a relief to uncover somebody who truly knows what
    they are discussing on the internet. You actually
    know how to bring an issue to light and make it important.
    A lot more people should look at this and understand this side of your story.
    It's surprising you are not more popular because you most certainly possess the gift.

    Feel free to visit my homepage; best home jobs Online

    ReplyDelete
  17. Anonymous4:29 AM

    Pretty nice post. I simply stumbled upon your blog and wanted to say that I've truly enjoyed surfing around your weblog posts. After all I'll be subscribing in your feed
    and I hope you write again soon!

    Feel free to visit my blog ... hilton head island vacation

    ReplyDelete
  18. Anonymous11:47 PM

    Hi, I do not realize that if you own your own
    website in RSS reader. Are you able to enable me please:)

    my blog: billigen urlaub

    ReplyDelete
  19. http://demenageur-paris-devis.fr/devismontemeuble.php
    http://demenageur-paris-devis.fr/devisgardemeuble.php
    http://demenageur-paris-devis.fr/devistransfertentreprise.php
    http://devis-demenagement-pascher.fr/devis-monte-meuble.php
    http://devis-demenagement-pascher.fr/devis-garde-meuble.php
    http://devis-demenagement-pascher.fr/devis-transfert-entreprise.php

    ReplyDelete
  20. All the components of the security framework such as authentication providers, authorization providers etc. emit audit events. If an audit provider is installed, then it receives these audit events and it can do whatever it wants with it. Obviously, the DefaultAuditProvider simply logs these events. locket necklace chile , locket necklace germany ,

    ReplyDelete