Can I enable a role using a encrypted password ?

Sir,
I encrypt the role password using dbms_obfuscation package. Can I enable a role using such a password before decrypting it ?
Thanks a lot
Stephen

Stephen,
if this is a purely database related question, I suggest to try it on the database forum.
Frank

Similar Messages

  • Can I set a role using a encrypted password ?

    Sir,
    I encrypt the role password using dbms_obfuscation package. Can I enable a role using such a password before decrypting it ?
    Thanks a lot
    Stephen

    dbms_obfuscation does not create passwords. A password is not something you can decrypt ! At least until today (maybe tomorrow...).
    you can use the command of chris or simply
    alter role ROLEX identified by 'SWATCH';
    alter ROLE X identified by values '8E9A9A5413F0B5EE';

  • HT201270 Can I enable a hotspot using AT&T carrier on my iPad 3

    Can I enable a hotspot using AT&T carrier on my iPad 3

    This is true, AT&T does not have personal Hotspot for the IPad 3 ...
    I am wondering , the reason they do not have a personal Hotspot is due to the saturation of 4G LTE Wi Fi service so abundantly available.   It's just that I am trying to find out how to find and / or activate an AT&T WiFi Locator App for the IPad/IPad3, they have an App for the Android. 

  • Can't enable Windows Defender - used McAfee removal tool - Y580

    I can't enable Windows Defender.  I get the message "Windows Defender has been turned off and isn't monitoring your computer."  So I used the McAfee removal tool, then rebooted my PC, but I still can't enable it. 
    Perhaps my laptop came with security software other than McAfee and I just don't remember uninstalling it?  Does anyone know if an Ideapad Y580 comes with software other than McAfee?  Or has any idea how I can enable Windows Defender?
    TIA

    cmkurup wrote:
    I keep getting a message to use the action center where the link to enable defender is disabled. Please help.
    Hi cmkurup,
    I am unsure from your description exactly which setting for WD is disabled in the Action Center.
    Perhaps some screenshots will help me explain what I think the problem may be.Scroll down to Option 2 here: http://www.eightforums.com/tutorials/21962-windows-defender-turn-off-windows-8-a.html
    Review your settings, and see if that tutorial helps.
    ===============
    Oops, we posted at the same time. Glad you fixed your problem. I'll leave my info here for anyone else who needs it.
    ThinkPad: T530 / X1 Gen 2 / Helix - Yoga: Tablet 2 Pro (Win) / Yoga 3 Pro
    If you find a post helpful and it answers your question, please click the "Accept As Solution" button.
    Lenovo Advocate ~ I am not employed by Lenovo or Microsoft. I am a volunteer.
    Microsoft MVP - Consumer Security
    SpywareHammer

  • Does anybody know what encryption technique OIM uses to encrypt password

    Hi,
    We have a requirement where we need to decrypt the password of xelsysadm and connect to OIM and do the updates on usr.
    I need help in decrypting xelsysadm password. Please help of anybody have implemented the same in their project. What encryption method OIM uses to encrypt users password or how can we decrypt xelsysadm password?
    We are implementing a webservice which will call OIM API and will do the user updates. Inside the web service, we need to first connect to OIM DB. For that SOA component BPEL is calling the webservice. I need to implement the logic of decryting oim xelsysadm password here so that it can update user attributes in IDM DB table.
    I have the code but I dont know what value should I provide here in "DBSecretKey".
    com.thortech.xl.crypto.*;
    public class DecryptPassword
    public static void main(String[] args) throws tcCryptoException
    String s1 = tcCryptoUtil.decrypt("ANV/pHAm9zWfcyS0H40REg==","DBSecretKey" );
    System.out.println(s1);
    Plese help if anybody have implemented the same in their project.
    Regards,
    Kalpana

    Thanks Kuldeep for your quick response.
    I got the answer for my question. We just need to give OIM user id like xelsysadm to the code and the below code works fine.
    import com.thortech.xl.crypto.*;
    public class DecryptPassword
    ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    Hashtable env = config.getAllSettings();
    tcSignatureMessage moSignature = tcCryptoUtil.sign(oimUser,"PrivateKey");
    tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env,moSignature);
    Here Private key takes all environment variables including the password from OIM client and makes the connection. So, no issue of password encryption & decryption or specifying password in the code.
    Regards,
    Kalpana.

  • Can't unlock my phone using the correct password

    I can't unlock my phone and I'm using the correct password. I'm at my final attempt to enter the password or ALL of my personal information will be lost!! I just got off of the phone with customer service and was told basically I'm going to lose all my business contacts & personal notes that I entered this morning during my morning meeting and that it's my fault because I didn't back it up!!! How the heck can I back up my device while during my company meeting?? I'm the owner and I have many notes and etc on my device that I put there this morning!!! Now I lose money because I can't get my information. I'm so ticked off right now!!! Customer service wasn't helpful at all...he just blamed me for my problem!! Never mind the fact that the darn phone keeps turning itself on and off randomly!

    i went through that exact experience and what saved me was entering the password, which i knew, on my laptop with the BB connected

  • Can't enable external monitor using Sony DCR-HC90 as pass-through

    I have connected a Sony HC90 camera via firewire and have no problems capturing video (all the transport controls work fine). However, I can't get an external monitor to work through the camera. I have set Video Out to Firewire NTSC and believe I have configured the camera-to -TV connections correctly. When playing back in FCE, I get a canvas playback (should that be showing up?) but nothing on the camera output to the monitor (I also get nothing but a blue screen on the camera LCD).
    Is it possible the the DV interface to the camera is one-way with respect to video?
    Any help would be appreciated.

    Your suggestion solved it. It works if I chain the camcorder through the FW drive (I didn't realize you could chain firewire).
    Thanks for the help.

  • I can't sing In Icloud using my apple password. How can I set a new pasword?

    I sign out in my 'mobile me' now I can't sign in. I was trying with my Apple password but I still can't. how can I reset the pasword?

    Hello, kenshin69. 
    Thank you for visiting Apple Support Communities.
    You can reset your Apple ID password via the steps in the first article below.  If you do not have access to the email account or are not receiving the password reset link, see the second article.
    Apple ID: If you forget your password
    http://support.apple.com/kb/ht5787
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Cheers,
    Jason H.

  • Can the home app also use the saved passwords of the desktop Firefox version?

    I rely on the saved password feature of Firefox for my bookmark sites. Can those saved passwords also be transferred to the Home Firefox on my iPad and iPhone?
    Also is there a way to have the iPad version in a higher resolution?
    Thanks

    I'm sure I'm missing something obvious here. I've signed up for a Firefox Sync account and installed Firefox Home on my iPad - but I can't see any sign of saved passwords being synced. Where would they be on the iPad? They're not auto-suggested even in the browser embedded in the Home app.
    Ideally, I'd like them to be available directly in Safari too, but I realise that this might be harder to do.

  • How can I enable firmware password for normal boot?

    I've enabled firmware password protection, but it won't work unless you try to boot in other mode ( like holding c, d or option to boot from other drives ). However, what I want is a complete lock from opening my computer. Is there a way to enforce this?
    Best Regards

    Even if with the firmware password, you're not safe. There are ways to bypass both the firmware password and the login password. To be as safe as possible:
    1) Turn on the firmware password, as you have done
    2) Turn off auto-login, so that users have to log in to use the machine
    3) Set the login window to ask for name and password instead of displaying a list of users
    4) Use good encryption with a good password to protect any sensitive data
    or,
    4b) Don't ever let the machine out of your sight!
    Disk Utility can help with #4 through use of encrypted sparse disk images on which you store sensitive data. File Vault can also help by encrypting your entire user folder, but IMHO this is a bad idea unless absolutely necessary, as it complicates backups and means that any little disk corruption could trash your entire user directory (since it'll be stored in one big, encrypted file).

  • JMX - java -  how to connect on MBeans using encrypted password?

    Hi all,
    I am trying to write a java program which connect on weblogic JMX server:
    Map<String, String> jmxEnvMap = new HashMap<String, String>();
    jmxEnvMap.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,
    "weblogic.management.remote");
    jmxEnvMap.put(javax.naming.Context.SECURITY_PRINCIPAL, username);
    jmxEnvMap.put(javax.naming.Context.SECURITY_CREDENTIALS, password); //
    -- How to use the encrypted password value (ex. {3DES}1HQGOlfHha4rhNlqEOvcOQ==) indeed of its clear text value?
    -- How to use userConfigFile/userKeyFile files to connect on the mbeans server?
    Cyryl

    Hi all,
    I am trying to write a java program which connect on weblogic JMX server:
    Map<String, String> jmxEnvMap = new HashMap<String, String>();
    jmxEnvMap.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,
    "weblogic.management.remote");
    jmxEnvMap.put(javax.naming.Context.SECURITY_PRINCIPAL, username);
    jmxEnvMap.put(javax.naming.Context.SECURITY_CREDENTIALS, password); //
    -- How to use the encrypted password value (ex. {3DES}1HQGOlfHha4rhNlqEOvcOQ==) indeed of its clear text value?
    -- How to use userConfigFile/userKeyFile files to connect on the mbeans server?
    Cyryl

  • How to encrypt password in serverstopper class??

    Hi,
    I have configured the weblogic server as windows service and currently using boot identity file for username/pw to startup. To enable graceful shutdown of the server, i am using serverstopper class. But to facilitate changing of pw, i am reading the password from a property file in which the password is stored in plain text format. Is there a way to encrypt the password and configure serverstopper class to use the encrypted password or the serverstopper class can use boot identity file to shutdown? When i tried the serverstopper class without username/pw, i am not able to shutdown the service and getting anonymous user can't shutdown the service. Thanks in advance for your reply.
    Thanks,
    Kuppusamy.V.,

    Hi Kuppuswamy,
    Here is the simple "WLST interpreter script", I didn't have time so tried to keep java code as simple as possible(didn't follow good coding practices :-( ). Before executing this java program you need to generate keys. Below is the procedure for that.
    Assumption :-
    BEA_HOME :- /usr/VASVijay/bea10mp1
    WL_HOME :- BEA_HOME/wlserver_10.0
    1) Go to WL_HOME/server/bin and set the environment by executing "setWLSEnv.sh".
    2) Then execute below command which generate "userconfig" and "userkey" files in the directory you had execute this command
    java weblogic.Admin -adminurl t3://adminserverl:port -username <adminusername> -password <adminpassword> -userconfigfile userconfig -userkeyfile userkey -STOREUSERCONFIG
    This command prompts for "Y" or "N", select "Y", then creates two files "userconfig" and "userkey"
    3) Validate above keys are correct, execute below command
    java weblogic.Admin -adminurl t3://adminserverl:port -userconfigfile userconfig -userkeyfile userkey -GETSTATE
    Above command should display "RUNNING".
    4) Compile below java code and execute. Change the server name(VASMS1) in "shutdown('VASMS1','Server') according to your server name.
    import java.util.*;
    import weblogic.management.scripting.utils.WLSTInterpreter;
    import org.python.util.InteractiveInterpreter;
    public class VASServerShutdown
    static InteractiveInterpreter interpreter = null;
    VASServerShutdown()
    interpreter = new WLSTInterpreter();
    private static void connect()
    StringBuffer buffer = new StringBuffer();
    buffer.append("connect(userConfigFile='/usr/VASVijay/VASDomains/VASNewDomain/userconfig',userKeyFile='/usr/VASVijay/VASDomains/VAS
    NewDomain/userkey',url='t3://localhost:8001') \n");
    buffer.append("print(cmo)");
    interpreter.exec(buffer.toString());
    public static void serverShutdown()
    StringBuffer buffer = new StringBuffer();
    buffer.append("shutdown('VASMS1','Server')");
    interpreter.exec(buffer.toString());
    public static void main(String args[])
    new VASServerShutdown();
    connect();
    serverShutdown();
    Let me know if you have any issues or you require something additional.
    Thanks.
    Vijay Bheemineni.
    Edited by: VAS Vijay Bheemineni on Nov 3, 2009 9:18 PM

  • How to encrypt password with hash function in Java?

    Hello, everybody!
    I will need to store user passwords in a database, but for stronger security I want to store these passwords hashed, so I know I will need a column for the password and for the salt value.
    So, I'd like that you indicate me a very good article or tutorial (preferable from Sun) that shows me how to use Java to encrypt and decrypt passwords with hash. It doesn't necessarily need to deal with database. I can implement this part myself after seeing how Java manage encryption with hash functions.
    Thank you very much.
    Marcos

    I will tell you more precisely what I want to get better for you to help me.
    As I said I implemented in .NET what I need to implement in Java now. In my
    database I have a table with this structure (I omitted that columns that are not
    necessary to our discussion):
    CREATE TABLE EMPLOYEES
    ID NOT NULL PRIMARY KEY,
    PASSWORD VARCHAR(40), -- password encrypted
    HASH_SALT VARCHAR(10) -- salt value used to encrypt password
    So, in the table I have a column to store the password encrypted and a column to
    store the salt value.
    Below is a little utility class (in C#) that I use to generate the salt and
    the hashed password.
    public static class PasswordUtilities
        public static string GenerateSalt()
            RNGCryptoServiceProvider encoder = new RNGCryptoServiceProvider();
            byte[] buffer = new byte[5];
            encoder.GetBytes(buffer);
            return Convert.ToBase64String(buffer);
        public static string EncryptPassword(string password, string salt)
            string encryptedPassword =
                FormsAuthentication.HashPasswordForStoringInConfigFile(
                password + salt, "SHA1");
            return encryptedPassword;
    }As you can see, the class is fairly simple. It only has two methods: one to
    generate the salt value that will be used to encrypt the password and another
    one to encrypt the password. The method HashPasswordForStoringInConfigFile of
    the FormsAuthentication class is what really hash the password with the salt
    value. This class belongs to the .NET library, so we can't see its source code,
    but it doesn't matter for our discussion as I know that we can implement
    something similar in Java.
    Below is a little sample code showing the use of the utility class above to
    encrypt a password.
    public class Encrypt
        public static void Main(string args[])
            string password = "Secret";
            string salt = PasswordUtilities.GenerateSalt();
            string encryptedPassword = PasswordUtilities.EncryptPassword(password, salt);
            // now I store 'encryptedPassword' in the PASSWORD column and 'salt'
            // in the HASH_SALT column in the EMPLOYEES table.
    }To verify if a password is correct I can use the code below:
    public class VerifyPassword
        public static void Main(string args[])
            string password = GetPasswordFromUser();
            // Let's assume that employee is an instance that corresponds to a row
            // in the database and the properties HashSalt and Password correspond
            // to the HASH_SALT and PASSWORD columns respectively.
            Employee employee = GetEmployeeFromDatabase(1);
            string salt = employee.HashSalt;
            string encryptedPassword = PasswordUtilities.EncryptPassword(password, salt);
            bool passwordMatch = employee.Password.Equals(encryptedPassword);
            System.Console.WriteLine(passwordMatch);
    }The only thing that interest me in this discussion is the PasswordUtilities class.
    As you saw its code is in C#, using the .NET framework libraries.
    What I want is to have this same little class coded in Java, to generate the salt
    value and to encrypt the password passed in using salt value generated. If you could
    help me to do that with articles that have what I want or with code that already do
    that I would really appreciate.
    Thank you in advance.
    Marcos

  • Oracle user'd encrypted password (Oracle 10g)

    Hi Guys,
    Which table can I check for oracle user's encrypted password. I need to use the same password on the application's configuration file for connection to the database.
    Thank you.

    SQL> desc user$
    Name                            Null?    Type
    USER#                            NOT NULL NUMBER
    NAME                            NOT NULL VARCHAR2(30)
    TYPE#                            NOT NULL NUMBER
    PASSWORD                             VARCHAR2(30)
    DATATS#                       NOT NULL NUMBER
    TEMPTS#                       NOT NULL NUMBER
    CTIME                            NOT NULL DATE
    PTIME                                  DATE
    EXPTIME                             DATE
    LTIME                                  DATE
    RESOURCE$                       NOT NULL NUMBER
    AUDIT$                              VARCHAR2(38)
    DEFROLE                       NOT NULL NUMBER
    DEFGRP#                             NUMBER
    DEFGRP_SEQ#                             NUMBER
    ASTATUS                       NOT NULL NUMBER
    LCOUNT                        NOT NULL NUMBER
    DEFSCHCLASS                             VARCHAR2(30)
    EXT_USERNAME                             VARCHAR2(4000)
    SPARE1                              NUMBER
    SPARE2                              NUMBER
    SPARE3                              NUMBER
    SPARE4                              VARCHAR2(1000)
    SPARE5                              VARCHAR2(1000)
    SPARE6                              DATE

  • Can my iPad3 use WSP encrypted wi fi?

    I am going to visit a friend's house. When I asked for his wi fi key/password he gave me a long, complex multi digit key. I queried this because WPA and WPA2 encryption enables the use of simple self chosen passwords. He explained that in France, where he is, WPS encryption is used (even required) and it is necessary to use the predefined long, complex key to connect to the home wi fi network.
    My iPAD settings only list WEP, WOA, WPA2, and WPA Enterprise/WPA2 Enterprise.
    Will I be able to connect to his home wi fi. If so, how?

    According to his you can:
    http://www.ehow.com/how_8785241_sign-wifi-ipad-password-forgotten.html

