Connect Notifications - Add user password into the email?

When creating a training notification for a curriculum, do you have access to add the user password into the email? I know this is not a great idea for security purposes, but we have a few cases where we may need to do this. Fields are available to add using the brackets like {description}. So I was wondering if user password is available to use.

setRequestProperty essentially modifies the http-headers sent to the server.
You play with headers named Username and Password - these do not exist in the standard (see http://www.w3.org/Protocols/rfc2616/rfc2616.html).
It is not too unlikely that the server you want to connect to uses the so-called "Basic" authentication scheme.
In that case (see http://www.ietf.org/rfc/rfc2617.txt) you have to add a header looking like
setRequestProperty("Authorization", "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==")
where the cryptic character sequence is just the base64 encoding of username:passowrd (in fact here it is "Aladdin:open sesame").
hope this helps
hagman
P.S.: I think this page shows some code that looks like what you are up to:
http://home.tiscali.nl/~bmc88/java/sbook/045.html
Edited by: hagman on Oct 9, 2008 8:26 AM

Similar Messages

  • I have a HP8 1401 tablet. How do I enter contacts into the email prog?

    How do I enter contacts into the email prog (not gmail) that comes with the tablet??
    This question was solved.
    View Solution.

    The Email app accesses previously existing User accounts (like Yahoo, Comcast, etc.) It does not have a built-in Contacts section.
    You will have to add new contacts another way - web access to the account for example.
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • I recentely changed my password to the email account but cant get it to work when I put in the new password what should I do

    I recently changed my password to the email account, but somehow I delete the account and try to add it with my new password, it just doesn't work.  What should I do? 
    Thank you

    Did you check the password in the Password Manager ?
    * Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    *http://kb.mozillazine.org/Password_Manager

  • Changed password of the email account

    I changed the password of the email account linked to my Blackberry.
    I should indicate that change in the settings of the BB.
    How can I do this?
    Thanks. 
    Solved!
    Go to Solution.

    Go to E-mail Settings icon on your home screen. Login using the user name and password (if password used during initial setup).  Go to Email Accounts under services and hit the Edit button under the email ID that you want to edit. In the password field erase the filed and put in your new password. 
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • HT5624 Hi, I have an iPad with a different iCloud username and password then my Apple ID. I forgot my iCloud password and the email I used is no longer working. How do I change my iCloud I'd and password to match my Apple ID one? Thanks in advance

    Hi, I have an iCloud account with a different iCloud username and password then my Apple ID. I forgot my iCloud password and the email I used is no longer in use. How do I change my iCloud Username and password to match my Apple ID one? Thanks in advance

    Hi Cplantin!
    Here is an article for you that will help you with this question:
    iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    http://support.apple.com/kb/TS5223
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Multiple users\passwords on the same website with Safari

    Coming over from Netscape for MAC to Safari.
    Here is the issue-- In Netscape I was able to have multiple users/passwords for the same website page. Netscape controls its users/passwords; not the keychain. With Safari everytime I try to enter the second user/password this wipes out the first user and password.
    Is there a way with Safari to have mutlple users/passwords for the same website page?
    Thanks,
    Reed

    A service might call the other one.

  • I have forgotten my appleID password and the email it is linked to is deactivated, security questions aren't working. This is on my iPhone and iTunes acs so I can't sync with my new computer. How do I merge AppleID accounts and shut down the old one?

    I have forgotten my appleID password and the email it is linked to is deactivated, security questions aren't working. This is on my iPhone and iTunes acs so I can't sync with my new computer. How do I merge AppleID accounts and shut down the old one (when I have no password and the security questions aren't working?)

    You cannot merge Apple ID accounts, that has never been supported.
    You can contact the Apple ID Security folks per the listing in http://support.apple.com/kb/HT5699 and they can help reset security questions and get the account working.

  • HT1206 I have an old apple id that has a number of songs on it that i want to transfer to my new apple id. it keeps asking me to authorize the old id but i have no password and the email is no longer.  thanks

    I have an old apple id that has a number of songs on it that i want to transfer to my new apple id. it keeps asking me to authorize the old id but i have no password and the email is no longer.  thanks

    All content from iTunes is tied to the account that bought/downloaded it, and it can't currently be transferred to a different account. If you don't know the account's password nor it's security questions (http://iforgot.apple.com), then you could try contacting iTunes support and see if they can help you get access to it : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • HT4897 I have forgotten my original MobileMe account password and the email address that I used to use to retrieve my password no longer works - help!

    I have just upgraded to mountain lion and want to use the icloud. However, years ago I set up a mobile me account and can not remember my password. The email account I set up originally as a default email no longer exists so when I try and set up a new password I am unable to because I can't access the email address I put on file. Can anybody help?

    Are you particularly attached to your ex-MobileMe email address? - it sounds as if you haven't actually used it for very long time. Your easiest option would be to use the ID you have logged in with here to open an iCloud account and choose a new @icloud.com address.
    If you really want to reactivate the MobileMe email address (which is also the ID for that account) you will need to contact Support. Go to https://expresslane.apple.com ; select 'All Products and Services' in the first column, 'More Products and Services' in the second column, then 'Apple ID' in the third column. In the next page select 'Other Apple ID Topics' in the first column then 'Lost or forgotten Apple ID password' and click 'Continue'. You will be offered options to contact Apple by phone.

  • This email cannot be delivered to user@domain because the email address is no longer valid

    We have Exchange 2010 and Office 2010 clients. All of our users are experiencing problems when trying to send e-mails to a customer domain. After typing the email address in, a message immediately appears saying: This email cannot be delivered to
    user@domain because the email address is no longer valid. If we proceed and send the message anyway, we get the NDR shown below. I have tested from a Hotmail account and the recipient is receiving those mails
    fine, the problem is for any user at the recipients domain and from any user at our domain, I have tried using OWA and the same problem so I know it is not the cache. Does any one have any ideas as I have been pulling my hair out  ! Thanks.
    Delivery has failed to these recipients or groups:
    [email protected]
    The email address that you entered couldn't be found. Check the address and try resending the message. If the problem continues, please contact your helpdesk.
    Diagnostic information for administrators:
    Generating server:
    xxx-sbs.xxx.local
    [email protected]
    #550 5.1.1 RESOLVER.ADR.RecipNotFound; not found ##
    Original message headers:
    Received: from
    xxx-sbs.xxx.local ([fe80::4bbd:1665:5716:1dae]) by
     xxx-sbs.xxx.local ([fe80::4bbd:1665:5716:1dae%10]) with mapi id
     14.02.0387.000; Wed, 14 May 2014 15:35:42 +0100
    Content-Type: application/ms-tnef; name="winmail.dat"
    Content-Transfer-Encoding: binary
    From: SENDE (SENDER EMAIL ADDRESS)
    To: "RECIPIENT EMAIL ADDRESS
    Subject: SCAN ATTACHED
    Thread-Topic: SCAN ATTACHED
    Thread-Index: Ac9vgcUbgbouRWzgTjS5UqGhPHduZQ==
    Date: Wed, 14 May 2014 15:35:41 +0100
    Message-ID: <F645248CCF819B4FA674E2F35CC71EE602ADF254@ xxx-sbs.xxx.local>
    Accept-Language: en-GB, en-US
    Content-Language: en-US
    X-MS-Has-Attach: yes
    X-MS-TNEF-Correlator: <[email protected]>
    MIME-Version: 1.0
    X-Originating-IP: [192.168.16.20]
     

    Hi,
    Do you mean your domain users can’t send messages to a specific domain? And users can send other external domain messages well? Also check whether you can receive external messages or not.
    Please check whether this destination domain is listed in the accepted domain of your Exchange server(EMC > Organization Configuration > Hub Transport > Accepted Domains). If it is, please remove it from the list. Additionally, since the issue happens
    to all domain users, I suggest we can collect any logs in your Exchange server to ask a question in Microsoft Exchange Server forum for more professional suggestions:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=exchange2010
    Regards,
    Winnie Liang
    TechNet Community Support

  • How to add an item into the Newsstand

    How to add an item into the Newsstand.  Please do NOT reply using  "tech-language." Use standard- normal everyday English. Thanks,
    Don Otlin
    Franklin Square, NY

    Open Newsstand. Tap on the "Store" button in the upper right. Any newspaper or magazine you download from the store will appear in Newsstand.

  • HT201363 I forgot I made an apple id years ago. I dont know the password nor can I remember the password for the email address I used years ago. Can anyone help me authorize my music I bought with my super old id?

    I dont know the password nor can I remember the password for the email address I used years ago. Can anyone help me authorize my music I bought with my super old id?

    See this -> Find My iPhone Activation Lock: Removing a device from a previous owner’s account
    i just asked if someone knows the support mail, i don`t know how to someone from apple support
    -> AppleID Support - Contact Support
    Condolences to you and your family.

  • To add new record into the table Data Service client

    When I am trying to add new record into the table Employeedetails using Data Service client it is giving a sql exception: "java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1."
    Code:
    DataService ds=DataServiceFactory.newDataService(getInitialContext(),"EmplDetApp","ld:EmplDetAppDataServices/EmployeeDetails");
    EmployeeDetailsDocument edoc=EmployeeDetailsDocument.Factory.newInstance();
    edoc.addNewEmployeeDetails();
    //here I set the primary key value empid
    edet.setEmpid("1212");
    edet.setEmpname("manu");
    ds.submit(edoc);
    Error
    EmpName 5 java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
    com.bea.ld.dsmediator.DataServiceException: java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
         at com.bea.ld.dsmediator.update.JDBCAdaptor.save(JDBCAdaptor.java:247)
         at com.bea.ld.dsmediator.update.DataServiceMediator.submit(DataServiceMediator.java:528)
         at com.bea.ld.dsmediator.update.DataServiceMediator.submit(DataServiceMediator.java:245)
         at com.bea.ld.ServerBean.submit(ServerBean.java:529)
         at com.bea.ld.Server_ydm4ie_EOImpl.submit(Server_ydm4ie_EOImpl.java:910)
         at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
         at java.lang.Thread.startThreadFromVM(Unknown Source)
    Caused by: java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
         at weblogic.jdbc.mssqlserver4.TdsStatement.processWarning(TdsStatement.java:1178)
         at weblogic.jdbc.mssqlserver4.TdsStatement.parseMsWarning(TdsStatement.java:1089)
         at weblogic.jdbc.mssqlserver4.TdsStatement.getMoreResults(TdsStatement.java:756)
         at weblogic.jdbc.mssqlserver4.TdsStatement.execute(TdsStatement.java:210)
         at weblogic.jdbc.mssqlserver4.TdsStatement.executeUpdate(TdsStatement.java:97)
         at weblogic.jdbc.mssqlserver4.TdsStatement.executeUpdate(TdsStatement.java:1455)
         at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:147)
         at com.bea.ld.dsmediator.update.JDBCAdaptor.save(JDBCAdaptor.java:151)
         ... 15 more
    But I am not sure why it is giving an exception as Violation of PRIMARY KEY.
    The update method works fine for the same client.
    The exception only happens when I am trying to insert a new record.
    Please help me to figure out this problem.

    If you are absolutely sure that you do not have such a row already in your table, open a case with customer support and reference CR321312. I believe the work-around is to put ld-server-core.jar in your client classpath.
    Correction: put ld-server-app.jar in the client classpath
    Edited by mreiche at 09/17/2007 3:28 PM

  • How to add one column into the t.code: cat2

    Hi
    I am userexits
    here i want to add one column into the t.code: cat2 at particular location, and that added field have to display the data what i am selcting in that transaction.
    how to do this...
    thankx

    hi,
        CATS0005           
        CATS0007           
        CATS0009        
        CATS0010        
        CATS0012.
        Go through the documentations of above Enhancements to solve ur problem. I am not able to understand ur exact requirement. that is y i gave some more Enhancements.

  • How to add a report into the SAP-SCRIPT .using PERFORM ......ENDPERFORM

    My question is that How to add a report into the SAP-SCRIPT .
    by using PERFORM ......ENDPERFORM
    I don't know how to used it .

    Hi Sandeep,
    Please check this link
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
    http://www.allinterview.com/showanswers/37425.html
    Calling ABAP Subroutines: PERFORM
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = u2018|u2019. "First page
    ELSE.
    OUT_PAR-VALUE = u2018||u2019. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Best regards,
    raam

Maybe you are looking for