Using WebDav with Bea repository.

Hallo!
Have anyone integrated WebDav with Weblogic Portal Repository?
I need short description how to create WebDav repository on WL 10.0.
I tried follow the "BEAWebLogic Portal Content Management
Guide" instructions but my repository is still not working as WebDav repository.
I hope to find someone who can give me some knowledge.
Best regards
Hubert.

No, the Repository would be used instead of CVS.
David

Similar Messages

  • Using cvs with Oracle Repository

    I was just wondering if you can use cvs with the Oracle Repository.

    No, the Repository would be used instead of CVS.
    David

  • Using WebDAV with WebSEAL

    We are trying to using WebDAV for our projects.
    WebSEAL is used for for authentication, I'm unable to add a server in the DIS client if I go through the WebSEAL URL. (i get an error stating that the CGI url is incorrect, even if it maps to the correct content server url)
    Any pointers on how to workaround this will be helpful.
    The WebDAV url is https://<websealinstance>:<port>/dms/cs/idcplg/webdav this will internally map to http://<ucm_server>:<ucm_port>/cs/idcplg/webdav.
    Thanks,
    Manjunath
    Edited by: 890922 on 05-Jun-2012 00:52

    I've used Webdav over SSL ever since i started using webdav :)
    Infact many of my web servers are entirely ssl

  • Using iplanet with bea

    I just got started with this projectwhere we need iplanet to play therole of web-server that uses a weblogicapp server as middle tier.And a portion of the site needs securesessions with the browser.Now, my question is, should i install thecertificates on the iplanet or do i doit on the weblogic server. And what arethe pros and cons associated with havingiplanet handle the HTTPS communicationand forward the request to the BEA app which might then handle the request in non-secure mode(lets say, the web-server and app-server are running on the same box).Any help regarding this would be greatly appreciated.

    You need to have a certificate on the Web server, whether that is WebLogic
    or Apache/iPlanet/IIS. If you want to have SSL between the Web server
    plug-in and WebLogic, you will need to have a certificate there on WebLogic
    as well.
    More information should be in the documentation.
    Michael
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    Buy the only book covering J2EE & WebLogic 6:
    http://www.amazon.com/exec/obidos/ASIN/0130911119/learnweblogic/103-9227026-
    4636613
    "bobby" <[email protected]> wrote in message
    news:3b78a7b0$[email protected]..
    I just got started with this projectwhere we need iplanet to play theroleof web-server that uses a weblogicapp server as middle tier.And a portion of
    the site needs securesessions with the browser.Now, my question is, should i
    install thecertificates on the iplanet or do i doit on the weblogic server.
    And what arethe pros and cons associated with havingiplanet handle the HTTPS
    communicationand forward the request to the BEA app which might then handle
    the request in non-secure mode(lets say, the web-server and app-server are
    running on the same box).Any help regarding this would be greatly
    appreciated.

  • How to use webdav with netbeans

    Hi,
    Sorry for the wrong forum but i don't found anything in the www about this...
    I don't want to register at the netbeans forum so if there is anyone who know some hints
    I would appreciate this.
    regards,
    Olek

    Hi Olek
    I Have a working WebDAV setup with tomcat 6.0
    the only problem is this only works on windows XP
    anyway here is the code,
        <servlet>
        <servlet-name>webdav</servlet-name>
        <servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
        <init-param>
          <param-name>debug</param-name>
          <param-value>0</param-value>
        </init-param>
        <init-param>
          <param-name>listings</param-name>
          <param-value>true</param-value>
        </init-param>
        <!-- Uncomment this to enable read and write access -->
        <init-param>
          <param-name>readonly</param-name>
          <param-value>false</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <!-- The mapping for the webdav servlet -->
      <!-- Using /* as the mapping ensures that jasper, welcome files etc are
           over-ridden and all requests are processed by the webdav servlet.
           This also overcomes a number of issues with some webdav clients
           (including MS Webfolders) that do not respond correctly
    to the
           redirects (302) that result from using a mapping of / -->
      <servlet-mapping>
        <servlet-name>webdav</servlet-name>
        <url-pattern>/*</url-pattern>
      </servlet-mapping>put that in your web.xml file
    and here is a basic example of how to use it in a jsp.
    <%
    String networkPath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/";
    %>
    <body onload="document.getElementById('anchor').click();">
        <a id="anchor" href="<%= networkPath %>Temp/Test/file.doc" folder= "<%= networkPath/Temp/Test/">
               Open in Web Folder View
        </a>
    </body>Hope this helps you

  • WebDAv with Iplanet Webserver 4.1

    Hi,
    I want use Webdav with Iplanet Webserver 4.1 for publication . It's
    possible ?
    Regards,
    herve

    I tried this with apache slide.
    With no luck.
    I think the problem was due to not being able to configure a servlet to
    receive the http request for the urls from the web dav root.
    For example.
    http://mserver/dav
    may be the root
    then you would have a file at
    http://mserver/dav/files/etc
    I could not configure the servlet in the rules.properties file to say
    /dav/* is servlets WebdavServlet.
    However you can do this with tomcat and I hope now that iWS 6.0 supports the
    web.xml for deploying servlets that you now will be able to do this.
    If you get this working I would like to know how you did it.
    Warwick
    "herve Merdrignac" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I want use Webdav with Iplanet Webserver 4.1 for publication . It's
    possible ?
    Regards,
    herve

  • WebDav with changed folder

    Hi together
    I have enabled on my Mac mini server with OS X 10.6.4 WebDAV over SSL. Everything works fine.
    What I missing or I do not know is, how to done the following:
    I want the standard folder "Library\Web...\..." leave. In addition, I would like to access on the second internal hard drive a further folder. Can I do this with aliases and if so, what have i to do? Thank you for your help.
    Regards
    Hermann

    I tried this with apache slide.
    With no luck.
    I think the problem was due to not being able to configure a servlet to
    receive the http request for the urls from the web dav root.
    For example.
    http://mserver/dav
    may be the root
    then you would have a file at
    http://mserver/dav/files/etc
    I could not configure the servlet in the rules.properties file to say
    /dav/* is servlets WebdavServlet.
    However you can do this with tomcat and I hope now that iWS 6.0 supports the
    web.xml for deploying servlets that you now will be able to do this.
    If you get this working I would like to know how you did it.
    Warwick
    "herve Merdrignac" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I want use Webdav with Iplanet Webserver 4.1 for publication . It's
    possible ?
    Regards,
    herve

  • Integrating cFolders with Portal-KM using WebDAV manager

    Hello All,
    Requirement: Integrating cFolders with Portal-KM using WebDAV manager
    Settings done :
    1) cProject WebDAV url is working through WebDAV client(software name : anyclient)
    The URL is http://<host name>:<port>/cfol450/dpr
    cFolders url is not working thriugh WebDAV client. Basis investigating on that.
    2) Created HTTP system for "cProject " with URL. http://<host name>:<port>
    3) Created WebDAV repository with system path /cfol450/dpr
    4) Created system in portal for user mapping and mapping is done.
    Problem Statement:
    The integrated repository is not visible in KM content. When I go to Monitoring->KM->Component Monitoring->Repository Name,
    the servers shows "not started" as status.
    Troubleshoot Try: I tried changing log level of slimrequest to debug.. but there is no entry in log file to guide on error
    Help appreciated.
    Regards,
    Amol Ghodekar.

    Hello All,
    Requirement: Integrating cFolders with Portal-KM using WebDAV manager
    Settings done :
    1) cProject WebDAV url is working through WebDAV client(software name : anyclient)
    The URL is http://<host name>:<port>/cfol450/dpr
    cFolders url is not working thriugh WebDAV client. Basis investigating on that.
    2) Created HTTP system for "cProject " with URL. http://<host name>:<port>
    3) Created WebDAV repository with system path /cfol450/dpr
    4) Created system in portal for user mapping and mapping is done.
    Problem Statement:
    The integrated repository is not visible in KM content. When I go to Monitoring->KM->Component Monitoring->Repository Name,
    the servers shows "not started" as status.
    Troubleshoot Try: I tried changing log level of slimrequest to debug.. but there is no entry in log file to guide on error
    Help appreciated.
    Regards,
    Amol Ghodekar.

  • Use Documentum Content Repository to BEA Repository

    Hi,
    I want to migrate content from BEA Repository to Documentum Content Repository. I would like to know if there are any standard API's to display content from Documentum to Portal jsp pages?
    Any help is greatly appreciated.
    Thanks,
    Latha

    You can use the CMSPI implemented by Documentum. But it is a separate
    license.
    <Sailatha Kapavarapu> wrote in message news:[email protected]..
    Hi,
    I want to migrate content from BEA Repository to Documentum ContentRepository. I would like to know if there are any standard API's to display
    content from Documentum to Portal jsp pages?
    >
    Any help is greatly appreciated.
    Thanks,
    Latha

  • Access to Sharepoint repository using WEBDAV (From ECC 6.)

    Hi SDN,
    Customer asks me to find a way to access from ECC 6.0 to his own repository on Sharepoint Server using WebDav Protocol.
    I'm searching for documentation regarding SAP and WevDav and every docs indicates a need to use WEB AS JAVA / Portal KM
    For me this really makes sense but, someone knows a way to access sharepoint repository from ECC 6.0 using an HTTP RFC connection or some BSP that already exists?
    Thanks and best Regards,
    Pedro Rodrigues

    Hi Kasturi,
    What you exactly want to do because your query not clearly visible to anyone?
    Regards

  • How put content from Bea repository

    I can't put content from bea repository to a jsp, i read the e-docs of portal 10, but it didn't work.. someone can help me with that.. some link that show how to do it?
    Some tutorial or manual to do it.
    PS: I use weblogic portal 10 ??.

    There is no API or tooling to approve content in bulk, but you could use the existing API to recursively traverse the content by path and approve as you go. We have an enhancement request covering the need for bulk approval.
    -Ryan

  • GetContextURL returns null using the default ECM repository

    Hello experts,
    This is the scenario.
    We are using the SAP ECM repositoy for document storage in our BPM proyect. In this case we are using the default configuration and repository location  (ecm/default  and DefaultUser), but after the upload, when i try to get the document URL with the method getContentURL(), returns null.
    The ECM documentarion saids than this condition is expected when using a third party repostiory, but this is not the case.
    I appreciate a lot your advices and recomendations,
    Best regards!
    Julio C. Leyva

    Hi Vasil,
    We didn't resolve this issue by this method, because we are using the default ECM repository witch doesn't support the operation getContextURL() and gets the "null" result. If you are using a different repository maybe works.
    Re-checking the API specification, saids:
    getContentURL
    java.lang.String getContentURL() throws InvalidStateException, RepositoryException  Returns a URL that can be used to retrieve the content directly from the respective backend, thus bypassing ECM. Note that this URL might have several restrictions which depend on the connector's backend store, such as a limited lifetime or requiring a user to authenticate with different credentials than the ones used to connect to ECM. Other stores might provide no content URL at all, in which case this method returns null. Applications might want to consider utilizing the ECM WebDAV server to present their users a URL that is located on the same system as ECM.  
    Finally, you would consider to expose a webservice (EJB Session Bean) witch encapsulates the ECMI implementation and extract your file content as a binary array (encode/decode), sending as the input your path/fileName for lookup in the ECM repository.
    Regards!

  • BEA Repository Authentication Error...PROD issues...

    Hi,
    In Content management ...
    1. When I am trying to add Node, Content, content type etc. I am getting this error " Error Authenticating to repository: BEA Repository" in alert window.
    and also getting AuthenticationException on the page.
    2. To fix the above issue I was trying to edit or add Repository configuration settings, it says "com.bea.content.spi.internal.RepositoryImpl is not a valid implementation" and not allowing me to update the Repository configuration settings.
    So I am completely stuck on the above PRODUCTION issues since one week but no proper solution for any issue. Could anyone please help me in fixing the PROD issues?
    Thanks.

    Hi,
    This is the complete stack trace for Authentication Exception..
    Defined Types for Repository: BEA Repository An exception has been thrown while trying to render this page.
    Exception Message:
    Error authenticating to repository: BEA Repository
    ---Begin Stack Trace---
    com.bea.content.AuthenticationException: Error authenticating to repository: BEA Repository at com.bea.content.manager.internal.RepositoryManagerImpl.getTicket(Ljava/lang/String;)Lcom/bea/content/spi/Ticket;(RepositoryManagerImpl.java:264) at com.bea.content.manager.internal.ObjectClassOpsImpl.getObjectClassOps(Ljava/lang/String;)Lcom/bea/content/spi/ObjectClassOps;(ObjectClassOpsImpl.java:272) at com.bea.content.manager.internal.ObjectClassOpsImpl.getObjectClasses(Ljava/lang/String;)[Lcom/bea/content/ObjectClass;(ObjectClassOpsImpl.java:409) at com.bea.jsptools.content.HierarchyServlet.getSchemas(Ljavax/servlet/http/HttpServletRequest;Lcom/bea/jsptools/common/PrunableTreeNode;I)Ljava/util/List;(HierarchyServlet.java:568) at jsp_servlet._cmstools.__manage_schemas._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(__manage_schemas.java:404) at weblogic.servlet.jsp.JspBase.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(PortalServletFilter.java:293) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V(RequestDispatcherImpl.java:644) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(Ljava/io/Writer;)Z(JspContent.java:533) at com.bea.netuix.nf.ControlLifecycle$1.visit(Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;)Z(ControlLifecycle.java:495) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;)V(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;)V(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;)V(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;)V(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;)V(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;)V(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Lcom/bea/netuix/nf/concurrency/ControlTreeWalkerPool;)V(ControlTreeWalker.java:247) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;)V(ControlTreeWalker.java:105) at com.bea.netuix.nf.Lifecycle.run(Lcom/bea/netuix/nf/UIControl;[Lcom/bea/netuix/nf/VisitorType;)V(Lifecycle.java:356) at com.bea.netuix.nf.UIControl.render()V(UIControl.java:536) at com.bea.netuix.servlets.controls.PresentationContext.render(Ljavax/servlet/http/HttpServletRequest;)V(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(Lcom/bea/netuix/servlets/controls/PresentationContext;Ljavax/servlet/http/HttpServletRequest;)V(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag()I(RenderChild.java:58) at jsp_servlet._framework._skeletons._beatools.__gridlayout._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(__gridlayout.java:193) at weblogic.servlet.jsp.JspBase.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
    ---End Stack Trace---
    I am deploying the application in exploded mode to change the repository settings...but still when I am trying to submit the changes in settings it says  "com.bea.content.spi.internal.RepositoryImpl is not a valid implementation". So I tried to change the settings directly in application-config.xml and restarted the server but still getting exception. As it is authentication exception I tried in 2 approaches one with blank username/password  and the other is non-blank, but no use in either approach.
    My first and primary problem is I am getting Authentication Exception and second problem is I am unable to change the settings in exploded mode too.
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Has anyone used JAAS with WebLogic?

    Has anyone used JAAS with Weblogic? I was looking at their example, and I have a bunch of questions about it. Here goes:
    Basically the problem is this: the plug-in LoginModule model of JAAS used in WebLogic (with EJB Servers) seems to allow clients to falsely authenticate.
    Let me give you a little background on what brought me to this. You can find the WebLogic JAAS example (to which I refer below) in the pdf: http://e-docs.bea.com/wls/docs61/pdf/security.pdf . (I believe you want pages 64-74) WebLogic, I believe goes about this all wrong. They allow the client to use their own LoginModules, as well as CallBackHandlers. This is dangerous, as it allows them to get a reference (in the module) to the LoginContext's Subject and authenticate themselves (i.e. associate a Principal with the subject). As we know from JAAS, the way AccessController checks permissions is by looking at the Principal in the Subject and seeing if that Principal is granted the permission in the "policy" file (or by checking with the Policy class). What it does NOT do, is see if that Subject
    has the right to hold that Principal. Rather, it assumes the Subject is authenticated.
    So a user who is allowed to use their own Module (as WebLogic's example shows) could do something like:
    //THEIR LOGIN MODULE (SOME CODE CUT-OUT FOR BREVITY)
    public class BasicModule implements LoginModule
    private NameCallback strName;
    private PasswordCallback strPass;
    private CallbackHandler myCB;
    private Subject subj;
             //INITIALIZE THIS MODULE
               public void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options)
                      try
                           //SET SUBJECT
                             subj = subject;  //NOTE: THIS GIVES YOU REFERENCE
    TO LOGIN CONTEXT'S SUBJECT
                                                     // AND ALLOWS YOU TO PASS
    IT BACK TO THE LOGIN CONTEXT
                           //SET CALLBACKHANDLERS
                             strName = new NameCallback("Your Name: ");
                             strPass = new PasswordCallback("Password:", false);
                             Callback[] cb = { strName, strPass };
                           //HANDLE THE CALLBACKS
                             callbackHandler.handle(cb);
                      } catch (Exception e) { System.out.println(e); }
         //LOG THE USER IN
           public boolean login() throws LoginException
              //TEST TO SEE IF SUBJECT HOLDS ANYTHING YET
              System.out.println( "PRIOR TO AUTHENTICATION, SUBJECT HOLDS: " +
    subj.getPrincipals().size() + " Principals");
              //SUBJECT AUTHENTICATED - BECAUSE SUBJECT NOW HOLDS THE PRINCIPAL
               MyPrincipal m = new MyPrincipal("Admin");
               subj.getPrincipals().add(m);
               return true;
             public boolean commit() throws LoginException
                   return true;
        }(Sorry for all that code)
    I tested the above code, and it fully associates the Subject (and its principal) with the LoginContext. So my question is, where in the process (and code) can we put the LoginContext and Modules so that a client cannot
    do this? With the above example, there is no Security. (a call to: myLoginContext.getSubject().doAs(...) will work)
    I think the key here is to understand JAAS's plug-in security model to mean:
    (Below are my words)
    The point of JAAS is to allow an application to use different ways of authenticating without changing the application's code, but NOT to allow the user to authenticate however they want.
    In WebLogic's example, they unfortunately seem to have used the latter understanding, i.e. "allow the user to authenticate however they want."
    That, as I think I've shown, is not security. So how do we solve this? We need to put JAAS on the server side (with no direct JAAS client-side), and that includes the LoginModules as well as LoginContext. So for an EJB Server this means that the same internal permission
    checking code can be used regardless of whether a client connects through
    RMI/RMI-IIOP/JEREMIE (etc). It does NOT mean that the client gets to choose
    how they authenticate (except by choosing YOUR set ways).
    Before we even deal with a serialized subject, we need to see how JAAS can
    even be used on the back-end of an RMI (RMI-IIOP/JEREMIE) application.
    I think what needs to be done, is the client needs to have the stubs for our
    LoginModule, LoginContext, CallBackHandler, CallBacks. Then they can put
    their info into those, and everything is handled server-side. So they may
    not even need to send a Subject across anyways (but they may want to as
    well).
    Please let me know if anyone sees this problem too, or if I am just completely
    off track with this one. I think figuring out how to do JAAS as though
    everything were local, and then putting RMI (or whatever) on top is the
    first thing to tackle.

    Send this to:
    newsgroups.bea.com / security-group.

  • Error occurred while finding users using API with custom field

    Hi All,
    I am getting the following error while searching user using API with custom attribute. Did anybody faced the same problem before ?
    Hashtable<Object,Object> env = new Hashtable<Object,Object>();
    env.put("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
    env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, "t3://localhost:14000");
    System.setProperty("java.security.auth.login.config","C:\\Oracle\\Middleware\\Oracle_IDM1\\designconsole\\config\\authwl.conf");
    System.setProperty("OIM.AppServerType", "wls");
    System.setProperty("APPSERVER_TYPE", "wls");
    tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env, "xelsysadm", "Weblogic123$");
    OIMClient client = new OIMClient(env);
    client.login("xelsysadm", "Weblogic123$".toCharArray());
    SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
    tcUserOperationsIntf moUserUtility = (tcUserOperationsIntf)ioUtilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    Hashtable mhSearchCriteria = new Hashtable();
    mhSearchCriteria.put("USR_UDF_ACTUALSTARTDATE",formatter.format(date));
    tcResultSet moResultSet = moUserUtility.findAllUsers(mhSearchCriteria);
    printTcResultSet(moResultSet,"abcd");
    log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).
    log4j:WARN Please initialize the log4j system properly.
    Exception in thread "main" Thor.API.Exceptions.tcAPIException: Error occurred while finding users.
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl_1036_WLStub.findAllUsersx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at com.sun.proxy.$Proxy2.findAllUsersx(Unknown Source)
    at Thor.API.Operations.tcUserOperationsIntfDelegate.findAllUsers(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    at com.sun.proxy.$Proxy3.findAllUsers(Unknown Source)
    at oim.standalone.code.OIMAPIConnection.usersearch(OIMAPIConnection.java:209)
    at oim.standalone.code.OIMAPIConnection.main(OIMAPIConnection.java:342)
    Caused by: Thor.API.Exceptions.tcAPIException: Error occurred while finding users.
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.findAllUsers(tcUserOperationsBean.java:4604)
    at Thor.API.Operations.tcUserOperationsIntfEJB.findAllUsersx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1614.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy347.findAllUsersx(Unknown Source)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl.findAllUsersx(Unknown Source)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Thank you

    Hi J,
    Thanks for the reply. But the code is working fine for OOTB attributes and  for 11g API i am getting permission exception
    Exception in thread "main" oracle.iam.platform.authz.exception.AccessDeniedException: You do not have permission to search the following user attributes: USR_UDF_ACTUALSTARTDATE.
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.search(UserManagerImpl.java:1465)
    at sun.reflect.GeneratedMethodAccessor1034.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy366.search(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManagerEJB.searchx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1449.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy365.searchx(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.searchx(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: oracle.iam.identity.exception.SearchAttributeAccessDeniedException: You do not have permission to search the following user attributes: USR_UDF_ACTUALSTARTDATE.
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.search(UserManagerImpl.java:1462)
    ... 44 more

Maybe you are looking for

  • PL/SQL component align right

    Hi guys, I was wondering if there was a way to align "Reports Region" PL/SQL components next to each other. I have 2 belonging to the same parent but they are displayed below each other. I tried float:right in my HTP.p code and align=right in the "Re

  • Remove All from Page Item

    Hi! I 've a report that does't make sense to use a date with All in the Page Item. Can anybody tell me how can I remove <All> from the page item. Thanks a lot, Leila

  • Anyone experiencing app crash after upgrade to snow leopard?

    Hi, I am so frustrating right now.  After upgraded my iMac to snow leopard, my adobe bridge will crash whenever I want to move something to another location. Anyone experiencing the same problem? Since I couldn't find any discussion about this issue

  • Set JAVA_HOME before running cloudscape -start

    Hi after i installed J2EE , i have made the following steps through DOS : 1- set J2EE_HOME=C:\j2sdkee1.2.1 2- set PATH=%PATH%;C:\j2sdkee1.2.1\bin 3- cloudscape -start ---- in this step i have got an error saying "set JAVA_HOME before running this scr

  • Don't format a Muvo in Vi

    I have a Muvo TX FM and made the mistake of formatting it in Vista. I could see the files in Windows, but not in the memory. Then, I installed the latest driver for XP and tried the utility to update firmware, without any luck. Run the same utility i