How do I find out user and domain names in WL7.0 security

Hi,
I'm moving to WL7.0 security and now weblogic.security.acl.Security.getCurrentUser()
that worked in CompatibilityMode throws NullPointerException. What is the alternative
to deprecated weblogic.security.acl.Security in the new Weblogic security framework?
Also, how can I find the current domain name?
Thanks,
Michael.

"Michael Bogomolov" <[email protected]> wrote in message
news:3ec515ae$[email protected]..
>
Hi,
I'm moving to WL7.0 security and nowweblogic.security.acl.Security.getCurrentUser()
that worked in CompatibilityMode throws NullPointerException. What is thealternative
to deprecated weblogic.security.acl.Security in the new Weblogic securityframework?
>
See getCurrentSubject in
http://e-docs.bea.com/wls/docs81/javadocs/weblogic/security/Security.html
getCurrentUser only works in compatibilty mode

Similar Messages

  • How can I find out user id who has deleted payment order

    Issue : After payment run, the required information has been sent as Idoc to the bank. So, we know the payment order number.   We observed that another payment run also has picked up this vendor invoice and made payment.
    Usually Payment Sent will be marked X until the related information comes in the form of bank statement upload and this amount gets cleared.
    We noticed that bank has made two payments for this amount to this vendor on different dates :- a) when the payment order supposed to be paid as per the payment terms and b) when second paymnet run paid the amount [ this time it got paid directly as there is long due amount ].
    From SAP APP angle, both the payment run worked fine and also the calcaltion of payment terms as well.
    So, we come to conculsion that someone has deleted the payment order from the system. Thats the reason this invoice got picked up by 2nd APP and paid the amount.
    Where we could not find the related entry in REGUH/REGUP tables for this payment order and no document changes.
    Question: How can I find out user id who has deleted payment order. Appreciate any clue / answer for this issue please.
    Thank you
    Sri

    Hello,
    Not sure about deletion logs. =/
    Idea:
    What if an error occured during the first payment? Have you checked sm13 to check if any update termination occured in the payment program?
    Regards,
    Renan

  • How can I find out those files whose name has space character?

    Hi
    How can I find out the files whose name has space character in a whole file system?
    Thanks
    Jerry

    thank you all
    I can use this command to find out like
    $find ./ -type f -exec ls -1 {} \; 2>/dev/null | grep " "
    ./space in name
    while, I modify above a little to find out a spcific file systems like below:
    $find /bbj* -type f -exec ls -1 {} \; 2>/dev/null | grep " "
    /bbj14/appl/oracle/prdrep/S_STATIC_TAB_05.dbf
    --while, I didn't see any space character in file name "S_STATIC_TAB_05.dbf"
    what is wrong?
    thanks

  • How can I find the currently logined domain name on Windows??

    Dear,
    I've a program that query some user account information from A.D.
    But I don't want to hard code anything.
    I've read some previous post about using LDAP, and using DNS queries to found all LDAP server of A.D.
    But how can I get the A.D. domain name in Java?
    for example
    ldcp://_ldap._tcp.xxxx.yyyy
    I want to get "xxxx.yyyy" from the logined user account. It is possible in Java.

    You coud use the NTSystem class to derive the NetBIOS domain name, however without doing some gymnastics it isn't easy to derive the fully qualified domain name. import java.io.*;
    import com.sun.security.auth.module.NTSystem;
    class NTDomain {
         public static void main(String[] args) {
              NTSystem system = new NTSystem();
              String domain = system.getDomain();
              System.out.println("Domain: " + domain);
    }The only other alternatives could be to check the domain suffix of the user principal that was authenticated via Kerberos ....
    lc = new LoginContext(searchkrb5.class.getName(),new SampleCallbackHandler());
         lc.login();
         catch (LoginException le) {
              System.out.println("Logon failed: " + le);
              System.exit(-1);
         System.out.println("Authenticated via GSS-API");
            System.out.println("User: " + lc.getSubject().getPrincipals().toString); however I think that you still have to specifify the Kerberos realm in the apps configuration file.
    Another alternative could be to make assumptions about the machines hostname, however one day an assumption will always be proven wrong, (eg. The machine's DNS domain name does not need to match the Active Directory domain).
    Unless there is a Java API to read the Windows registry or extract Kerberos ticket information from the WIndows Kerberos ticket cache, you may be kind of stuck.

  • How do i find out what is behind names like"artist - track1"

    hi guys,
    i'm new to itunes and i'm using it since a week or so, its simply amazing. the bad side is that i recognized that almost 20% of my music has no id3tags. So itunes list them with names like "artist - track4 - album" and so on. but in my explorer view there are still named, so how can i find out which specific file is meant with "artist - track4 - album"??? i mean, is there any way to get a information about the place where the file was before itunes imported and regrouped it in its library??? in the moment i've about 100 tracks wich are named "artist - track4 - album" for example.
    thx and greetz
    André

    i mean, is there any way to get a information about the place where the file was before itunes imported and regrouped it in its library???
    Nope. Short of playing it and recognizing the song, that is.
    This is why it's a good idea to make sure everything is tagged before letting iTunes reorganize it all.
    You can do a Get Info on a track in iTunes and look at the first tab to see what file it's referring to (next to Location:). But that may not be useful.

  • HT204053 How do I find out what my answers are to my security questions

    How do I find out the. Answer my security questions

    Welcome to the Apple Community.
    Start here (change country if necessary) and navigate to 'Password and Security', reset your security questions using the link provided, you will receive an email to your rescue address, use the link in the email and reset your security questions.
    If that doesn't help, you don't receive a reset email or you don't have a rescue address, you should contact AppleCare who will initially try to assist you with a reset email or if unsuccessful will pass you to the security team to reset your security questions for you.
    If you are in a region that doesn't have international telephone support try contacting Apple throughiTunes Store Support.

  • How to change the full host and domain name on OS X Leopard...

    I recently bought an iMac, and I'm trying to configure it for my network. The question I have is, how can I change the host name and domain name from Skuld.local to skuld.tolharadys.net?
    After mucking around with a few searches on Google, I've gotten the domain name to stick since running domainname returns tolharadys.net. Also I can change the hostname as reported by 'hostname' temporarily by running 'hostname skuld.tolharadys.net' in Terminal.app. However, this isn't persistent after reboots. Ideas are welcome.

    You would need a DNS server on your network configured to answer authoritatively for that particular subdomain.

  • How I can find out all menu item name at runtime from forms 9i ?

    Hellow all
    we can find out all the block name and item name in forms at runtime.
    but
    can I find out all the menu item at runtime without knowing the name of menu item.
    I want disable some menu item at runtime.
    From
    Chirag Patel

    Hi Frank
    I hope the solution from u
    please.......
    are u got my problem ?
    from
    Chirag Patel

  • How can i find out a caller's name and surname?

    Hi,  recently i  had a miscall and i would like to find  out who has called me.  is there a service who reveils the caller ID?   thanks

    Convert the dates to seconds since the Epoch with http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html#getTime() and check for overlapping intervals.
    Harald.
    Java Text Crunching: http://www.ebi.ac.uk/Rebholz-srv/whatizit/software

  • Detecting user and domain name

    I am developing an application that will have an autologin option based on OS current logged user.
    How do I determine what the domain name is in Windows?
    Thanks

    This link has the native windows code to retreive domain name:
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;111544
    Use JNI.

  • How do you find out if the domain profile is active in the firewall?

    A script needs to determine if a firewall profile is active.  Does anybody know of a function to do this?
    The problem I a trying to solve is when a server boots it may not activate the domain profile.  It happens if the server is booted before a domain controller comes on line or if and adapter team is in use.  To solve this, I run a script at boot
    up that waits and then restarts the nla service and typically the domain profile will become active.  However it isn't fool proof.  I want to modify the script to verify that the domain profile has become active.  However, I cannot find a function
    to determine if the domain profile is active. Can someone help with this?

    Are you using something with PowerShell 4.0 that has the NetSecurity module? The second part of that question will be based on the version of the Windows Operating System. To check, try this: Get-Module -Name NetSecurity. If you do, you can based your logic
    around the Get-NetFirewallProfile and, perhaps, the Set-NetFirewallProfile cmdlet.
    Get-NetFirewallProfile -Name Domain
    Get-NetFirewallProfile -Name Domain | select Enabled
    Get-NetFirewallProfile -Name Domain | select -ExpandProperty Enabled
    (Get-NetFirewallProfile -Name Domain).Enabled
    To enable (or, activate) the profile, you can pipe your Get- cmdlet to the Set- version of the cmdlet.
    Get-NetFirewallProfile -Name Domain | Set-NetFirewallProfile -Enabled:True
    Without access to this version of PowerShell and this module, you'll either need to use netsh and/or WMI. I haven't checked myself, but I wouldn't be surprised if you can find something in the
    Gallery.

  • How do i find out the node number/name from the weblogic API  ?

    Hi
              I have written an application component that writes to a file. When clustered, i need to make the filename correspond to the managed server / node # inside the cluster, as i cannot afford to let each jvm hence each node write to the same file. Therefore on startup i would like to interrogate the weblogic server and ask it the node # the application is deployed in, so that it can create a unique file name - BASED upon the node number.
              Any ideas anyone ?
              Thanks
              James

    You may want to use WebLogic JMX api to do that. Using MBeanHome, you will get the name of the server on which your application gets invoked.
              Regards,
              Vishwas

  • HT4208 How do you find out what ur answers are for the security question

    Neeed help my apple Id is locked and don't remember my answers to the security questions.

    Welcome to the Apple Community.
    Contact Apple through iTunes Store Support, and explain that you have forgotten your 3 security questions, that you can reset your password, but doing so doesn't reset your security questions.
    Explain that after resetting your password, you are still asked for the answers you have forgotten, before you can gain access to My Apple ID > Manage your account > Password & security, which is where you need to be to change your answers.
    Remember, support will receive hundreds, if not thousands of requests per day, some from people trying it on, others with little explanation and others that are written extremely poorly. Take the time to explain your situation properly, be precise and concise, brief but comprehensive.

  • How can i find  out field for a particular component type

    hi,
    how can i find out for particular component name is belongs to this field.....that means REF_DOC_NO componemt is belongs to xblnr field ..../.if we know only component type ...how to find the field...
    plz tell me
    thanks&regards,
    kalyan

    keep the cursor on component
    press F1
    select technical information
    you will find the field name and table or structure name
    regards
    sateesh

  • How do I find out how much money I owe iTunes!

    My kids tried ordering from iTunes how do I find out what and how much? So I can get my account settled?

    I think you're asking which iPhone (one of many using the same Apple ID) has made which specific purchases from the iTunes Store.
    The answer is you cannot do that.
    Presumably one Apple ID serves one person.  All purchases made by that Apple ID are agglomerated (combined) into one purchase record.

Maybe you are looking for

  • Print an ALV report in A3/A4

    How to print the output of an ALV report in A3 and A4 size. The number of columns in the report are 49. Also the headings of the columns is too long, is there any way to word wrap these headings in to multiple lines?

  • DAC - Error loading shared library [pmwrtrel.dll] in the dynamic lib mgr

    Hi, While executing ETL load on a Windows 32-bit machine with DAC v10.1.3.4.1, we were able to execute 24 tasks out of 317 successfully. Then it fails with the following error message: PRE-SESS> TM_6232 Error loading shared library [pmwrtrel.dll] in

  • Making 4:3 look good for both 4:3 and 16:9 screens

    Hi, Up until this point I have lived my life in a pleasant 4:3 world. I shot 4:3 footage, edited 4:3 in FCP, sent 4:3 to DVDSP, checked my work on a 4:3 television, and mailed 4:3 DVDs to my customers. My understanding from playing around with a frie

  • IOS devices do not appear in iTunes 11

    Hello - I have been one of those who have resisted the new itunes 11 since release. However, I recently changed my Mountain Lion installer from the original 10.8 to 10.8.3 that Apple provides - and during a recent system reinstall, wound up with itun

  • Webservice call from Abap

    Hi <u>ABAP:</u> I wish to know ,Do we need to configure SNC for calling an Abap side webservice using X509 certificate ?I m calling webservice from Abap.I created a certificate through VisualAdministrator and asign it to R/3 in STRUST transaction.Now