Maybe you are looking for

  • How to Display Values in Format [hh]:mm:ss in Xcelsius chart

    Hello, I have a Situation where i am Getting the Data Through Web Services into Xcelsius. And then based on a certain criteria i have to Vlookup the Data and Display the Data. But the Data is in the Format [hh]:mm:ss  Example:-  Avg Time - 30:45:12 S

  • My touchscreen on my iPhone stuffs up

    My iPhone now (all of a sudden) will have the Screen temporarily not working, it will work and then for a short period of time I can't type Sometimes putting it on sleep And back again helps but it just stops working everything Is this something that

  • [svn:fx-4.x] 16006: integrate latest Flash Player playerglobal.swc:

    Revision: 16006 Revision: 16006 Author:   [email protected] Date:     2010-05-10 13:15:11 -0700 (Mon, 10 May 2010) Log Message: integrate latest Flash Player playerglobal.swc: Play_10_1_r53_38/DebuggerRelease  - Win -This was missed during the player

  • Document linked to a Message

    Hi Experts, From which table I will get the information about the document "(Invoice / Payment etc)" attached to a message/alert and how can I retrieve the document? Scenario : I wrote a query to show alert , But it displays the same documents repeat

  • Related to MSC2N transaction

    HI , When I am running the transaction MSC2N , the for a particular material plant and storage location combination im getting the following error : *Inconsistency in classification data* *transaction terminated..* can you pls help me out ..I ahve de