Replace defaultAdjudicator with a new Adjudicator via WLST

Hello together,
we are using wlst online to configure the security realm of a WLS domain (WLS 8.1 SP4).
The problem we actually have is how to replace the defaultAdjudicator with our own one.
I have tested the following commandlines to create the new Adjudicator and set this new one as the active adjudicator but this causes a general security problem which can only be solved by restoring the config.xml.booted to config.xml.
# The realm name in the weblogic server
realmName = 'Security:Name=myrealm'
realm = ObjectName(realmName)
# The defaultAdjudicator in the wls
defAdjudicatorName = 'Security:Name=myrealmDefaultAdjudicator'
defAdjudicatorProv = ObjectName(defAdjudicatorName)
newAdjudicator1 = 'NewAdjudicatorName', 'newadjudicatorclass'
newAdjudicatorObj1 = realmName + newAdjudicator1[0]
newAdjudicatorProv1 = ObjectName(newAdjudicatorObj1)
create (newAdjudicatorObj1, newAdjudicator1[1])
mbs.setAttribute(realm, Attribute('Adjudicator', jarray.array([newAdjudicatorProv1], ObjectName)))
mbs.setAttribute(newAdjudicatorProv1, Attribute('Realm', realm))
print " DONE: Created Adjudicator " + newAdjudicator1[0]
How can i replace the defaultAdjudicator with a new one?
Thanx for the help & many greetz,
floro

Hello Flora,
Just realised that Adjudicator is not an array type. So you should do something like,
mbs.setAttribute(realm, Attribute('Adjudicator', newAdjudicatorProv1))
mbs.setAttribute(newAdjudicatorProv1, Attribute('Realm', realm))
hope it helps,
-satya

