Studio Roles

I am new to BPM and I have not found a way to import roles from LDAP or other provisioning system into my Studio project. I see configuration for the server, but it appears there is a gap if the roles are not available to me at development time vs. deployment.
If someone could point me in the right direction I would really appreciate it

Hi SJackson,
There are two distinct role concepts in BPM. In Studio, the process that is defined uses abstract roles - which, if done properly, will rarely equal what you have in LDAP as a role. For example, let's say you have a business process for Submitting Expense Reports. To make it simple, you have 3 basic steps - 1. Submit Expense Report 2. Review Expense Report 3. Reimburse Expenses
In most companies, a CEO, Developer, and a Marketing Assistant could all Submit expenses but their organizational roles are all different with respect to their daily responsibilities. For BPM Studio, the role would be more abstract such as Expense Submitter, Expense Approver, and Expense Payer. As you can see, these are abstract roles that can be applied across different companies but more importantly, it can be used within the same company across different departments or business units.
At deployment time, you will relate your Abstract Studio roles with your Organization Roles which may or may not be exactly as your LDAP roles still. Again, it may be for the same issue described above where the activity spans so many roles, there is not one Organization role that is kept in your LDAP.
All of that said, what might be closer to LDAP roles and BPM Roles are BPM Groups. A BPM Group is a collection of BPM roles (and other groups) that can be assigned a Participant. This might describe a person's job function or part of a job function more clearly than BPM roles. For example, a Marketing Assistant could be part of a Group called Tradeshow Manager which contains the Expense Submitter role. Similarly the CEO could be part of a Group called CEO that contains the "Tradeshow Manager" group (which inherits the Expense Submitter role and potentially others.
Hopefully that sheds more light on the usage of Roles/Groups and their relationship to LDAP.

