How to encode a password ??

Hi,
How to encode (and decode after) a password, in Base64 for example ? Is it possible to do that automatically with Java ??
Thanks in advance
Steve

I have finding how to encode but i don't know how to decode now !
This is my code :
sun.misc.BASE64Encoder encoder = new sun.misc.BASE64Encoder();
encoder.encode(myJTextField.getText());
It works very well but this don't work (decode) :
sun.misc.BASE64Decoder decoder = new sun.misc.BASE64Decoder();
decoder.decode(myPassword);
the error : "the method decode with a String for parameter doesn't exist"
And i don't know how to find the declaration of this method.
Help plzzzzz
Thanks
Steve

Similar Messages

  • How do we reset password for SAP* and DDIC user in SAP R/3 ECC 6.0?

    Hi,
    How do we reset password for SAP* and DDIC user in SAP R/3 ECC 6.0?
    I tried with acual method as below from client '000':
    DELETE FROM USR02 CLIENT SPECIIED WHERE BNAME = 'SAP*' AND MANDT = '001'.
    After this when I tried to logon '001' using SAP* with password PASS it is giving  the message that Incorrect logon and password.
    (Also when I checked for 'SAP*' in 001 it looks like it is not got created as I queried as below:
    SELECT SINGLE * FROM USR02 CLIENT SPECIFIED WHERE BNAME = 'SAP*' AND MANDT = '001'.)
    Can anybody throw some light on this? RewardS is guranteed for solutions!
    -B S B

    Hi again:
    I forget to tell.
    You must restart the system. So, that a new user with the name "sap*" gets generated with password "pass"
    Hope this wil help,
    Eric

  • How can I reset password in iDS5.1?

    A newbie question:
    There is a thread as below, can some one tell me if there is a passwordMustChange value in iDS5.1? Cause I change the password in console as a diretory manager and checked on 'User must change password after reset', but there is no password expired control when the user binding after the reset. Wondering how to reset the password in console properly.
    Thanks,
    Ben
    Craig Epstein on 2/21/2002 answered:"James,In order to view the values for the following attributes: passwordExpirationTime passwordExpWarned, passwordRetryCount, retryCountResetTime, accountUnlockTime, passwordHistory, passwordAllowChangeTimethey must be specifically requested in an ldap search operation. For example, if the password policy is configured so that a user must wait 3 days before changing his password, an ldap search on the user's entry where passwordAllowChangeTime is specifically requested will return the absolute time when the password can be changed.General password policy for attributes such as passwordMustChange, is stored under the cn=config entry. So, if the LDAP database is configured so that users must change their passwords after a reset, the passwordMustChange attribute in this entry should be set to on.If you can be more specific, perhaps I can help further.Regards,Craig"

    THe Password policy is working the same in 5.1 as in the previous release (minus bugs).
    Password Reset only works when done by "Cn=directory manager".
    Regards,
    Ludovic

  • TS3899 Changed Yahoomail password and have tried to change it on IPad mini.  Changes, verivies, but go back to that accoundt and old password is there.  Mail being received but account was hacked from my Ipad or phone.  How do I change password permanentl

    Changed Yahoo email password due to being hacked, I think.  Tried changing of Ipad mini but reverts to old password when go to account settings again.  Tried deleting and adding mail account anew, but same deal.  How do I get password to permanently change.

    Sign out of old ID and sign in with new.
    Settings>iTunes and App Store>Apple ID

  • I can't remember my Apple ID password or my security question answers. When I try to reset my password it wants to send it to my e-mail address but I can't get the e-mail because I don't have security answers or the password. How do I reset password?

    I can't remember my Apple ID password or my security question answers. When I try to reset my password it wants to send it to my e-mail address but I can't get the e-mail because I don't know my security answers or the password. How do I reset password?

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a rescue email address or a Security Questions issue, then see:
             If you forgot the answers to your Apple ID security questions - Apple Support.
             Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • How can i remove password from my I Pod

    how can i remove password from my I Pod

    If you mean you can't get past the screen lock then:
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • HT204291 How can I find password to Apple TV? I have forgotten password and need it to activate AirPlay. Thanks!

    How can I find password to Apple TV? I have forgotten password and need it to activate AirPlay. Thanks!

    Welcome to the Apple community.
    Which password is it that you are looking for. If it is your airplay password, simply turn the password off in the airplay settings on the Apple TV and then turn it back on again and enter a new password.

  • I have to reset factory settings but Apple ID is old email no longer used. I can't recall the password and when I went to answer security questions it told me my date of birth was wrong. How do i rest password but get it sent to my current email addr

    I have to reset factory settings but Apple ID is old email no longer used. I can't recall the password and when I went to answer security questions it told me my date of birth was wrong. How do i rest password but get it sent to my current email address

    Go to http://iforgot.apple.com to get help with your password.

  • How to setup a password protection in my wireless airPort?

    How to setup a password protection to my wireless AirPort?

    To configure the AirPort base station for wireless security, you will need to use the AirPort Utility.
    AirPort Utility > Select the AirPort > Manual Setup > AirPort > Wireless tab
    Wireless Security: <None | WEP (Transitional Security Network) | WPA/WPA2 Personal | WPA2 Personal>
    Wireless Password: <enter your desired password>
    Verify Password: <reenter your desired password>

  • I need to have my macbook pro repaired how can I hide passwords and banking info?

    I need to have my macbook pro repaired how can I hide passwords and banking info?

    Create a new admin account named repair and only give them the password for that account. Alternately you could back up or clone your system, erase the hard drive and then reinstall OS X with one admin account that has no personal information.

  • Hard Drive crashed.  I have a new hard drive but I cannot log into computer.How do I reset password to my i Mac?

    Hard Drive crashed.  I have a new hard drive but I cannot log into computer.How do I reset password to my iMac?

    Forgot Your Account Password
    For Snow Leopard and earlier
         Mac OS X 10.6- If you forget your administrator password
    For Lion/Mountain Lion
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password and
         OS X Lion- Apple ID can be used to reset your user account password.

  • ATG 10.1.2 . How to set BCC password through CIM?

    I'm new to 10.1.2 version, trying to installing and configure it properly to learn it. With CIM I configured and set Publishing, Production and Staging instances.
    I ran BCC after installation (http://localhost:8180/atg/bcc) and was prompted for password - admin/admin or merchandising/merchandising set by default in previous ATG versions didn't work in 10.1.
    I learned from ATGInstallGuide that there is no default passwords preset in 10.1.2 and I have to set them though CIM. (Or ACC)
    Here what is says:
    *"Through CIM. During the post-installation setup process, CIM prompts you to set the passwords for the*
    *default profiles that your environment requires "*
    I do remember I was once asked one for password for merchandising user only, and the password I set didn't allow me into BCC, so probably it was for something else.
    Please, advise how to set BCC passwords for default account (admin, merchandising and etc) in CIM? I don't see this option in CIM - I everything in CIM and didn't find it
    Just in case there is the list of options CIM provides me after running:
    [1] Database Configuration - Done
    [2] Server Instance Configuration - Done
    [3] Application Assembly & Deployment - Done
    [P] Product Selection - Done (Oracle ATG Commerce Reference Store &
    ATG-Endeca Integration & ATG Site Administration)
    [A] Select Application Server - Done (JBoss)
    *[C] Custom CIM Plugin Launcher
    I'm still not able to open BCC application
    Edited by: 994398 on Mar 17, 2013 5:36 PM
    Edited by: 994398 on Mar 17, 2013 5:37 PM

    CIM will ask for new passwords when you select Create Schema and Import data. If you have forgotten the pwd given by you, you can reset it.
    Check the below threads regarding similar issue.
    ATG 10.1.1 BCC -Default password for admin
    not able to login into ATG Dyn admin
    Cheers
    R

  • How to recover administrator password in windows 7 using usb

    I have an HP netbook mini and need to how to recover administrator password in windows 7 using usb as we have forgotten and need to load itunes from another Iphone.
    This question was solved.
    View Solution.

    Hi,
    You could use a reset utility such as the free example on the link below - using another PC, this can be created on a usb flash drive.
    http://pogostick.net/~pnh/ntpasswd/
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • How to set min-password length on ASR1002?

    How to set min-password length on ASR1002?

    Try:
    security passwords min-length
    I'm not positive if it's supported in your version of IOS-XE but it is in some.

  • How to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    I want to know how to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    You have to connect via ODBC, then use code along the lines of what is described here:
    http://scn.sap.com/thread/3526924
    by me on March 28 and Jan on March 29.
    Also see KBA: 1686419 - SAP Crystal Reports designer does not recognize Access *.accdb file
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • ITunes Match freezes PC during Step 1!?!?!

    I am running Windows Vista on my PC and purchased iTunes Match to put my music collection in the cloud.  3/4 of the way through Step 1, iTunes freezes and so does my computer.  I have to unplug my computer (which is definitely not healthy for it) and

  • The restart, log off, and shut down icons have quit responding​.

    I have a HP desktoop computer model sw5705f. It is not allowing me to restart, log off ,or shut down by clicking on them proper icon.  The only way I can shut down is to manually turn off the tower. What could have happened and how do I solve the3m p

  • Help needed : Spry Blogspot RSS Reader

    I am trying to build a RSS feed reader that pulls the content from blogspot. If I pull the feed via http://??????.blogspot.com/feeds/posts/default?alt=rss (rss 2.0) I can see the schema. I can also see all the columns when i go to the Spry table gene

  • Problems uploading text into infoobject

    Hi everybody. I tried to upload information about TEXTS to an infoobject. Is the exercise of BW310 training course (7.0 version). I've created an infopackage that retrieves the data from R3 backend. My problem is that i always get a yellow 'traffic l

  • Vista 32 vs. 64-bit; B

    How can I find out if my Vista Home OS is 32 or 64 bit's? And whether or not it is BETA?