Define roles

I need to send a library template. How can I define roles (Particpiant1, Participant2... etc) of the signatory. I try something whats below but I get error of invalid role:

{

'documentCreationInfo': {}

'name': "MyTest"

"signatureType": "ESIGN"

"beneficiaries":]

{

"fax:","

        "email": " [email protected] ", "

'role': 'Participant1.

}

],

"signatureFlow": "SENDER_SIGNATURE_NOT_REQUIRED",

"message": ","

"mergeFieldInfo":]

{

"fieldName": "Name1"

'defaultValue': 'test '.

}

],

"fileInfos":]

{

'libraryDocumentName': 'TEST '.

}

]

}

}

You do not actually include Telec exhibit.

Example:

POST/api/rest/v2/agreements HTTP/1.1

Host: secure.echosign.com

Access token: undefined

x user-e-mail: [email protected]

Content-Type: application/json

Cache-Control: no cache

Postman-Token: 88d7d0a6-30f9-5a65-82df-4eb013a18ad4

{

'documentCreationInfo': {}

"fileInfos":]

{

"libraryDocumentId": "2AAABLblqZhBBqN2EJssYmYSPWYDBC0X4R_Qs02L3pqjd68mdzC3V4KTOYMsmvxaQ_XukmXpuIHg."

}

],

"message": 'Please sign this agreement.',

"name':"agreement of Test. "

"beneficiaries":]

{

"email": "[email protected]",

'role': "SIGNATORY".

},

{

"email": "[email protected]",

'role': "SIGNATORY".

}

],

"signatureFlow": "SENDER_SIGNATURE_NOT_REQUIRED",

"signatureType": "ESIGN"

'authoringRequested': false

}

}

Tags: Adobe Sign