Similar Messages

  • Problem about Organization Unit and Role in BPM

    Hi,
    I am developing BPM project which have some roles and will be deployed for many organization. In JDev, I want to assign users to each role and organization and when the project is deployed to WorkSpace, each user in specify org can only manipulate with his task (other user can not visible). I tried configure in Jdev and WorkSpace but it is working incorrecttly
    I used BPM, Jdev 11g.
    Some body help ?
    Thanks.

    Hi
    1. When you add new Roles, Users to Roles etc from JDev and Deploy it, ONLY for the first time deployment, all these information is added to the Workspace and you can see it in Admin tab of workspace. You should see them in one of the tables of soainfra like BPM_CUBE_ROLE like that. The point is, after first deployment, when you add more users to the same Role, they will not be reflected in Workspace. I guess this was Designed intentionally to avoid overwriting of users with every redeployment. The only way to add more Users or Edit Users for Each Role is from the bpm/workspace application with adminstrator Role.
    This makes sense also. Beacause when we develop any BPM Application, all we consider is the Roles names called as Studio Roles (or Swimlanes etc). They are just dummy and virutal Roles. We add all Tasks for each Role. Thats it. Then you Deploy them. And only in Workpace, we map these dummy studio Roles to the real Users from the Security Providers of that SOA/BPM Domain like from default seucrity provider or any external configured AD LDAP etc.
    Unless there is a very strong reason, I would not recommend to add Users/Groups etc to the Studio Roles in the JDeveloper itself. Worst case, after you deploy it, if you see any discrepencies, just delete the Roles from workspace admin. Redeploy your bpm app and it will create the new Roles.
    Thanks
    Ravi Jegga

  • BPM Workspace Roles

    Hi ;
    I need to get my process' roles (not application role) via api, and set ldap group or user to this roles. Is it possible? And any API is available that my access?
    Thanks..

    Hi
    1. This information will be in one of the attributes in the out of box payload that has all the Task details. Using APIs, first get Task, SystemAttributesType and try the method getAssignees(). Look at the API of oracle.bpel.services.workflow.task.model.SystemAttributesType. For quick testing, for a Role, assign some Groups, direct users and also some other roles. Then try all the APIs related to this.
    2. I instantiated a simple Task. Sent it to Reviewer and then Supervisor. So I have 3 instances. Went to EM Console, and inspect the Flow and the payload for this instance. For each Task, I can see the input and output payload. In the payload, I could see a section like this, that has the JDeveloper Studio Roles associated for that task.
    Other members can share if there is any other simpler way to get this.
    Thanks
    Ravi Jegga
    import oracle.bpel.services.workflow.task.model.Task;
    import org.w3c.dom.Element;
    import oracle.bpel.services.workflow.task.model.SystemAttributesType;
    Task task = // Get this object using the APIs. Google to find lot of code samples for this..
    Element taskPayload = task.getPayloadAsElement();
    SystemAttributesType taskSystemAttributes = task.getSystemAttributes();
    taskSystemAttributes.getAssignees();
    // In the Task Payload from EM Console, this is the section I could see within the full payload
              <systemAttributes>
                <assignees>
                  <id>MyApp.ReviewRequest</id>
                  <displayName>MyApp.ReviewRequest</displayName>
                  <type>application_role</type>
                </assignees>
              </systemAttributes>

  • BPM Organization unit problem

    When I tried to preview participant details in order to assign roles or etc in WebConsole application... I am facing the following exception .BPM could not create Human Participant. I am using Hyrid LDAP configuration with OID.
    javax.faces.el.EvaluationException: java.lang.NullPointerException
    [     (cont)     ] Main:      at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
    [     (cont)     ] Main:      at fuego.jsfcomponents.ui.UIListComponentBase.broadcast(UIListComponentBase.java:61)
    [     (cont)     ] Main:      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:249)
    [     (cont)     ] Main:      at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:307)
    [     (cont)     ] Main:      at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
    [     (cont)     ] Main:      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    [     (cont)     ] Main:      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    [     (cont)     ] Main:      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    [     (cont)     ] Main:      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    [     (cont)     ] Main:      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    [     (cont)     ] Main:      at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
    [     (cont)     ] Main:      at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    [     (cont)     ] Main:      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    [     (cont)     ] Main:      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    [     (cont)     ] Main:      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    [     (cont)     ] Main:      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    [     (cont)     ] Main:      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    [     (cont)     ] Main:      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    [     (cont)     ] Main:      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    [     (cont)     ] Main:      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    [     (cont)     ] Main:      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    [     (cont)     ] Main:      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
    [     (cont)     ] Main:      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    [     (cont)     ] Main:      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    [     (cont)     ] Main:      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    [     (cont)     ] Main:      at java.lang.Thread.run(Unknown Source)
    [     (cont)     ] Main: Caused by: java.lang.NullPointerException
    [     (cont)     ] Main:      at fuego.directory.provider.jdbc.JDBCParticipantsAccessor.createHumanParticipant(JDBCParticipantsAccessor.java:200)
    [     (cont)     ] Main:      at fuego.directory.provider.jdbc.JDBCParticipantsAccessor.createHumanParticipant(JDBCParticipantsAccessor.java:180)
    [     (cont)     ] Main:      at fuego.directory.hybrid.jdbc.DelegatorFuegoParticipantAccessor.updateOrPersistHumanParticipant(DelegatorFuegoParticipantAccessor.java:226)
    [     (cont)     ] Main:      at fuego.directory.hybrid.HybridParticipantAccessor.updateHumanParticipant(HybridParticipantAccessor.java:355)
    [     (cont)     ] Main:      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [     (cont)     ] Main:      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [     (cont)     ] Main:      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [     (cont)     ] Main:      at java.lang.reflect.Method.invoke(Unknown Source)
    [     (cont)     ] Main:      at fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:756)
    [     (cont)     ] Main:      at $Proxy6.updateHumanParticipant(Unknown Source)
    [     (cont)     ] Main:      at fuego.directory.hybrid.HybridParticipantAccessor.fetchHumanParticipant(HybridParticipantAccessor.java:185)
    [     (cont)     ] Main:      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [     (cont)     ] Main:      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [     (cont)     ] Main:      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [     (cont)     ] Main:      at java.lang.reflect.Method.invoke(Unknown Source)
    [     (cont)     ] Main:      at fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:756)
    [     (cont)     ] Main:      at $Proxy6.fetchHumanParticipant(Unknown Source)
    [     (cont)     ] Main:      at fuego.directory.DirHumanParticipant.fetch(DirHumanParticipant.java:417)
    [     (cont)     ] Main:      at fuego.mami.NOrganizationManager.getParticipantById(NOrganizationManager.java:2072)
    [     (cont)     ] Main:      at fuego.mami.NOrganizationManager.loadParticipant(NOrganizationManager.java:5442)
    [     (cont)     ] Main:      at fuego.mami.NOrganizationManager.getParticipant(NOrganizationManager.java:2037)
    [     (cont)     ] Main:      at fuego.webconsole.model.ParticipantFilteredHandler.modifyParticipant(ParticipantFilteredHandler.java:224)
    My Configuration file is like the following ;
    <?xml version="1.0" encodxxx="UTF-8"?>
    <?fuego version="6.1 ALPHA" application="albpmenterprise"?>
    <!-- This file contains the propper attribute mappxxx for the FDI Generic Ldap Provider usxxx Oracle Internet Directory.
         * Preference for group object
              <preference id="assignedParticipants.containsId" value="true"/>
              This preference is useful to speed up the provider and it can only be used if the assignedParticipant value is the dn of the user and the dn contains the participant id
              <preference id="assignedParticipants.containsId" value="true"/>
              This preference is useful to speed up the provider and it can only be used if the assignedGroup value is the dn of the group and the dn contains the group id
              <preference id="modifyTimeStamp.suffix" value="Z"/>
              This preference is useful when the suffix mofidyTimeStamp format of your ldap is not .OZ.
    -->
    <config>
         <object id="person">
              <object-filter>
                   <![CDATA[
                        (objectclass=person)
                   ]]>
              </object-filter>
              <relative-dn>ou=xxxBANK,cn=Users</relative-dn>
              <attribute id="id" value="uid"/>
              <attribute id="lastName" value="sn"/>
              <attribute id="firstName" value="givenname"/>
              <attribute id="displayName" value="displayname"/>
              <attribute id="mail" value="mail"/>
              <attribute id="telephoneNumber" value="telephonenumber"/>
              <attribute id="employeeId" value="employeeNumber"/>
              <attribute id="thumbnailPhoto" value="thumbnailPhoto"/>
              <attribute id="manager" value="manager"/>
              <attribute id="modifyTimeStamp" value="modifyTimestamp"/>
         </object>
         <object id="group">
              <object-filter>
                   <![CDATA[
                        (objectclass=xxxGroupObject)
                   ]]>
              </object-filter>
              <relative-dn>
                   <!-- the relative dn for group --></relative-dn>
              <attribute id="id" value="cn"/>
              <attribute id="modifyTimeStamp" value="modifyTimestamp"/>
              <attribute id="displayName" value="cn"/>
              <attribute id="name" value="cn"/>
              <attribute id="description" value="description"/>
              <attribute id="assignedParticipants" value="uniquemember"/>
              <attribute id="assignedGroups" value="uniquemember"/>
              <attribute id="ou" value="distxxxuishedName"/>
         </object>
         <object id="ou">
              <object-filter>
                   <![CDATA[
                        (objectclass=xxxOUObject)
                   ]]>
              </object-filter>
              <relative-dn>
                   <!-- the relative dn for ous -->
              </relative-dn>
              <attribute id="name" value="ou"/>
              <attribute id="description" value="description"/>
         </object>
    </config>
    I am looking forward to your advice ..
    thanks a lot
    ilker
    Edited by: rernas on 22.Ara.2009 23:35

    Hi
    1. When you add new Roles, Users to Roles etc from JDev and Deploy it, ONLY for the first time deployment, all these information is added to the Workspace and you can see it in Admin tab of workspace. You should see them in one of the tables of soainfra like BPM_CUBE_ROLE like that. The point is, after first deployment, when you add more users to the same Role, they will not be reflected in Workspace. I guess this was Designed intentionally to avoid overwriting of users with every redeployment. The only way to add more Users or Edit Users for Each Role is from the bpm/workspace application with adminstrator Role.
    This makes sense also. Beacause when we develop any BPM Application, all we consider is the Roles names called as Studio Roles (or Swimlanes etc). They are just dummy and virutal Roles. We add all Tasks for each Role. Thats it. Then you Deploy them. And only in Workpace, we map these dummy studio Roles to the real Users from the Security Providers of that SOA/BPM Domain like from default seucrity provider or any external configured AD LDAP etc.
    Unless there is a very strong reason, I would not recommend to add Users/Groups etc to the Studio Roles in the JDeveloper itself. Worst case, after you deploy it, if you see any discrepencies, just delete the Roles from workspace admin. Redeploy your bpm app and it will create the new Roles.
    Thanks
    Ravi Jegga

  • Calling ESS Page from HTML

    Is there an easy way to invoke an ESS provided page through pure HTML ? (Using <a href >
    I am trying to avoid having to witre java code if possible.

    You can use the Javascript based client side eventing mechanism to navigate to an ESS page.  Find the desired page in the Portal Content Studio (role editor) and note the URI.  You can find this by clicking on the page and choosing "Properties".  Locate the "PCD Location" property box.  It will be something like:
    portal_content/every_user/general/eu_role/com.sap.portal.mypages/com.sap.portal.eu_ws/com.sap.portal.home
    Copy this value to clipboard and Change to:
    ROLES://portal_content/every_user/general/eu_role/com.sap.portal.mypages/com.sap.portal.eu_ws/com.sap.portal.home
    Use this value in a call to the doNavigate() function:
    <A HREF="welcome" onclick="return EPCM.doNavigate ('ROLES://portal_content/every_user/general/eu_role/com.sap.portal.mypages/com.sap.portal.eu_ws/com.sap.portal.home')">This is the Welcome Page</A>

  • NPE when start up JDeveloper when choose Studio Developer Role

    JDeveloper was not responding. I closed the process from Task Manager. Restarted my PC. When I try to start up JDeveloper again with Studio Developer Role again, I keep on getting this NPE in Feed Back Reporting Tool, and JDeveloper is hanging, no respond. It is totally not usable. Please help.
    JDeveloper Version 12.1.2.0.0
    Title: NPE in o.javatools.internal.ui.EventQueryWrapper:169
    Uncaught exception
    java.lang.NullPointerException
    com.oracle.jdeveloper.nbwindowsystem.NbDockStation.setDockableVisible(NbDockStation.java:391)
    com.oracle.jdeveloper.nbwindowsystem.NbDockStation.activateDockable(NbDockStation.java:444)
    com.oracle.jdeveloper.nbwindowsystem.NbDockStation.onWindowSystemStarted(NbDockStation.java:566)
    com.oracle.jdeveloper.nbwindowsystem.Installer$1.afterLoad(Installer.java:49)
    org.netbeans.core.windows.WindowManagerImpl.fireEvent(WindowManagerImpl.java:1940)
    org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:83)
    org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:234)
    j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:641)
    j.a.EventQueue.access$000(EventQueue.java:84)
    j.a.EventQueue$1.run(EventQueue.java:602)
    j.a.EventQueue$1.run(EventQueue.java:600)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:611)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)

    You can try to revenge your systemxx.xx.xx folder and then restart jdev. Jdev then behaves like it is started the first time.
    To find the folder check out http://tompeez.wordpress.com/2011/08/13/how-to-find-and-reset-the-system11-x-x-x-folder-for-a-jdeveloper-installation/
    Timo

  • How to get security roles in a JSF portlet

    I need to get the LDAP user-roles available in the Sun Portal Server 7 in my JSF-168 portlet.
    I've added the mapping file, updated the portlet.xml and web.xml, deployed the portlet (psconsole). But the portlet shows the "content not available" error with javax....title title.
    I've probably messed up the descriptors, but I don't see what is wrong. Here they are:
    roleMaps.properties
    cn\=VSM.Administrator,dc\=neco,dc\=cz=Administrator
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4">
      <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
      </context-param>
      <context-param>
        <param-name>javax.faces.CONFIG_FILES</param-name>
        <param-value>/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml</param-value>
      </context-param>
      <context-param>
        <param-name>com.sun.faces.validateXml</param-name>
        <param-value>true</param-value>
      </context-param>
      <context-param>
        <param-name>com.sun.faces.verifyObjects</param-name>
        <param-value>false</param-value>
      </context-param>
      <filter>
        <filter-name>UploadFilter</filter-name>
        <filter-class>com.sun.rave.web.ui.util.UploadFilter</filter-class>
        <init-param>
          <description>
              The maximum allowed upload size in bytes.  If this is set
              to a negative value, there is no maximum.  The default
              value is 1000000.
            </description>
          <param-name>maxSize</param-name>
          <param-value>1000000</param-value>
        </init-param>
        <init-param>
          <description>
              The size (in bytes) of an uploaded file which, if it is
              exceeded, will cause the file to be written directly to
              disk instead of stored in memory.  Files smaller than or
              equal to this size will be stored in memory.  The default
              value is 4096.
            </description>
          <param-name>sizeThreshold</param-name>
          <param-value>4096</param-value>
        </init-param>
      </filter>
      <filter-mapping>
        <filter-name>UploadFilter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
      </filter-mapping>
      <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet>
        <servlet-name>ExceptionHandlerServlet</servlet-name>
        <servlet-class>com.sun.errorhandler.ExceptionHandler</servlet-class>
        <init-param>
          <param-name>errorHost</param-name>
          <param-value>localhost</param-value>
        </init-param>
        <init-param>
          <param-name>errorPort</param-name>
          <param-value>25444</param-value>
        </init-param>
      </servlet>
      <servlet>
        <servlet-name>ThemeServlet</servlet-name>
        <servlet-class>com.sun.rave.web.ui.theme.ThemeServlet</servlet-class>
      </servlet>
      <servlet>
        <description>Generated By Sun Java Studio Creator</description>
        <display-name>CreatorPortlet Wrapper</display-name>
        <servlet-name>VSMPortal</servlet-name>
        <servlet-class>org.apache.pluto.core.PortletServlet</servlet-class>
        <init-param>
          <param-name>portlet-class</param-name>
          <param-value>com.sun.faces.portlet.FacesPortlet</param-value>
        </init-param>
        <init-param>
          <param-name>portlet-guid</param-name>
          <param-value>VSMPortal.VSMPortal</param-value>
        </init-param>
      </servlet>
      <servlet-mapping>
        <servlet-name>ExceptionHandlerServlet</servlet-name>
        <url-pattern>/error/ExceptionHandler</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>ThemeServlet</servlet-name>
        <url-pattern>/theme/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>VSMPortal</servlet-name>
        <url-pattern>/VSMPortal/*</url-pattern>
      </servlet-mapping>
      <welcome-file-list>
        <welcome-file>faces/null</welcome-file>
      </welcome-file-list>
      <error-page>
        <exception-type>javax.servlet.ServletException</exception-type>
        <location>/error/ExceptionHandler</location>
      </error-page>
      <error-page>
        <exception-type>java.io.IOException</exception-type>
        <location>/error/ExceptionHandler</location>
      </error-page>
      <error-page>
        <exception-type>javax.faces.FacesException</exception-type>
        <location>/error/ExceptionHandler</location>
      </error-page>
      <error-page>
        <exception-type>com.sun.rave.web.ui.appbase.ApplicationException</exception-type>
        <location>/error/ExceptionHandler</location>
      </error-page>
      <jsp-config>
        <jsp-property-group>
          <url-pattern>*.jspf</url-pattern>
          <is-xml>true</is-xml>
        </jsp-property-group>
      </jsp-config>
         <security-role>
              <role-name>Administrator</role-name>
         </security-role>          
    </web-app>
    portlet.xml
    <?xml version='1.0' encoding='UTF-8' ?>
    <portlet-app xmlns='http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd                         http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd' version='1.0'>
         <portlet>
              <description>Created By Java Studio Creator</description>
              <portlet-name>VSMPortal</portlet-name>
              <display-name>VSMPortal Portlet</display-name>
              <portlet-class>com.sun.faces.portlet.FacesPortlet</portlet-class>
              <init-param>
                   <name>com.sun.faces.portlet.INIT_VIEW</name>
                   <value>/Uctarna.jsp</value>
              </init-param>
              <expiration-cache>0</expiration-cache>
              <supports>
                   <mime-type>text/html</mime-type>
                   <portlet-mode>VIEW</portlet-mode>
              </supports>
              <supported-locale>en</supported-locale>
              <portlet-info>
                   <title>VSMPortal</title>
                   <short-title>VSMPortal</short-title>
                   <keywords>Creator</keywords>
              </portlet-info>
              <security-role-ref>
                   <role-name>Administrator</role-name>
                   <role-link>Administrator</role-link>
              </security-role-ref>          
         </portlet>
    </portlet-app>If I don't use the security-role and security-role-ref tags, the portlet works, and the isUserInRole method obviously doesn't.

    Nobody uses the LDAP roles in a portlet? Anybody knows other thread discussing similar issue (I can't find anything)?

  • Error while updating a custom Windows Azure Diagnostics configuration xml from powershell. "Invalid update to extension reference for role"

    I am attempting to upload a manually edited WADConfig xml to my VM. The WAD service is functioning correctly, I needed to add some custom WinEventLogs. The prescribed steps result in an error.
    What am I overlooking?
    I am following these instructions:
    Step 5: Remotely install Diagnostics on your Azure Virtual Machine
    azure.microsoft.com/en-in/documentation/articles/cloud-services-dotnet-diagnostics/#virtual-machine
    $storage_name = "wadexamplevm"
    $key = "<StorageAccountKey>"
    $config_path="c:\users\<user>\documents\visual studio 2013\Projects\WadExampleVM\WadExampleVM\WadExample.xml"
    $service_name="wadexamplevm"
    $vm_name="WadExample"
    $storageContext = New-AzureStorageContext
    -StorageAccountName $storage_name -StorageAccountKey $key
    $VM1 = Get-AzureVM
    -ServiceName $service_name -Name $vm_name
    $VM2 = Set-AzureVMDiagnosticsExtension
    -DiagnosticsConfigurationPath $config_path
    -Version "1.*"
    -VM $VM1 -StorageContext $storageContext
    $VM3 = Update-AzureVM
    -ServiceName $service_name -Name $vm_name
    -VM $VM2.VM
    Unfortunately, I am receiving this error:
    Update-AzureVM : BadRequest: Invalid update to extension reference for role: XXXXXX and reference: IaaSDiagnostics.
    What's missing from the above script?

    Hi,
    Since Azure SDK 2.5 uses the extension model the diagnostics extension, the configuration and the connection string to the diagnostic storage are no longer part of the deployment package and cscfg. All the diagnostics configuration is contained within the
    wadcfgx. The advantage with this approach is that diagnostics agent and settings are decoupled from the project and can be dynamically enabled and updated even after your application is deployed. 
    Due to this change some existing workflows need to be rethought – instead of configuring the diagnostics as part of the application that gets deployed to each environment you can first deploy the application to the environment and then apply the diagnostics
    configuration for it.  When you publish the application from Visual Studio this process is done automatically for you. However if you were deploying your application outside of VS using PowerShell then you have to install the extension separately through
    PowerShell.
    There PowerShell cmdlets for managing the diagnostics extensions on a Cloud Service are -
    Set-AzureServiceDiagnosticsExtension
    Get-AzureServiceDiagnosticsExtension
    Remove-AzureServiceDiagnosticsExtension
    You can use the Set-AzureServiceDiagnosticsExtension method to enable diagnostics extension on a cloud service. One of the parameters on this cmdlet is the XML configuration file. This file is slightly different from the diagnostics.wadcfgx file. You can
    create this file from scratch by either following the article that you are referring to or  you can modify the wadcfgx file and pass in the modified file as a parameter to the powershell cmdlet.
    To modify the wadcfgx file –
    Make a copy the .wadcfgx.
    Remove the following elements from the Copy:
    <DiagnosticsConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
       <PrivateConfig xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
         <StorageAccount name=" " endpoint="https://core.windows.net/" />
       </PrivateConfig>
       <IsEnabled>false</IsEnabled>
    </DiagnosticsConfiguration>
    Make sure the top of the file still has xml version and encoding –
       <?xml version="1.0" encoding="utf-8"?>
    Effectively you are stripping down the Wadcfgx to only contain the <PublicConfig> section and the <?xml> header. You can then call the PowerShell cmdlet along with the appropriate parameters for the staging slots and roles:
    $storage_name = ‘
    <storagename>’
    $key= ‘<key>’
    $service_name = '<servicename>'
    $public_config = '<thepublicconfigfrom_diagnostics.wadcfgx>'
    $storageContext = New-AzureStorageContext –StorageAccountName $storage_name –StorageAccountKey $key
    Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigurationPath $public_config –ServiceName $service_name -Slot ‘Staging’ -Role ‘WebRole1’
    Hope this helps !
    Regards,
    Sowmya

  • Diagnostics not working in web role for Azure SDK 2.5.1

    I am working with Azure SDK 2.5.1, mainly on the new designed diagnostics stuffs. However, I found I cannot get it run for my web role.
    So, I created a cloud service project, added a web role. Then, I appended one Trace message at the end of Application_Start in Global.asax.cs:
    Trace.TraceInformaction("Application_Start end.");
    After that, I right clicked the WebRole and opened the Properties tab.
    In the diagnostics config window:
    General: I choose 'Custom
    plan', also specified the storage account, keep the 'Disk
    Quota in MB' as default '4096'
    Application Logs: 'Log
    level' switch to 'All',
    others kept as default
    Other tabs are in default config settings
    After I deployed the project to cloud, I found some unexpected things:
    There is no WADLogsTable exists
    in Table storage. That's very strange, if I use a Worker Role, it would work as expected. So in web role, I just cannot find the Trace logging?
    For the performance counters, since I am using the default config with 8 counters, I can only see 8 in WADPerformanceCountersTable table
    storage. In my assumption, over time, there would be more and more values of this 8 counters transferred to this table. But it was just not happened, after several hours, it still had that 8 counter values.
    I just thought the diagnostics for Web Role just crashed or not working at all. Meanwhile, I checked the logs located at "C:\Logs\Plugins\Microsoft.Azure.Diagnostics.PaaSDiagnostics\1.4.0.0\DiagnosticsPlugin.log" in
    server, at the end of this file there is an exception said some diagnostics process exit:
    DiagnosticsPlugin.exe Error: 0 : [4/25/2015 5:38:21 AM] System.ArgumentException: An item with the same key has already been added.
    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
    at Microsoft.Azure.Plugins.Diagnostics.dll.PluginConfigurationSettingsProvider.LoadWadXMLConfig(String fullConfig)
    DiagnosticsPlugin.exe Error: 0 : [4/25/2015 5:38:21 AM] Failed to load configuration file
    DiagnosticsPlugin.exe Information: 0 : [4/25/2015 5:38:21 AM] DiagnosticPlugin.exe exit with code -105
    From MSDN,
    the code -105 means:
    The Diagnostics plugin cannot open the Diagnostics configuration file.
    This is an internal error that should only happen if the Diagnostics plugin is manually invoked, incorrectly, on the VM.
    It doesn't make sense, I did nothing to the VM.
    As I said above, I just did very tiny changes to the scaffold code generated by Visual Studio 2013. Did I do something wrong or it's a bug for Azure SDK 2.5?
    By the way, it seems everything is ok for Worker Role.

    Hi,
      This issue could be an internal issue, I do not have any update on this as of now. There was a similar issue due to a regression last month that has been resolved, however i dont think this issue is related.
      Please follow the below article on how to enable Diagnostics and let us know if it works.
    http://azure.microsoft.com/en-in/documentation/articles/cloud-services-dotnet-diagnostics/
      I will let you know if I have any update on this issue from my side.
    Regards,
    Nithin Rathnakar.

  • Displaying multiple roles related to a single key value in a single view MVC 4

    Dear Team,
             My name is Ajay Sutar. I am newly learning MVC 4, as we are about to initiate a new project in ASP .NET MVC 4. I am using a details scaffolding to display a  single
    record. but now my single employee have multiple roles. As example,
     Emp_no    |    Role                     | Salary 
     E1             | Software Engineer  | 10000
     E1             | Tester                     | 10000 
    as i have used Details scaffold and FirstOrDefault method of linq for this view, I am unable to display the second role "Tester" in the  output. only first role is geeting displayed.
    What i want is :
    Emp_no : E1                 Role: Software Engineer                  Salary:10000
                                                  Tester 

    Hello,
    Welcome to MSDN forum.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I to define permission in Task States- Designer Studio 3.1.4

    Hello, Can anybody help me please.
    Tools: OSM 7,Designer Studio 3.1.4
    The problem:
    My flow there is a lot of parallel task and my enterprise need that task state can be change for state Suspenso.(my custon task state) when the user chooses the status "pendencia" (my custon status) in the flow. When the task to reach the state "Suspenso" the user can not to change it for other state, only a specific Role (Interrupcao) can to change it for other state. I need that my task has in your state the possibility to define permission for each Role like the order has. In the order I can to define, for each transition of states (Aborted, Cancelled, In Progress, Suspended ...), which Role can to change the state of her - Order Lifecycles Policy.
    Any idea??
    Tanks!!!!

    Order lifecycle policy governs the order states, not task states.
    The user that is assigned to the task is capable of moving it into any state - there is no ability to restrict this to a role for a given state.
    Brian.

  • Adding Attachment in a single Instance BPM Studio 10.3.1

    Hello,
    I am using Oracle BPM Studio 10.3.1.0 and I am trying to create a process, where there will be an Interactive activity for a user role to upload a file (for example a .doc/docx or .pdf) and after the file is uploaded, another role will be able to download that file to their local filesystem (in the same instance).
    I can't find a way to do this.
    I have tried FileChooserDemo from this thread, How to Use FileChooser on for Client files however I can't find where or how to display the file to be downloaded, neither the file itself on the filesystem.
    I am using BPM for the first time for a project I have been assigned, so if you can please reply with good instructions.
    The Oracle BPM server and client are the same machine.
    Any help will be very appreciated.
    Elina

    Hi Elina,
    Just a couple things.
    Be careful with the fileChooser. I think you saw an old post from Lilach (Re: Browse for file where it is discussed. The file you're choosing is from your server and not from your client. It might appear that it is working from your client machine now, but that's because you are testing using your own machine and that's perceived as the "server".
    Sure you've considered this, but you might want to use the OOTB attachment feature for work item instances that comes with the Workspace.
    Dan

  • Error when downloading Netweaver developer studio

    HI,
    I was trying to Download Netweaver developer studio from SAP SDN SIte itself, Under Downloads-> SAP Netweaver Composite Envirornment
    But I am getting the below error while downloading
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.sdn.folder.sdn/com.sap.sdn.folder.application/com.sap.sdn.folder.roles/com.sap.sdn.folder.navigationroles/com.sap.sdn.folder.sdn/com.sap.sdn.role.anonymous/com.sap.sdn.tln.workset.sdnhome/com.sap.sdn.app.workset.additionalobj/com.sap.sdn.app.iview.softwaredownload
    Component Name : com.sap.sdn.softwaredownload.SoftwareDownload
    com.sap.sdn.reporting.Reporter.
    Exception id: 02:53_13/11/08_1022_3414951
    See the details for the exception ID in the log file
    Regards,
    Varun

    hi
    Try out this link for installation.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/307e90ef-0a65-2a10-e48e-c5a888c81537
    Update via this link.
    https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/ce/
    I hope this would help you.
    Thanx.

  • Deploying with Developer Studio

    Dear forumpeople,
    I'm trying to deploy a ear. file with de SAP NetWeaver Developer Studio.
    The connection with the SDM Server works fine, but with the ear. file the following error occurs:
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Only Administrators have the right to perform this operation.
    I already read about assigning the Administrators role to the 'admin' user, so I tried the 'User Management' option, found at the J2EE Engine Start page.
    Strange enough, the role 'Administrator' is assigned to 'admin'.
    Please help me on my way.
    Greetings,
    Adri

    Hi
    i am also getting same problem
    I created a new user with the name admin and i assigned the role as admistrator
    But when i want to add the user to the group
    it it showing following exception
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.user_administration/com.sap.portal.user_admin_ws/com.sap.portal.user_management/com.sap.portal.userSearch/com.sap.portal.userSearch
    Component Name : com.sap.portal.usermanagement.admin.UserSearch
    Error occurs during the rendering of jsp component.
    Exception id: 01:29_13/06/07_0026_5683050
    See the details for the exception ID in the log file
    This is the log file information
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.user_administration/com.sap.portal.user_admin_ws/com.sap.portal.user_management/com.sap.portal.userSearch/com.sap.portal.userSearch
    Component class : com.sapportals.portal.prt.component.usermanagement.admin.UserAdminComponent
    User : Administrator
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:682)
         at com.sap.security.core.admin.ComponentAccessToLogic.gotoPage(ComponentAccessToLogic.java:128)
         at com.sap.security.core.admin.UserAdminLogic.viewRolesOrGroups(UserAdminLogic.java:5049)
         at com.sap.security.core.admin.UserAdminLogic.executeRequest(UserAdminLogic.java:601)
         at com.sapportals.portal.prt.component.usermanagement.admin.UserAdminComponent.doContent(UserAdminComponent.java:71)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:109)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         ... 16 more
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2189)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:284)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:134)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:682)
         at com.sap.security.core.admin.ComponentAccessToLogic.gotoPage(ComponentAccessToLogic.java:128)
         at com.sap.security.core.admin.UserAdminLogic.viewRolesOrGroups(UserAdminLogic.java:5049)
         at com.sap.security.core.admin.UserAdminLogic.executeRequest(UserAdminLogic.java:603)
         ... 11 more
    Please help me to solve this
    Thanks and Regards
    Madhuri

  • Financial Reporting Studio Problem...

    Hi John,
    that my Variance problem was solved with the help of the last post, I created one Report in Financial Reporting Studio. But when I want to Web Preview for the report in Workspace I get the following message-
    *5200: Error executing query: Unable to obtain a connection to Hyperion Essbase. If this problem persists, please contact your administrator.com.hyperion.planning.olap.NoAvailableOlapConnectionsException*
    Then I thought of trying Print Preview which threw the same error.
    What needs to be done John?? I restarted all the services and Essabse as well. But nothing helped.
    Please advise.

    John. I am sorry to ask this, a different question. Actually I just faced a severe problem while trying that report issue. I give the details below-
    I created one group and assigned it only Dimension Editor and Application Creator roles. And further created one user and put it into that group.
    Next created one application(*TestApp*) in Workspace yesterday. Now as I faced the FR issue and according to you I created one application(*app*) in Workspace, this time with admin(as you told) and tried to create report and eventually failed which wrote in one but last post.
    Then according to your last reply I restarted the services and and entered the Workspace with the new user. But here comes the problem, I can't see my application that I had created under this user. All I could see is the application that I had created using admin(for trying the FR issue).
    I mean... I am very confused.... created one application with a new user, but it got replaced by an application that was created with admin, and with a different name.
    But I still can see the database in EAS and it is intact. And when right click on the TestApp and see the User/group access, I can see admin and that new user.
    John pls don't get angry... I know it's a different issue.
    Any kind of help would be appreciated.
    Thanks.
    Edited by: Sap B on Jun 13, 2009 5:59 AM
    Edited by: Sap B on Jun 13, 2009 6:03 AM

Maybe you are looking for

  • Oracle.xml.parser.v2.XSLException: XSL-1045

    I'm trying to migrate from 8.1.6 to 8.1.7. In 8.1.6, I have a working java stored procedure that implements an extended namespace in XSL. I deployed the same working code in 8.1.7 and got the following error. processor.processXSL(styleSheet,xmlDoc)>>

  • Error message: USB device was drawing too much power

    I get this message whenever I plug anything into the USB port on the left side of my Air. It works fine when I try using the port on the right side. Do I need to send it in, or can I fix it? Details: It doesn't matter if I am connected to power or no

  • I want to insert two text files in to oracle.

    Ex : text1.txt contains data as 1 a 2 b 3 c text2.txt contains data as 4 d 5 e 6 f I want to load both text file into oracle as 1 a 4 d 2 b 5 e 3 c 6 f for these how to create *.ctl file*

  • How to divide different pictures into pie pieces so that they fit together in a circle

    I have six photos that I need to divide into pie piece shapes so that they fit together in a perfect circle. How do I do this??

  • How to start developing Xcelius component?

    Guys, When can I find steb-by-step explanation of how to start developing own Xcelsius components or modify existing? I performed following actions: 1) installed Xcelsius 2008 Component SDK SP3 2) downloaded Flex 2.0.1 SDK from here: http://labs.adob