How to use security zone in WebDynpro

Hi.
I want to use security zone in WebDynpro for java like PDK.
Is it possible?
if possible, plz explain detail how to use security zone.

Hi,
   You can locate the <i>portalapp.xml</i> file for a WD project inside the <i>gen_wdp</i> folder. Check if you can add the <i><component-config></i> tag and others in the <i><webdynpro></i> section of the file.
Regards,
Satyajit.

Similar Messages

  • How to use EPCF eventing in Webdynpro

    Hi All,
    I have made a Webdynpro application as an iview in portal. Now i need to accomplish client eventing between this iview and any other portal iview. I learned from this link
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/6ee03fc2269615e10000000a155106/frameset.htm
    that, this can be done through EPCF.
    I can very well write use the EPCM objects in EP components with the help of Javascript tags.
    But, I learned from my Webdynpro friends and these links
    Re: Javascript in webdynpro application.
    Re: Javascript
    Re: how to make use of javascript functionality in WD application?
    that, Webdynpro is strictly NOT the place for Javascript.
    So, Where and How to use EPCF APIs in Webdynpro?
    Shortly, In an Webdynpro application, where and how can i insert the following line of code.
    WDPortalEventing.subscribe("urn:com.sap.tc.webdynpro.test.portal","TestEvent",wdThis.wdGetTestEventAction());
    Please help me in this regard..
    Vijay.K

    Hi,
    Check this,
    /message/205009#205009 [original link is broken]
    Write that subcribe in the doinit method and handle the event in the action handler
    Check also this
    webdyn iviews and portal eventing:WebDynpro iViews and Portal Eventing
    /message/554249#554249 [original link is broken]
    Communication between 2 IViews on 2 different Pages
    Regards,
    Vijayakhanna Raman
    Message was edited by: Vijayakhanna Raman

  • How to use HTML Tags in webdynpro java

    Hi,
         Can any body tell me how to use HTML Tags in webdynpro java.
    If u provide me with sample code it will become more usefull.
    Thanks & Regards,
    SN

    HI,
    Please find the steps:
    Create a html file and store in your webdynpro project
    Add the html contents in your file
    & Create a IFRAME UI element and refer you html file
    Now you able to see the html in webdynpro
    Thanks & Regards,
    Ram

  • How to use Java code inside WebDynpro-ABAP

    Hi,
        How to use Java code inside WebDynpro-ABAP.
    Could any one provide sample code.
    Cheers,
    Sam

    Hi Sam,
    We can't Bring Java Inside the ABAP. Both are running in different Environments.
    and also ABAP Codes are runs on BASIS.
    -Basis is a middleware between ABAP codes and Ur OS.
    -Contains set of programs to load,RUN,intepret the ABAP program..
    So Both are Different.
    Regards,
    Ramganesan K.

  • Sample project how to use Itext (pdf) in webdynpro

    Hi all,
    Have someone a sample how to use Itext in a webdynpro.
    Richard

    Hi Roberto and Bala,
    Sorry, I was thinking the wrong way!!
    Please can you check my source, I a'm get an error by opening the new window. the error : D:\PDFfromJava.pdf (The system cannot find the file specified)
    this my source:
        //@@begin wdDoInit()
        wdContext.currentPersonalDataElement().setFirstName("Richard");
        wdContext.currentPersonalDataElement().setLastName("Middelburg");
         Document document = new Document();
         try {
          PdfWriter.getInstance(document, new FileOutputStream("D:
    PDFfromJava.pdf"));
           document.open();
           document.add(new Paragraph("Hi, this is demo PDF file from JAVA!"));
         catch(DocumentException de) {
         //     wdComponentAPI.getMessageManager().reportException(de.getMessage(),false);
         wdContext.currentContextElement().setTest("fout1");
         }catch(IOException ioe) {
         //     wdComponentAPI.getMessageManager().reportException(ioe.getMessage(),false);
         wdContext.currentContextElement().setTest("fout2");
         File file = new File("D:
    PDFfromJava.pdf");// from iText library
         try
              IWDResource wr = WDResourceFactory.createCachedResource(getBytesFromFile(file), "PDF Report", WDWebResourceType.PDF);
              IWDWindow w = wdComponentAPI.getWindowManager().createNonModalExternalWindow(wr.getUrl(0), "PDF Report");
              w.show();
         catch (Exception e)
              wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), false);
              wdContext.currentContextElement().setTest("fout3");
        //@@end
    //@@begin others
      public static byte[] getBytesFromFile(File file) throws IOException {
                    InputStream is = new FileInputStream(file);
                    // Get the size of the file
                    long length = file.length();
                    // You cannot create an array using a long type.
                    // It needs to be an int type.
                    // Before converting to an int type, check
                    // to ensure that file is not larger than Integer.MAX_VALUE.
                    if (length > Integer.MAX_VALUE) {
                         // File is too large
                    // Create the byte array to hold the data
                    byte[] bytes = new byte[(int)length];
                    // Read in the bytes
                    int offset = 0;
                    int numRead = 0;
                    while (offset < bytes.length
                             && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
                         offset += numRead;
                    // Ensure all the bytes have been read in
                    if (offset < bytes.length) {
                         throw new IOException("Could not completely read file "+file.getName());
                    // Close the input stream and return bytes
                    is.close();
                    return bytes;
      //@@end
    Richard

  • How to use security roles in Weblogic server?

    Hello Gurus,
    I am new to Weblogic server and I am trying to investigate how to make
    use of security roles in weblogic server (5.1.0). Can anyone point me
    to some documentation. Specifically, I am looking for instance level,
    and method level security and how to use it.
    Thanks for taking your time to read this e-mail.
    Thank You all in advance,
    Hari.

    You should read the security information in the Servlet 2.2 specification
    that WL 5.1 implements:
    http://java.sun.com/products/servlet/download.html
    Chapter 11 deals with declarative and programmatic security, and includes a
    section on roles:
    11.4 Roles
    A role is an abstract logical grouping of users that is defined by the
    Application Developer or
    Assembler. When the application is deployed, these roles are mapped by a
    Deployer to security
    identities, such as principals or groups, in the runtime environment.
    A servlet container enforces declarative or programmatic security for the
    principal associated with
    an incoming request based on the security attributes of that calling
    principal. For example,
    1. When a deployer has mapped a security role to a user group in the
    operational environment. The
    user group to which the calling principal belongs is retrieved from its
    security attributes. If the
    principal's user group matches the user group in the operational environment
    that the security
    role has been mapped to, the principal is in the security role.
    2. When a deployer has mapped a security role to a principal name in a
    security policy domain, the
    principal name of the calling principal is retrieved from its security
    attributes. If the principal is
    the same as the principal to which the security role was mapped, the calling
    principal is in the
    security role.
    Cameron Purdy
    http://www.tangosol.com
    "Hari" <[email protected]> wrote in message
    news:[email protected]..
    Hello Gurus,
    I am new to Weblogic server and I am trying to investigate how to make
    use of security roles in weblogic server (5.1.0). Can anyone point me
    to some documentation. Specifically, I am looking for instance level,
    and method level security and how to use it.
    Thanks for taking your time to read this e-mail.
    Thank You all in advance,
    Hari.

  • How to use two BAPIs in webdynpro Applicaiton?

    Hi All,
    I'm developing one webdynpro application which is using BAPI_FLIGHT_GETLIST for gettting list of flights and then using an other bapi BAPI_FLIGHT_GETDETAIL for getting details of particular flight which is selected from getlist bapi.
    how can use these two BAPI in single application? How to get the flight details after selecting the one row in getlist view?
    please provide me the procedure.
    Regards
    Srikanth

    hi
    First create two models Bapi_flight_getlist, Bapi_flight_getDetails.
    Add these models in your component.
    Do the model binding on Component Controller.
    Comp.Controller>apply template>servicecontroller>flightlist>choose
    Airlineid
    Maxrows
    Expand Output node.
    select Flight_List node.
    ServiceController will automatically generate the method,choose ok.
    Repeat the same for second bapi also.
    choose
    Airlineid
    Connectionid
    Flightdate
    and select Flightdata
    (you can find it by expanding output node).
    after completion of all these steps u will have Getdetilas and getlist bapi details in comp.Controller.
    To avoid overloading in selecting particular node specify different name for node.(eg:output-->output1)
    Contextmapping.
    you do the contextmapping between Comp.Controller and view by choosing appropriate details from comp.controller.
    now you will have GetDetail and GetList nodes data.
    do the view binding.
    Apply template-->select Airlineid
    Maxrows from getlist node.
    again do the
    Apply template-->select Flightdata from getdetailnode.
    onleadselect of table you call the execute methods from comp.controller generated by service Controller.
    Layouttab>table>properties-->onleadselect Event
    create action for it.
    in onleadselect<actionname>
    wdThis.wdGetFirstCompController().executeBapi_Flight_Getdetail_Input();
    wdThis.wdGetFirstCompController().executeBapi_Flight_Getlistl_Input();
    in the output Getlist table will be displayed.
    by clicking on table row,onLeadselectaction will be called.
    you will get the flightdetails.
    i hope this will solve your problem.
    Regards
    sowmya

  • How to use time zone settings with calendar events ??

    After looking through the questions on time zones and synchronization, I still cannot get my Palm Centro to operate the way I think it should.
    I have a Verizon Centro, am using Windows XP with Outlook, and synching via the Hotsync manager 7.02 over a USB cable.  I am not using Palm Desktop.
    I am expecting events to shift time in the calendar when I change the time zone, but they do not.
    I am preparing for a trip.  I enter several test events into MS Outlook placing the events to occur in a different time zone into my calendar at the time the event would occur in my home time zone (NY).   For example, a meeting from 9-10 AM in Los Angeles is put in my MS outlook calendar as 12-1 PM on the day of the meeting.  Then I sync, with the time zone of my Centro and Outlook set for New York.  The Centro is set to update Date, Time, Zone automatically from the network in New York. The meeting event appears as 12-1 PM on the correct day.
    Then I turn off the Centro phone (ie disconnect from the Verizon network), change the time update to "Nothing" -- ie entirely manual, change the time zone to Los Angeles and set  the time to the correct time in Los Angeles.   I expect the meeting to shift to 9-10 AM in my Centro calendar, but it does not !!!!!  I try other combinations -- Leave the time update on Date and Time automatic, and change the time zone to Los Angeles, etc.  I think I tried all the combinations.  Throughout, I leave the Centro phone off of the Verizon network.  I cannot get the meeting to change its time in the new time zone.
    What is the trick ??? What did I miss ??
    You might ask why I am trying this with the phone turned off -- that is because I am really going much farther than LA, and into a GSM network where I will simply use the Centro as a PDA.
    Any advice appreciated.
    Post relates to: Centro (Verizon)
    This question was solved.
    View Solution.

    thepoeta --
    Thanks for the response.
    Indeed my preference was not set "new events use time zones".
    Meanwhile, I had loaded all the applointments from Outlook, about 20 of them,
    figuring I would just move them manually en route.
    I will play with the time zone preference, but,
    is there any way to identify the existing appointments in the
    Palm as belonging to a different time zone, just using the Palm Centro ?
    Thanks,
    Neal

  • How to use .properties files in Webdynpro Java code?

    Hi all,
      I want to use a logon.properties file when I initial a JCO connection pool in my webdynpro DC (JCO.addClientPool()),but  I found when I deployed this DC to the server, it always giv e me an FileNotFoundException. So I donot know how to deploy a .properties file to the server and how to access this file in my Java code?
    Thans and Best regards
    Deyang

    Hi,
    1) put .properties file to your packege under src\packages folder (src\packages\com\sdn\properties\jco.properties)
    2) load property:
         final InputStream is = getClass().getClassLoader().getResourceAsStream("com/sdn/properties/jco.properties");
         final Properties properties = new Properties();
         try
              properties.load(is);
         catch(Exception e)
              wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(e), false);
    Regatds Maxim R.

  • How to use "Select options" in Webdynpro Java ?

    HI experts ,
    I want know if can be implemented "select options" like the ones used in R3 - ABAP in a webdynpro Java.
    And in case of being possible, how to implemented using Adaptive RFC or BAPI with a R3 backend system?
    Our Portal is EP6.0 SP18 ,J2EE 6.40 .
    Thanks & Regards,
    Jianguo Chen

    Hi Jianguo,
    check these links:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/5f/e5de3f68d48f15e10000000a155106/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/5f/e5de3f68d48f15e10000000a155106/frameset.htm</a>
    You may use 2 EVS to simulate your select option.
    Regards,
    Gianluca Barile

  • How to use secure connection parameter in file adapter

    Hi all,
    I have scenario like FIle to file using ftp protocal over secure connection(FTPS).
    i have some doubts like for doing this interface wat infromation i required from my client.
    iam able see the option FTPS(FTP USE SSL\TLS) for control connection & control and data conncetions.
    if i check the use X.509 certificate for the client authentication
        kestore (in the list i can see the some entrys for private keys )
        X.509 certificate & private key(i can also see some entries for private key  here )
    my question am i use the this existing private key & certificates?
    if yes which keys & certificates i have to use.
    if no wat  information i need like private key & certicates from client & how we installed those in the keystore providing by visual admin.
    For appearing those entrys in value list of the above parameters key store & X.509 certificate & private key.
    please let me know any basis activity involved over here other than keystore deployemnet.
    please correct me if any thing wrongly mentioned.
    Thanks in Advance.
    Edited by: katakoti on Jul 7, 2011 7:36 AM

    HI Reddy ,
    i already read that blog it nice blog. Few my doubts clarfied while reading the that blog.
    my quetion is like weathe  can we use "service_ssl" key sotre entry for any client FTP server for sending the encrypted files?.
    i mean those entries in the keystore  &  X.509 Certificate and Private Key  stanrd  or client(sender or reciver) FTP specific
    what deatils we require to do this scenario from client end & security team or basis team(firewall configuration like that).

  • How to use security token in WLS 9.2

    I am using Workshop with Weblogic Server 9.2 to implement a Web services with security token (UsernameToken). I have successfully create the web services by using @Policy(uri="Policy:Auth.xml", direction=Policy.Direction.inbound). I use the default authentication provider and SOAP login is fine now. The question for me is how can I get back the userid in my server side program of the authenticated user?
    Example:
    @WebService
    @Policy(uri="Policy:Auth.xml", direction=Policy.Direction.inbound)
    public class WebServiceServer implements Serializable{
    public String getLoginUserID(){
    String user = <sometime method call to get the authenticated user id>;
    return userid;
    Please help and many thanks in advance.

    Hi Christian_nor,
    The current version of the Modbus LabVIEW Library is only officially supported in LabVIEW 7.1, but can be manually installed in LabVIEW 8.0 and later.  The installer for the current version of the Modbus LabVIEW Library looks in the Windows registry for the presence of LabVIEW 7.1, and will not install if the LabVIEW 7.1 registry key is not found.
    The installer at this link will automatically place the nimodbus.mnu and NI Modbus.llb in the appropriate folders in the LabVIEW 8.2 directory.  You should be able to edit the programs as normal in LabVIEW 8.2 once these files are installed in the LabVIEW 8.2 directory.
    Let me know if you have any questions!
    Chris R.
    Applications Engineer
    National Instruments

  • How to use secure FTP using FTP adapter in PI

    Hi,
    PI does not give SFTP adapter, for using the SFTP adapter we need some security certificates + we need to purchase the
    SFTP adapter.
    How to achive SFTP functionality using FTP adapter? We need to do some script coding.
    Pl throw some light on this.
    Thanks,
    Krishna

    HI Krishna,
    Ref:  http://weblogs.sdn.sap.com/cs/blank/view/wlg/22415
    http://weblogs.sdn.sap.com/cs/blank/view/wlg/22776
    http://aedaptive.com/index.php/solutions/pgp-for-sap-netweaver
    Thanks,

  • How to use security certificate with Business service

    Hi,
    Information:
    I need to use a security certificate for connection from Business service to legacy system.
    I have created PKI mapper in WebLogic console, deployed keystore on server and Service Key Provider in OSB.
    I can see can connect the certificate in OSB console through the Service Key Provider.
    I have done Authentication setting in the Business service "HTTP Transport Configuration" as "Client Certificate".
    Problem:
    Now whenever I try to invoke BS, the username, password and security key provider is asked at the prompt. Should not the BS collect security certificate automatically? Again,
    when i put username and password as that of WebLogic sbconsole; the error pops up with following message :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
         <env:Header />
         <env:Body>
              <env:Fault>
                   <faultcode>env:Server</faultcode>
                   <faultstring>Failed to process signature.null</faultstring>
              </env:Fault>
         </env:Body>
    </env:Envelope>
    If I don't supply username password and certificate at the time of invoking the message pops up as : "The service requires a digital signature, you must specify a service key provider which has a digital signature credential."
    I think some mistake is done in the above steps, could anybody please clarify?

    The problem was resolved with upgrade to version 10.1.3.4.

  • How to use the captcha in webdynpro

    Hello everyone
    Have any of you tried to do the CAPTCHA in webdynpro??
    I have not a minimun idea where to start...
    Can someone give me some tips on how to do??
    Thanks
    Regards
    Banana

    Thanks for letting me answer ....
    Anyway I tried to follow this blog that you gave me!
    I arrived at this point:
    Similarly, add the other three jar files to the same public parts by repeating the following steps seperately for each jar file:
    Right click the jar and select 'Development Component' -> 'Add to Public Part' -> ExternalLibCompilation
    Right click the same jar file and select 'Development Component' -> 'Add to Public Part' -> ExternalLibAssembly
    Finally do a DC build by choosing 'Development Component' -> 'Build' in the right click context menu of the Library Project. Now the public parts are ready with us and we may proceed further to see how these libraries (contained in the public parts) could be accessed from a WD DC.
    During the Build me the following errors:
    File does not exist:
    a) C: \ Programs \ SAP \ IDE \ IDE70 \ eclipse \ plugins \ com.sap.tc.ap_2.0.0 \ comp \ BI_UDI \ DCs \ sap.com \ bi \ mmr \ core \ _comp \. dcdef
    b) C: \ Programs \ SAP \ IDE \ IDE70 \ eclipse \ plugins \ com.sap.tc.ap_2.0.0 \ comp \ BI_UDI \ DCs \ sap.com \ bi \ mmr \ JMI \ _comp \. dcdef
    c) C: \ Programs \ SAP \ IDE \ IDE70 \ eclipse \ plugins \ com.sap.tc.ap_2.0.0 \ comp \ BI_UDI \ DCs \ sap.com \ bi \ mmr \ ant \ _comp \. dcdef
    d) C: \ Programs \ SAP \ IDE \ IDE70 \ eclipse \ plugins \ com.sap.tc.ap_2.0.0 \ comp \ BI_UDI \ DCs \ sap.com \ bi \ mmr \ db \ _comp \. dcdef
    e) C: \ Programs \ SAP \ IDE \ IDE70 \ eclipse \ plugins \ com.sap.tc.ap_2.0.0 \ comp \ BI_UDI \ DCs \ sap.com \ bi \ mmr \ cwm_1.0_library \ _comp \. dcdef
    f) C: \ Programs \ SAP \ IDE \ IDE70 \ eclipse \ plugins \ com.sap.tc.ap_2.0.0 \ comp \ BI_UDI \ DCs \ sap.com \ bi \ mmr \ cwm_1.0_source \ _comp \. dcdef
    g) C: \ Programs \ SAP \ IDE \ IDE70 \ eclipse \ plugins \ com.sap.tc.ap_2.0.0 \ comp \ BI_UDI \ DCs \ sap.com \ bi \ mmr \ buildlbs \ _comp \. dcdef
    Then I checked that under the directory
    C: \ Programs \ SAP \ IDE \ IDE70 \ eclipse \ plugins \ com.sap.tc.ap_2.0.0 \ comp \ BI_UDI \ DCs \ sap.com \ bi
    there is no folder mmr
    What should I do to add the folder mmr???
    Thanks
    Banana

Maybe you are looking for