Similar Messages

  • I'm not able to pair my iPad with my Logitech mini-Boombox. I was able to do this on my original iPad. I was having a problem on an unrelated matter, and the Apple store replaced it with a new device. Previously, all Bluetooth devices worked fine;

    I'm not able to pair my iPad via Bluetooth with my Logitech mini-Boombox. I recently brought my iPad to the Apple Store for an unrelated problem, and they replaced it with a new device. The old device had no problem pairing with any of my Bluetooth devices. I'm only haveing the problem with my new device. I was able to pair it with my Apple wireless keyboard, but not the mini-Boombox. I think I've done everything that I've read in other forum posts: I've toggled the Bluetooth setting on and off; I've reset the iPad a couple times; I've turned off and on the mini-Boombox; I've recharged the mini-Boombox. What am I missing here, and how can I fix this?

    Hi ecb1999,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Click on the link to see more details and screenshots. 
    iOS: How to troubleshoot Bluetooth connections
    http://support.apple.com/kb/TS4562
    Cheers,
    - Judy

  • My 5th gen. ipod died and they replaced it with a new one, but I'm having problems getting the music. An error message says that its not authorized on this computer. The ipod is synced but it wont let me add what music I want.

    My 5th gen ipod died and apple replaced it with a new one. I synced it up to the itunes that I already have on my computer but an error message keeps coming up telling me that its not authorized on this computer. What do I do?

    About iTunes Store authorization and deauthorization
    iPod: Troubleshooting songs and audiobooks that won't play
    iPod does not play content purchased from the iTunes Store

  • HT5925 I have an iCloud email on my iPhone that is now old as hacked and unused. I can't access anything as it asks for that account info and I don't remember the password etc. How do I delete it and replace it with my new iPad email? ! Help..

    I have an iCloud email and Yahoo email on my iPhone that is now old as hacked and unused. I can't access anything as it asks for that account info and I don't remember the password etc. How do I delete and replace it with my new iPad email? ! Help..

    Welcome to the Apple community.
    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact AppleCare(or Apple ID Support), upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.

  • Hi,I have made a new Apple ID and logged in on my phone, on settings, but the app store is still using my old one. How do I get rid of the old ID and replace it with the new one?

    Hi, I have made a new Apple ID and logged in on my phone, settings > iTunes & app stores, but the app store is still using my old Apple ID. How do I get rid of the old ID and replace it with the new one?

    HAYDONISRAD wrote:
    ...  Maybe I'll stick with hers for now :-)
    OR...
    You could use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    From Here   http://support.apple.com/kb/HE37
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?

  • My ipod touch broke then replaced it with a new one. I already dloaded iOS5 on the old one. When I connected my new unit it says it won't load the previous back because the new one is not up to date... Do I really have to download iOS5 again?

    My ipod touch broke then replaced it with a new one. I already dloaded iOS5 on the old one. When I connected my new unit it says it won't load the previous back because the new one is not up to date... Do I really have to download iOS5 again?

    Yes, you have to update the iPod in order to retore from backup. The iOS on the "new" has to be aequal to r greater than on the iPod from which the backup was made.  The iOS downloads are unique to an iDevice and model (the one for a 3G iPod will not work for a 4G iPod).

  • I just got My iPad 2 for a few days ago but why the charger is not working, how they are going to replaced it with a new one ? ?

    Please be informed me... with my battery or charger problems....
    my iPad 2 charger is not working....
    since I've got it for five days ago, I only use it for three times....
    Are they going to replace it with a new one ?

    Most likely yes. There's a manufacturers warranty against defects for a year. I'd contact your place of purchase and talk to them about it.

  • How do I remove my apple id from my iPad and replace it with a new one

    How do I remove my Apple ID and replaces it with a new one on my ipad

    Have you changed your email?   And need to change your Apple ID as well?
    Before you go further.   Please READ and understand these articles from Apple about your Apple ID. 
    http://support.apple.com/kb/HT2204
    http://support.apple.com/kb/HT5621
    If you are giving the I
    Pad to someone else, you need to turn off find my iPhone and erase the iPad, or delete it from your cloud account.
    If there is another reason , I didn't mention, please fill us in so we can give you the right answer, rather than guess and cause you more headaches.

  • My macbook pro got so many scratches and dents, i just want to know that how i can replace it with the new one?

    my macbook pro got so many scratches and dents, i just want to know that how i can replace it with the new one?

    Sell the Old one... Buy a New one...

  • Provide list of the fixes with the new upgrade via OTA

    Hi,
    Can you please start providing a list of all the fixes available with the new upgrade via OTA. The list can be displayed in the System Update section along with the latest upgrade.
    This will give the users an idea on what all changes are are available with the fix and will set their expectations accordingly.

    Good idea! Thanks for you suggestion! I will bring your suggestion to our manager for further consideration.

  • My company runs Adobe Acrobat XI on a PC.  Our PC went down and we replaced it with a new one.  We need Acrobat XI on it and have bought it already.  How can I get it put onto our new computer?

    My company runs Adobe Acrobat XI on a PC.  Our PC went down and we replaced it with a new one.  We need Acrobat XI on it and have bought it already.  How can I get it put onto our new computer without having to buy it again?

    Hi chrisb75729216,
    I checked with your account but could not find any order history so you might be using another email address on forums.
    You will first need to deactivate Acrobat from old machine and then install Acrobat on the new machine by activating with the same serial number.
    Please download Acrobat XI pro from here: Other downloads
    If you have single user license, then remember that the software can be activated on maximum two computers, say your desktop at work and laptop at home.
    Regards,
    Anubha

  • Replace B2BUA with a new one, without loosing transfer states

    I'm having some issues with replacing my B2BUA for transfer purpose.
    I have a link between 2 participant by using a B2BUA. I want to transfer one of these participants into another B2BUA, and that new B2BUA will repaces the previous one. I can accomplish this succesfully without any troubles, by using self-transfer and B2BUA
    utilitize.
    But when the link is established in B2BUA between two participants, when creating a new B2BUA, the participants can still talk untill the new B2BUA is established (this is the issue).
    I doesn't loose the link of participant in Call leg 1, since I'm using a Self-transfer leaving the call state as incoming. But if I call BeginTerminate() of the 1st B2BUA while establishing the 2nd B2BUA, then I'll loose my transfer states of the first Call,
    and I'm using this event state to tell me when a transfer is succesfully done.
    How can I cancel the stream between the two participants in the first B2BUA, as soon as I begin to establish the second B2BUA??

    If either leg of the B2B is terminated, the B2B call is terminated. In a transfer scenario the leg of the participating in the self transfer will end before the transfer itself is completed, leading to an OperationFailureException on the EndTransfer. 
    There is really no way to avoid this, so you should just expect it.
    Here is a snip from one of my test programs:
    private void InitiateSelfTransfer()
    Console.WriteLine("Initiating self-transfer on p2p call...");
    //Copy inCall since we will replace it with the new inCall prior to the completion of the transfer.
    AudioVideoCall p2pOldInCall = (AudioVideoCall)inCall;
    //Pass a reference to this instance in the Context so the new inbound call can reattach to this session.
    p2pOldInCall.ApplicationContext = this;
    p2pOldInCall.TransferStateChanged += new EventHandler<TransferStateChangedEventArgs>(oldInCall_TransferStateChanged);
    CallTransferOptions cto = new CallTransferOptions(CallTransferType.Attended);
    //Execute the transfer.
    Console.WriteLine("Beginning Self-Transfer...");
    try
    p2pOldInCall.BeginTransfer(p2pOldInCall, cto,
    ar =>
    Console.WriteLine("Self-Transfer Completed...");
    try
    p2pOldInCall.EndTransfer(ar);
    Console.WriteLine("Self-Transfer was successful!");
    SendTransferNotification(200, "Succeeded at self-transfer");
    //In this scenario the BackToBackCall seems to always terminate the call before we are made aware the transfer is complete.
    //This operation has to execute as Attended, so we simply catch the exception generated, it doesn't seem to cause us any problems.
    catch (OperationFailureException)
    Console.WriteLine("Exception ignored on self-transfer...");
    SendTransferNotification(487, "Call already terminated...");
    catch (RealTimeException ex)
    SendTransferNotification(503, "Failed on self-transfer of inbound leg");
    Console.WriteLine(ex);
    , null);
    catch (InvalidOperationException iOpEx)
    Console.WriteLine("Invalid Operation Exception: " + iOpEx.ToString());

  • Yesterday I've bought the old mac book air, will Apple accept a return and replace it with the new one?

    Yesterday I've bought the old mac book air, will Apple accept a return and replace it with the new one?

    Hi micjhal,
    Call them up! If you look on your receipt it'll indicate you have 14-days to return it (if bought at a retail store) and 30-days if bought through the online store.

  • HT201328 My iPhone is from Japan and I want to activate it here in the Philippines because I'm living here. I have lost the original SIM from Softbank and replaced it with a new SIM card from Globe. How can I use the SIM card from Globe?

    My iPhone is from Japan and I want to activate it here in the Philippines because I'm living here. I have lost the original SIM from Softbank and replaced it with a new SIM card from Globe. How can I use the SIM card from Globe?

    You cannot. The iPhone is locked to Softbank, and only they can unlock it. Problem is that Softbank will NOT unlock the phone, as they do not offer iPhone unlocking.
    Buy an iPhone in the Phillipines.
    PS Before you go on a rant at Apple, be aware that Apple does NOT unlock phones and they do not set unlocking policies. The carriers (Softbank in this case) set the unlocking policy.

  • Hi! i bought my earpods several months ago and something's wrong with the control, i want to replace it with a new pair but i lost my receipt

    hi! i bought my earpods several months ago and something's wrong with the control, i want to replace it with a new pair but i lost my receipt

    Image persistance on Apple displays:
    http://support.apple.com/kb/HT5455
    Apple say this about LCD screen burn in:
    http://support.apple.com/kb/HT2807
    which includes suggestions for curing that effect.
    Alternatively:
    How to fix screen burn and/or stuck pixels on an LCD monitor:
    JScreenFix
    http://www.jscreenfix.com/basic.php

Maybe you are looking for

  • Script to open and close CD and DVD

    Hi everyone, My MAC has an internal CD burner and an external DVD burner. I would like to know if it could possible to create two scripts that, by clicking , it would open or close (depending of the status) my CD and another one for my DVD burner. I

  • NullPointerException while running the page from jdeveloper

    Hi , I am getting following Exception while Running the OAF page in Jdeveloper after downloading from the server which is working correctly (in the instance). Can you please help to resolve this exception. Error Page Exception Details. oracle.apps.fn

  • Robohelp 10 output  in Firefox and Chrome

    Hi, We have recently purchased Robohelp 10 and generated output in Webhelp Pro. Then we tried to integrated with our applications locally. We found it is not working properly in Firefox and Chrome. We have gone through the javascript code and found t

  • Video iPod and 3rd Generation Docks

    I have a 3rd Gen iPod and am considering a video ipod. Will my 3rd Gen. Docks work with it? Thanks

  • Programmtically Setting View Criteria in ADF Query Component

    I have created two view criterias for a View Object and used ADF Query component for searching. User can select any one of the View Criteria from "saved search" in ADF Query component. but i want to set it programmatically based on some business rule