Similar Questions

  • IOM GR 11, 2 the inheritance of permissions to roles.

    Hi all

    This is probably a silly question, but I read

    Managing roles - 11g Release 2 (11.1.2)

    without a clear understanding: what kind of clearance can I define roles nested in order to have these permissions inherited by members of the role?

    I expected "Access Policies" roles associated with possible legacy of roles, is it supported?

    On the other side 'Admin Roles' impossible to assign to roles, but just for individual users.

    It seems to me that role inheritance can be used to model permissions or hierarchies of resources/rights of target.

    What Miss me?

    AAMT

    Heredity are permissions in the application and use of the IOM.  Not for access policies grant permissions in a target.

    -Kevin

  • With the help of the ORA-00904 granted by ROLE

    Hi all

    I have an error using the grant through ROLE (Oracle 11.2.0.1 on redhat Linux)

    Here is the explanation of my problem:

    I create a package to wear patterns

    create or replace 
    PACKAGE                     usera.pkg_utils AS 
     function f_my_function return RAW;
    END pkg_utils;
    

    I create the package body:

    create or replace 
    PACKAGE BODY usera.pkg_utils  AS 
     function f_my_function return RAW  is
      v_uuid RAW(16);
    begin
      v_uuid := sys.dbms_crypto.randombytes(16);
      return (utl_raw.overlay(utl_raw.bit_or(utl_raw.bit_and(utl_raw.substr(v_uuid, 7, 1), '0F'), '40'), v_uuid, 7));
    end f_random_uuid;
    END pkg_utils;
    

    I create a 'R_ROLE1' role to which I admit "EXECUTE ON USERA. PKG_UTILS TO R_ROLE1.

    I give you that R_ROLE1 to the PUBLIC so that each user can access the package USERA. PKG_UTIS

    If I call another user f_my_function, it works well.

    If I call another user from a procedure f_my_function I get "ORA-00904".

    ex: to UserB

    create or replace 
    PROCEDURE P_PROC
    AS
    num int;
    uuid_ RAW(16);
    BEGIN
        select usera.pkg_utils.f_my_function() into uuid_ from dual;
    END P_PROC;
    /
    

    If I give you that directly "GRANT EXECUTE ON USERA. PKG_UTILS TO PUBLIC' so it works well.

    Thus, the error comes from the fact that I use a role, but I can't fix it. I don't understand why USERB does not use its grant to the role of r_role1 granted to PUBLIC.

    Is there something as USERB is unusable cascade role during the call to a procedure? is there something to "activate"? ".

    Thank you all

    See the doc database security for your answer and the explanation of what others have said.

    http://docs.Oracle.com/CD/B28359_01/network.111/B28531/authorization.htm#i1007304

    Operation of the roles in PL/SQL blocks

    The use of roles in a PL/SQL block depends on if it is an anonymous block, or a block named (stored procedure, function, or trigger), and if it runs with the rights of the author or the rights of the applicant.

    Roles used in the appointed with rights to define blocks

    All roles are disabled in any PL/SQL block named (stored procedure, function, or trigger) that runs with the rights of the author. Roles are not used to privilege control, and you cannot define roles within the procedure of a DEFINER rights.

    The SESSION_ROLES view shows all roles that are currently enabled. If a named PL/SQL block that runs with Definer Rights queries SESSION_ROLES , then the query will return no rows.

  • ORA-06565: cannot run the ROLE VALUE from stored procedures

    Hello!

    I'm trying to call a procedure from a function. Among the statements in the procedure stored is of dbms_session.set_role ('HAVE');

    I get the error "Cannot run a DEFINED ROLE less stored proceduers". I joined the call in an anonymous block above, but the error still exists.

    Any idea will really help me.

    Thank you

    >
    I'm trying to call a procedure from a function. Among the statements in the procedure stored is of dbms_session.set_role ('HAVE');

    I get the error "Cannot run a DEFINED ROLE less stored proceduers". I joined the call in an anonymous block above, but the error still exists.

    Any idea will really help me.
    >
    This will work only if the procedure is defined for the APPELLANT's rights.

    Roles are disabled in named PL/SQL blocks unless you use of the APPELLANT's rights by setting the code with AUTHID CURRENT_USER.

    The Oracle documentation provides a very clear explanation - based restriction is for the NAMED PL/SQL blocks rights DEFINER of this use (the default):
    >
    Roles used in the appointed with rights to define blocks

    All roles are disabled in any PL/SQL block named (stored procedure, function, or trigger) that runs with the rights of the author. Roles are not used to privilege control, and you cannot define roles within the procedure of a DEFINER rights.
    >
    The database Security Guide has the information in the section "operation of the roles in PL/SQL blocks (which, of course, wouldln was necessary if they didn't work.).
    http://docs.Oracle.com/CD/B28359_01/network.111/B28531/authorization.htm#i1007304
    >
    The use of roles in a PL/SQL block depends on if it is an anonymous block, or a block named (stored procedure, function, or trigger), and if it runs with the rights of the author or the rights of the applicant.

    Roles used in the appointed with rights to define blocks
    All roles are disabled in any PL/SQL block named (stored procedure, function, or trigger) that runs with the rights of the author. Roles are not used to privilege control, and you cannot define roles within the procedure of a DEFINER rights.

    The SESSION_ROLES view shows all roles that are currently enabled. If a named PL/SQL block that runs with DEFINER SESSION_ROLES rights issues, the query returns no rows.

    See also:

    Oracle database reference

    Roles used in blocks named with the rights of the plaintiff and anonymous PL/SQL
    Named PL/SQL blocks that run with the rights of the applicant and the anonymous PL/SQL blocks are executed at the end of the privileges granted through active roles. Current roles are used for verification within rights Summoner of privilege the PL/SQL block. You can use dynamic SQL statements to define a role in the session.

  • dynamically set the role name

    Hello

    I set 4 roles in the application. In the navigation of workflow, I created a notification. How can I dynamically set the name property of role of the Notification message so that as soon as the order is delivered to this notification, all users in this role Gets the notification message?

    Thank you.

    Hello

    Define an attribute that contains the value of one of the four defined roles. Then create an activity (with a specific function) who will choose the role and assigning to the attribute.

    In the notification, give the value of the performer or performing as the name of the attribute.

    This will solve your purpose.

    Kind regards
    Kumar.

  • Why my function returns nothing when I create as a schema object

    I have the ABC's of the user who owns several paintings, some of which have foreign key constraints.

    I have user XYZ who has access to all the tables belonging to the user ABC.

    When I create a user XYZ feature to use more I get no return when I run:

    Select XYZ.ztm_tables_depended_on ('ABC', 'A_TABLE_OWNED_BY_ABC') of double:

    Please see after the function definition.

    CREATE or REPLACE FUNCTION ZTM_TABLES_DEPENDED_ON (p_Owner VARCHAR2, nom_table_p VARCHAR2) RETURN VARCHAR2 IS

    CURSOR C1 IS

    SELECT CONSTRAINT_NAME, OWNER, R_CONSTRAINT_NAME, R_OWNER

    OF ALL_CONSTRAINTS

    WHERE OWNER = p_Owner

    AND TABLE_NAME = nom_table_p

    AND CONSTRAINT_TYPE = 'R '.

    ORDER BY OWNER, CONSTRAINT_NAME, R_OWNER, R_CONSTRAINT_NAME;

    --

    v_Referenced_Owner VARCHAR2 (31);

    v_Ret_Val VARCHAR2 (4000);

    --

    The FUNCTION CONSTRAINT_TABLE_NAME(p_Owner VARCHAR2, p_Constraint_Name VARCHAR2) RETURN VARCHAR2 IS

    CURSOR C1 IS

    SELECT TABLE_NAME

    OF ALL_CONSTRAINTS

    WHERE OWNER = p_Owner

    AND the argument CONSTRAINT_NAME = p_Constraint_Name;

    --

    v_Ret_Val ALL_CONSTRAINTS. TABLE_NAME % TYPE;

    BEGIN

    OPEN C1;

    FETCH C1 INTO v_Ret_Val;

    CLOSE C1;

    --

    RETURN v_Ret_Val;

    END;

    --

    BEGIN

    FOR R IN C1 LOOP

    IF (R.OWNER <>R.R_OWNER) THEN v_Referenced_Owner: = R.R_OWNER | '.';

    ANOTHER v_Referenced_Owner: = NULL;

    END IF;

    --

    v_Ret_Val: = v_Ret_Val | ', ' || v_Referenced_Owner | CONSTRAINT_TABLE_NAME (R.R_OWNER, R.R_CONSTRAINT_NAME);

    END LOOP;

    --

    RETURN LTRIM (v_Ret_Val, ',');

    END;

    /

    But if I enter the function within an anonymous block as follows, I get results:

    DECLARE
    CURSOR C1 IS
    Select owner, table_name
    From all_tables where owner = 'ABC ';

    --

    The FUNCTION ZTM_TABLES_DEPENDED_ON(p_Owner VARCHAR2, p_Table_Name VARCHAR2) RETURN VARCHAR2 IS
    CURSOR C1 IS
    SELECT CONSTRAINT_NAME, OWNER, R_CONSTRAINT_NAME, R_OWNER
    OF ALL_CONSTRAINTS
    WHERE OWNER = p_Owner
    AND TABLE_NAME = nom_table_p
    AND CONSTRAINT_TYPE = 'R '.
    ORDER BY OWNER, CONSTRAINT_NAME, R_OWNER, R_CONSTRAINT_NAME;
    --
    v_Referenced_Owner VARCHAR2 (31);
    v_Ret_Val VARCHAR2 (4000);
    --
    The FUNCTION CONSTRAINT_TABLE_NAME(p_Owner VARCHAR2, p_Constraint_Name VARCHAR2) RETURN VARCHAR2 IS
    CURSOR C1 IS
    SELECT TABLE_NAME
    OF ALL_CONSTRAINTS
    WHERE OWNER = p_Owner
    AND the argument CONSTRAINT_NAME = p_Constraint_Name;
    --
    v_Ret_Val ALL_CONSTRAINTS. TABLE_NAME % TYPE;
    BEGIN
    OPEN C1;
    FETCH C1 INTO v_Ret_Val;
    CLOSE C1;
    --
    RETURN v_Ret_Val;
    END;
    --
    BEGIN
    FOR R IN C1 LOOP
    IF (R.OWNER <>R.R_OWNER) THEN v_Referenced_Owner: = R.R_OWNER | '.';
    ANOTHER v_Referenced_Owner: = NULL;
    END IF;
    --
    v_Ret_Val: = v_Ret_Val | ', ' || v_Referenced_Owner | CONSTRAINT_TABLE_NAME (R.R_OWNER, R.R_CONSTRAINT_NAME);
    END LOOP;
    --
    RETURN LTRIM (v_Ret_Val, ',');
    END;

    --

    BEGIN
    FOR R IN C1 LOOP
    DBMS_OUTPUT. Put_line (ztm_tables_depended_on (R.Owner, R.Table_Name));
    END LOOP;
    END;
    /

    Any ideas what is happening here?

    Any ideas what is happening here?

    Justin said the likely reason.

    See the section "How to exercise roles in PL/SQL blocks" the doc of database security for details

    http://docs.Oracle.com/CD/E25054_01/network.1111/e16543/authorization.htm#i1007304

    Operation of the roles in PL/SQL blocks

    The use of roles in a PL/SQL block depends on if it is an anonymous block, or a block named (stored procedure, function, or trigger), and if it runs with the rights of the author or the rights of the applicant.

    Roles used in the appointed with rights to define blocks

    All roles are disabled in any PL/SQL block named (stored procedure, function, or trigger) that runs with the rights of the author. Roles are not used to privilege control, and you cannot define roles within the procedure of a DEFINER rights.

    The SESSION_ROLES view shows all roles that are currently enabled. If a named PL/SQL block that runs with Definer Rights queries SESSION_ROLES , then the query will return no rows.

    Roles used in blocks named with the rights of the plaintiff and anonymous PL/SQL

    Named PL/SQL blocks that run with the rights of the applicant and the anonymous PL/SQL blocks are executed at the end of the privileges granted through active roles. Current roles are used for verification within rights Summoner of privilege the PL/SQL block. You can use dynamic SQL statements to define a role in the session.

    See this line beginning by "all roles are disables in any PL/SQL block named"?

  • Question of authentication/authorization for experts

    We have developed an ADF application that makes use of the ADF security, where we have defined roles that determine access to the different functions. We currently use the jazn-"Data.xml" file to store the user and the password, but these aren't real people. They are only used for tests, etc. We would like to authenticate (real people) on Active Directory. We accuse the app on weblogic on a Linux server. From what I see, it seems that OPSS is the missing piece of the puzzle that connects WLS of AD and our code. My understanding is that OPSS would go on WLS and provide hooks that our code would need to access user roles stored in AD. Is this correct? We are not going for the SSO at this stage, we want to just authenticate to Active Directory and retireve user roles to be used in the application of the ADF. We then change our app to use the names of roles in AD instead of our role of test names.
    A few links I've read trying to understand...

    http://www.Oracle.com/technetwork/issue-archive/2012/12-Jan/o12adf-1364748.html
    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/OPSS/environment_set_up/Setup.htm
    http://andrejusb.blogspot.com/2011/01/Fusion-Middleware-11g-security-retrieve.html
    http://docs.Oracle.com/CD/E21764_01/Web.1111/e13718/ATN.htm

    Thanks in advance for any ideas.

    Doug

    Hello

    You need to match the groups in your AD that is, create a corresponding business role in jazn.

    If you have a group called user in AD create a business user role in jazn.

    Map the roles of this business to the Application role.

    Map application roles to resources.

    If the user is available in the weblogic and if it is associated with the group that it will automatically provide with the permission of the resource

    Make sue uncheck you a box users and groups under properties of the Application---> Deployment---> Weblogic while deploying.

    Rakesh

  • How to allow to export diagnostic data?

    Hi, can you tell me how I can give access to the export of diagnostic data in the CR?

    I have a few administrator and they need to open a Support request, but every time they ask me (super administrator) to generate the diagnostic data file.

    I would like to give them this opportunity, then, how can I do?


    Best regards

    I'm closing a bit.  I created a Global custom and only defined role - Diagnostics.  The role has been defined to the host and cluster level.  However, the user can run a bundle of diagnosis on the whole VI, not only their datacenter.

  • Problem in certain rights

    I defined a role as:

    create the role my_role;

    So, I have granted select it on User1. Table1 as:

    Grant select on User1.Table1 to my_role:

    Then I gave the role as User2:

    grant my_role to User2;

    I am now able to run the following query, while I'm connected with user 2:

    Select * from User1.Table1;

    Everything works very well.

    Now, I've written a procedure in User2 as

    Create or replace procedure User2.someProceduere
    (
    cur_test on sys_refcursor
    )
    Begin
    Open cur_test
    for ' select * from User1.Table1';
    End;

    While I runt this procedure it produces error message
    "Table or view does not exist.

    Intrestingly when I live on User1.Table1 of given User2 the procedure itself works, without any error

    (Direct right I mean when I give no rights through the "my_role" bolstered
    Instead, I write:
    Grant select on User1.Table1 to User2 ;)

    I want to know the reason? I'm confused, because when I give rights through the role of the procedure does not work
    and when I give rights directly to the user the procudue started working.

    Published by: Sayyed_Kamran on August 11, 2010 01:40

    Right. What is written in detail in the Oracle documentation. Part of:
    >
    Operation of the roles in PL/SQL blocks
    The use of roles in a PL/SQL block depends on if it is an anonymous block, or a block named (stored procedure, function, or trigger), and if it runs with the rights of the author or the rights of the applicant.
    Roles used in the appointed with rights to define blocks

    All roles are disabled in any PL/SQL block named (stored procedure, function, or trigger) that runs with the rights of the author. Roles are not used to privilege control, and you cannot define roles within the procedure of a DEFINER rights.

    The SESSION_ROLES view shows all roles that are currently enabled. If a named PL/SQL block that runs with DEFINER SESSION_ROLES rights issues, the query returns no rows.

    http://download.Oracle.com/docs/CD/B28359_01/network.111/B28531/authorization.htm#DBSEG004
    >
    >
    A unit worth AUTHID CURRENT_USER is called a Summoner rights unit, or unit IR. A unit whose value AUTHID is WHAT DEFINE is called a DEFINER rights, or DR. An anonymous block always behaves as a unit of IR. A view or a trigger always behaves as a unit of DR.

    The AUTHID of a unit property determines if the unit is IR or DR, and it affects the resolution of names and privilege auditing at run time:

    Climate for name resolution is CURRENT_SCHEMA.
    Audited privileges are those of the CURRENT_USER and roles enabled.

    When a session begins, CURRENT_SCHEMA has the value of the schema owned by SESSION_USER and CURRENT_USER has the same value as SESSION_USER. (To get the current value of CURRENT_SCHEMA, CURRENT_USER or SESSION_USER, use SYS_CONTEXT function, documented in Oracle database SQL language reference).

    CURRENT_SCHEMA may be changed during the session with the SQL ALTER SESSION SET CURRENT_SCHEMA. CURRENT_USER cannot be changed programmatically, but it can change when a unit of PL/SQL or view is on, or depilated, thrust the call stack.

    Note:
    Oracle recommends against ALTER SESSION SET CURRENT_SCHEMA show within a stored PL/SQL unit.

    During a server call, when a DR unit's push in the call stack, the database stores the currently activated roles and the current values of CURRENT_USER, CURRENT_SCHEMA. Then it changes CURRENT_USER and CURRENT_SCHEMA DR unit owner and only allows the PUBLIC role. (The stored and new roles and values aren't necessarily different.) When DR unit is popped from the call stack, the database restores the values and roles stored. On the other hand, when an IR unit is pushed or popped, the call, the value of CURRENT_USER, CURRENT_SCHEMA stack, and the roles currently activated does not change.

    http://download.Oracle.com/docs/CD/B28359_01/AppDev.111/b28370/subprograms.htm#LNPLS00809

  • Won't LoginPage.jspx home page (redirect loop error):

    I use the jdeveloper 11.1.1.1.0
    I created a simple ADF application.i, run the wizard of ADF security.
    and I opted for based form authentication.here I gave cutom login, (such as error pages path
    (/ faces/loginpage.jspx, /faces/error.jspx)

    I created the welcome page which is a public page (I gave permission to the anonymous role overview).
    the code in the welcome.jspx page:


    < af:form id = "f1" >


    < af:image source = "#{securityContext.authenticated?" ' {'/images/logout.jpg': ' / login.gif '} '.
    ID = "pti2" inlineStyle = "width: 40px; height: 40px; »
    shortDesc = "switchable icon" / >



    < af:goLink text = "#{securityContext.authenticated? & quot;}" Click here to close the session & quot; :
    & quot; Click here to open a session & quot ;} "ID ="gl1 ".
    destination = "#{SecurityContext.Authenticated?"
    & quot; / adfAuthentication? Logout = true & amp;end_url=/faces/welcome.jspx & quot; :
    & quot;/adfAuthentication?success_url=/faces/welcome.jspx & quot ;} "/ >


    < / af:form >


    Then, I created the backingbean loginpagebean.java and created the login page using components of the ADF.
    and I link the login button action property to the dologin() method in Backinbean. (I followed the steps "Creating a Login Page" chapter "Allows the ADF security in a Web Application from merger")


    Then, apply a first.jspx web page .and is guaranteed one.and assinged the view permission for a defined role.


    In the Web.XML, on the Security tab, for formbased authentication I gave as below:

    Login: /faces/loginpage.jspx
    error page: /faces/error.jspx



    totally has my request,

    LoginPage.JSPX,
    Error.JSPX,
    Welcome.JSPX,
    First.JSPX.

    the pages above.


    When I run the page welcome.jspx and after clicking on the login link, I have to go to the login.jspx page.here the login.jspx is called by the container.

    But I'm not going to the login.jspx page and get the error "Redirect Loop - too many redirects occurred trying to open" http://127.0.0.1:7101 / adfSecAug19-ViewController-context-root/adfAuthentication '.» This can occur if you open a page that is redirected to open another page which is then redirected to open the original page. "in the browser.


    IN Jdeveloper newspaper, I got:

    [JpsAuth] Check permissions
    PolicyContext: [adfSecAug19 #V2.0]
    Resources/T

    Hello

    Make sure that the login.jspx page is accessible to all. If it has links on it then by default it will try to authenticae the user, which would lead to the circular loop. Grant this anonymous role page in this case

    Frank

  • Abandonment of an instance of PAPI

    Hi all

    How can I cancel an instance of PAPI?
    The instance can be an activity and maybe even to perform a task when abort is called on this instance. Is - this possibe?

    Also, is there a requirement that the person who executes the abort of GRANDPA should have a defined role in the BPM?

    Thank you
    Simart

    I'm not the expert on this subject, but if I had to implement this, I define an administrator role and give it a shot (to all) and make abortable.

    Using the pliers, the administrator can cancel the process.

    I think it can be done through PAPI so, unfortunately I have my phone on me to find it for you.

  • What is happen cannot define the vCAC tenant 'infrastructure Administrators role?

    Today inI'm deployed vCAC 6.1, I was in the vCAC device to confirm all Service is running normally.

    With the help of [email protected] to connect the vCAC administrator.

    Defining the tab tenants, found it impossible to run infrastructure surface final directors rols.


    infrastructure administrators.jpg

    the vcac appliance service running

    vcac appliance service.jpg

    I thank all...

    It seems that you have not installed IaaS and connected to vCAC.

    There should be a service called it Service-iaas and iaas - proxy provider which I don't see in your images.

    This infrastructure administrator will become is not available until the IaaS has been installed and configured.

    See you soon

  • The user what role there and where it is defined

    Hello guys,.

    I'm looking for a script that search a user what role he has, set in what level the server vcenter folder root level of the virtual machine and list its role and the level that is defined.

    Thank you

    Of course, we can use a where clause to filter the permissions for a specific security principal.

    Like this

    $user = "domain\user"
    Get-VIPermission | where {$_.Principal -eq $user} |
    Select @{N="Entity";E={$_.Entity.Name}},
        @{N="Type";E={$_.Entity.GetType().Name.TrimEnd("Wrapper")}},
        Role,
        Propagate
    
  • How to map the role defined in JDeveloper for LDAP

    Hello

    I'm trying to figure out how to map the Illustrazione roles when the BPM process design and the LDAP protocol.

    I have deployed on the soa server processes, I can see the ear on the page of the Console.

    I did the following:

    1. connect to the Oracle BPM workspace (http://localhost: 8001/bpm/workspace /) as the user WebLogic.

    2. click on the administration link.

    3. click on roles in the Administration Panel of the areas on the left, to the list of all different roles across all deployment processes.

    but I do not see my deployment process.

    Do you know why this is? In my approach I just added my roles for the corridor. Is this correct? Why can't I see not all roles deployed?

    Well, if you do not want to deploy physically, you can build your project. However, you may encounter errors during deployment of the projects built with success.

    I guess that you have a development/test environment where you can check if your application is deployed.

    Last resort - player process. For a process, really, it is deployed on a special partition on the soa infrastructure and should play not accessible by end users.

    See you soon,.

    Anatoli

  • How to define the role of a resource (Portal and portlet)

    Hello world

    I have the name of the resource and I want a right of role to a resource (Portal, portlet, book...) but I don't know how to do this programmatically.

    Please help me. Thank you

    The code snippet below should help:

    ...
    Roles of ArrayList = new ArrayList();
    Roles.Add ("MyRole");

    SecurityPolicyItem spi = new SecurityPolicyItem();
    spi.setEntAppName (appName);
    spi.setWebAppName (webappName);
    spi.setResourceId("com_bea_p13n\tPortlet\tportlet2");
    spi.setRoleList (roles);
    spi.setCapability (PortalEntitlementConstants.VIEW);

    then use SecurityPolicyManager to create the security policy
    SecurityPolicyManager.createSecurityPolicy (spi);
    ...

    Best regards, Stefan

Maybe you are looking for

  • Satellite P300-156 PSPC4E - stay white media LEDs on after power off

    Hello I have a Toshiba laptop Satellite P series P300 156 (PSPC4E) which has just developed a problem When I turned off the laptop stops normally, start button / stop itself turns off, but the white Media 6 LED to the right of the power button remain

  • my computer reads the disks of game like the sims 2 double deluxe

    my computer reads that I just bought a set of sims. the game was brand new and this computer has just been rebuilt fo me. can I do it myself so that I can play the games that I want to install from a disk?

  • Windos 10

    When my laptop updated to the new version of Windows 10, also upgrade my Microsoft office and solve my request to office documents?

  • Billboard on new Bold 9900 blackBerry Smartphones

    Hello Somehow my display of the home screen is now display 2 lines of my applications, which I don't like. How do I change it back just for a single line of applications on the home screen? help much appreciated!

  • 'Public_html' folder does not point to site...

    I used the Muse for a dozen sites on the same host. "It's the first time that I had this problem: the site will not download and I get the message: 'public_html' folder does not appear to point to the 'http' www.claygoldstein.com site.Interesting not