Basic Authentication, how to make it work?

Your input will be highly appreciated.
I am trying to make http basic authentication work in BEA Weblogic, and I am using
'examplesWebApp' as my sample program. So far, I can see the browser popup dialogbox,
but I always got authentication failure message after I gave login and password.
Steps which I did:
1. Start server - Start examples server which is weblogic700/samples/server/config/examples/startExamplesServer.sh
(I am on Sun's Solaris).
2. Start descriptor editing window -- In Management Console, select Deployment -->
Web Applications --> examplesWebApp, then start "Edit Web Appliation Deployment Descriptors.."
in another browser window.
3. Login Config - In the new window, select "Web App Descriptor", then "Configure
a new Login Config...", then select "Basic" for Auth Method , and type in "myrealm"
for "Realm Name".
4. Specify constraints - Select "Security Constraints", and then "Configure a new
Security Constraint". Use "MySecurity Constraint" as the display name, and use "MyWeb
Resource Collection" as Resource Name. Type in /* in the "Url Patterns" field.
5. Configure a security role - Select "Security Constraints", and then "Configure
a new Security Role". Type in Admin for "Role Name".
6. Configure a Auth Constraint - Select "Security Constraints" --> "MySecurity Constraint",
then "Configure a new Auth Constraint...". Click on Create button in Configuration
tab, then move Admin from Available to Choosen column, then click on Apply
7. Persist these changes and then restart the server
That's all what I did, and then I use 'weblogic/weblogic' as login/password to try
to login to http://localhost:7001/examplesWebApp/HelloWorld2. I can see the popup
dialogbox, but I always get a failure message. By the way, weblogic/weblogic (login/password)
always work for Management Console window.
The user "weblogic" is a user defined in myrealm, and it is also in Administrators
group. The role definition of "Admin" in myrealm has "Caller is a member of group
Administrators" as one of its conditions. So my understanding is that it should work,
but unfortunately it doesn't. I must miss some steps or part of my understanding
may not be right.
Hope somebody can give me some help.
Thanks.
Yunpeng Zhang

Hello Abhilash,
lets check what is the authentication selected for the Central Admin web applicaiton.
go to CA --> Appliaction management --> manage web applicaiton --> select the central admin web app --> on the top ribbon select "Authentication Providers".
here , verify under IIS authenticaiton settings section, which option is selected, if the basic authenticaiton check box is checked, please uncheck it and select "integrated Windows Authentication".
if this doesnt work, 
try unprovisioning and reprovisioning the CA usning command ..
psconfig.exe -cmd adminvs -unprovision
psconfig.exe -cmd adminvs -provision -port 0000 -windowsauthprovider onlyusentlm
REF: http://technet.microsoft.com/en-in/library/cc263093(v=office.14).aspx 
or ..
if you have other servers in the farm, you can just start the Central Admin service on other server and stop it on the current one from "Services on server
" option on CA.
let me know afterwards ...
Thanks, Noddy

Similar Messages

  • DVR with fms3 , how to make it work?

    Hi
    I am trying to look for documentation on how the DVR functionality is working in fms3. It seems that I need to implement som server-side scripting to make DVR even work. In Flash Live Encoder there is an option to Record DVR, but it when I press the button, all I get is:
    Thu Apr 30 2009 13:15:38 : Start DVR command received
    Thu Apr 30 2009 13:15:38 : Requested DVR command has been successfully issued to Primary FMS server for stream ob1stream
    Thu Apr 30 2009 13:15:38 : Primary - Network Status: NetConnection.Call.Failed error Method not found (DVRSetStreamInfo).
    Does anyone know how to make this work?
    Best Regards Niclas

    ok i'm back for a second......so uhhh....class is in session here is a basic example of a video encoder
    use this to stream your video while recording.....what makes it record?and not live? this line here:
      ns.publish("thefilename", "record");
    the second parameter.....to make it stream live without recording it to file you change it to "live"....the first parameter is what you name your file...
    after this you use your client player to connect to the same connection as outlined.....and to play the same file ..ie   stream.play("thefilename");
    package
        import flash.display.*;
        import flash.media.*;
        import flash.net.*;
        import flash.events.*;
        public class SimpleEncoder extends Sprite
            var nc:NetConnection;
            var ns:NetStream;
            var mic:Microphone;
            var video:Video = new Video();
            var camera:Camera;
            public function SimpleEncoder():void
                NetConnection.defaultObjectEncoding = 0;
                nc = new NetConnection;
                nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                nc.connect("rtmp://localhost/video/myvids");
            private function publishLiveStream():void
                ns = new NetStream(nc);
                ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                ns.client = this;
                camera = Camera.getCamera();
                mic = Microphone.getMicrophone();
                if (camera != null){
                    camera.addEventListener(ActivityEvent.ACTIVITY, activityHandler);
                    video = new Video();
                    video.attachCamera(camera);
                    ns.attachCamera(camera);
                if (mic != null) {
                    mic.addEventListener(ActivityEvent.ACTIVITY, activityHandler);
                    ns.attachAudio(mic);
                if (camera != null || mic != null)
                // start publishing
                // triggers NetStream.Publish.Start
                // "thefilename" is the name of the file you use after you connect to stream in client player   stream.play("thefilename");
                ns.publish("thefilename", "record");
                else
                    trace("Please check your camera and microphone");
                addChild(video);
            public function onBWDone():void
            private function netStatusHandler(event:NetStatusEvent):void
                trace(event.info.code);
                switch (event.info.code)
                    case "NetStream.Buffer.Full":
                        break;
                    case "NetStream.Buffer.Empty":
                        break;
                    case "NetConnection.Connect.Success":
                        trace("Congratulations! you're connected");
                        publishLiveStream();
                        break;
                    case "NetConnection.Connect.Failed":
                    case "NetConnection.Connect.Rejected":
                       // trace ("Oops! the connection was rejected");
                        break;
                    case "NetStream.Play.Stop":
                        break;
                    case "NetStream.Play.StreamNotFound":
                        trace("The server could not find the stream you specified");
                        break;
                    case "NetStream.Publish.BadName":
                        break;
                    case "NetStream.Publish.Start":
            private function statusHandler(event:StatusEvent):void {
                trace("statusHandler: " + event);
                trace(mic.activityLevel);
            private function activityHandler(event:ActivityEvent):void
                //trace(mic.activityLevel);
            public function onFault(e:Object)
                //trace(e.info);
                //nc.close();
        }//end class
    }//end package
    thelegendaryghost

  • Macbook pro to HDTV, video is working but audio is not working, how to make audio work as well

    Macbook pro to HDTV, video is working but audio is not working, how to make audio work as well

    If you use an HDMI cable, the audiostream will be integrated, so there will be sound when using an HDMI cable!
    Not necessarily.  That only works as stated if you have one of the most recent MBP's that has a built-in HDMI port.
    If the MBP only has a Thunderbolt or miniDisplayPort, you need an appropriate adapter cable and even if you use an HDMI adapter or cable to connect to your HDTV there is no guarantee it will carry audio.  You have to determine if your specific MBP model supports audio out through its miniDisplayPort or Thunderbolt output, and whether the adapter does likewise.

  • TS2634 I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I have the same problem.
    Two similar discussions:
    https://discussions.apple.com/message/23081658#23081658
    https://discussions.apple.com/message/23281391#23281391
    I have not yet seen any official response to the question: "Is the Apple AV Composite cable fully supported with 30pin connector devices upgraded with iOS7 - specifically ? - eg. iPad 2, iPhone 4, iPhone 4s"
    If it is not currently supported is that then due to a bug / oversight and in that case is it something that will be fixed in the near future?
    Please let us know what feedback you got from asking Apple support.

  • How to make buttons work in Interactive Adobe Forms

    Hi Experts,
    I am new to interactive form. Though i have worked in normal/non-Interactive form, i do not know how to make buttons work in interactive adobe forms using ABAP  (I don't know JAVA). Can any one help me out and walk me through to how to code in ABAP to make buttons work.
    Kind Regards,
    Sharat.

    Please refer to my earlier post ... You will get an idea
    Please refer to the below thread for detail solution
    Sample Interactive form example ?....urgent...
    Cheers
    Satya

  • Deleted itouch files using ifile from cydia. i restarted it but now it shows the apple logo and that is it... it doesnt respond. any ideas of how to make it work?

    I restarted my itouch using the home button and top button...it restarted but it only shows the apple logo and that is it.  I deleted all files from ifile and then it froze... any ideas of how to make it work again?

    Discussions of hacked ipods is not permitted here.

  • I have unlocked iphone 5.i tried to use it with tmobile.it shows full network but fails to activate and shows sim invalid.how to make it work?

    i have unlocked iphone 5.i tried to use it with tmobile.it shows full network but fails to activate and shows sim invalid.how to make it work?

    Who was your original carrier; did you call them to ask them to unlock your phone, and are you aware of what their unlock policy is (THey may only unlock for international sims and not US sims

  • HT201343 My mac is OS X 10.6. has not airplay. how to make it work?

    My mac is OS X 10.6. has not airplay. How to make it work?

    OS 10.6 is Snow Leopard, which does not support Air Play.  If you upgrade to OS 10.7 Mountain Lion (which is what you list in your category) then you may be able to use Air Play depending on the age of your computer. 
    See this document:
    http://support.apple.com/kb/HT5404

  • Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

    Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

    Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

  • How to make tablesorter work for GroupedColumns??

    Hi all,
    I imported the class of TableSorter.java to my project. It automatically picks up my normal columns, they all can be sorted.
    but the groupedColumns generated by the drag and drop table node into the design area wont pick up, even i set the property of "onAction" of the column to "Sort"(method) it wont sort the content for me.
    how to make it work?
    thanks

    hi!
    you can get lead selection in the action handler then inset your code for currentContextElement.
    wdContext.currentContextElement().getTableSorter().sort(wdEvent, wdContext.nodeXXX());
    thanks
    vishal

  • How to make rss work

    So, I'd like to get RSS working on my iMac. When I click on an RSS logo/button, I get the message "No associated application could be found." HUH??? Any idea on how to make RSS work??? In either Safari or Mail.

    RSS has been removed from Mail and Safari in Mountain Lion, so you will need to use a thrd party application such as Vienna.

  • How to make MDM work?

    Hi Guy,
    I'm newbie for MDM.I already intalled it on my machine(Window Xp)but dunno how to make it work.
    The installed components are MDM/Syndicator/Import server,Console/Import mgr/Data mgr/Syndicator.
    Do I have to install any component else?And Can you guy give me any guides/documents/Posts how to make it work.Cause I have to demo it next week but right now still blank about it...
    Thanks
    Parinya.

    Hi Jack,
    For Demo Purpose,
    1.Create few master records in R/3 Servers [ MM(Tcode MM01) /Employee(PA40) /Vendor(Xk01) /Customer(XD01) according to your MDM Repository(For Example "Products").]
    2.Extract those master datas from R/3 Servers.
    3. You will get the xml file of master datas.
    4.Open the import manager and import the xml file into  the MDM server.
    5.In Import manager ,you need to map the records[Source Fields(Imported records) VS Destination Fields(MDM repository)].
    6.Once you imported the record ,u can see the records in the MDM Data manager.
       We can Create/edit/Delete those records .
       We can merge the records for consolidation purpose.
       We can perform Data enrichments process   like Validation,Workflow,Assignments..etc.
    7.Once cleaned the Master records,it is ready to distribute to R/3 servers.
    8.Syndicator is used for sending data back to the R/3 servers
       Here also we have to do Mapping against R/3 servers.
       Using XI We can connect the R/3 Servers.
    Hope u will understand this.
    This is very simple example for MDC-MDH Scenario.
    For futher learning on how to create a repository/Enrich the mater datas, go through reference documents in the Service Market place.
    Best Regards
    Devaraj PK

  • How to make stylesheets work ???urgent

    Hi,
    How to make stylesheets work.I tried including the CSS file on the
    header
    <%@ include file="stylesheets.css" %>
    <%@ include file="stylesheets.inc" %>
    and both options does not work. can somebody tell me what is wrong here.
    Thanks
    jack

    Hi,
    below thing does not work ?? any idea ??
    <TITLE>IBMSWG - <%= childCategoryListBean.getCurrentCategory().getName() %></TITLE>
    <META NAME="Keywords" CONTENT=" passive, components">
    <META NAME="Description" CONTENT=" varistors">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="stylesheet" href="stylesheets.css" type="text/css">
    <script language="JavaScript">
    <!--
    function xxx
    Thanks
    jack

  • How to make Matlab work after loading Yosemite ?

    How to make Matlab work after leading Yosemite on a Macbook pro ?

    R2014b should work with Yosemite. What version do you have?

  • TS1292 i got an itune card after I hit the pin in it show invalid number, so how to make it work?

    I got an itune card after I hit the pin in, it show invalid number so how to make it work?

    See Here  >  iTunes Store: Invalid, inactive, or illegible codes
    http://support.apple.com/kb/TS1292

Maybe you are looking for

  • How to do it? Need help in syntax - new to Oracle syntax

    create or replace PROCEDURE "SP_SAMPLE_data" (prodName in VARCHAR2) AS where_criteria char(100); BEGIN if prodName = 'A' then I want to build the where criteria string as "product_name in ('iPod','iPad')" else I want to build the where criteria strin

  • How to use tacacs+ authentication to assign a group policy at login in Cisco ASA

    Hi everyone As title, anyone knows how it works? I only found it can work with LDAP authentication, but not in TACACS+ http://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/98634-asa-ldap-group-pol.html#noacce

  • HT4623 I now have broken links to apps after 7.1.1 update.

    I upgraded my ipad3 to 7.1.1 starting ota but had to finish through itunes.  I now have broken links to apps all over the place that just say waiting.  I can open them successfully through the app store but the link stays broken in the folder.  Fix?

  • Block corrruption in production database

    pl help me to detect and remove block corruption error find alertlog Archived Log entry 2717 added for thread 1 sequence 3027 ID 0x552bc791 dest 1: Mon Jul 05 08:30:52 2010 kewastUnPackStats(): bad magic 1 (0x110aaa2ad, 0) kewastUnPackStats(): bad ma

  • Page goes blank if I scroll down

    Hey guys, I am using iWeb '08 to create a basic webpage. For some reason, if I scroll down (in iWeb), the page will go completely blank (just shows the template background) with no items on the page. If I scroll back up to the top, the items reappear