Layer7 Identity Management

Expand all | Collapse all

Identity Portal - Plugins perform ldap modify attribute

  • 1.  Identity Portal - Plugins perform ldap modify attribute

    Posted 4 days ago
    Hi Team,
    Identity Suite 14.3 vapp.

    As i understand we can use plug-ins(java) to query LDAP servers. 
    Due to special requirement where we have to build a custom form in Identity Portal and allow user to perform reset password on this LDAP server.
    When perform resetpassword in LDAP, basically we are triggering a java ctx.modifyAttributes command to modify LDAP attributes.

    I have created 2 plugins, 1 plugins is to perform search on LDAP, which is working fine.
    2nd plugins is to perform modifyattribute, which is not working.

    I have included the correct package, "ModificationItem"

    In plugins editor, ModificationItem mods[] = new ModificationItem[1]; is given syntax error. But i check java syntax it is correct.


    Anyone have experience this error ?

    Note: in IP logs, i saw the error "javax.script.ScriptException:45:18:Expected ; but found mods in ModificationItem mods[] = new ModificationItem[1];

    regards,
    William


  • 2.  RE: Identity Portal - Plugins perform ldap modify attribute

    Posted 2 days ago
    Try using

    ModificationItem[] mods = new ModificationItem[1];

    Regards
    Kavita


  • 3.  RE: Identity Portal - Plugins perform ldap modify attribute

    Posted 2 days ago
    tried, still the same error.


  • 4.  RE: Identity Portal - Plugins perform ldap modify attribute

    Posted 2 days ago
    Hi William,

    Please send me the java file to get some clue.

    Regards
    Kavita