Skip to content

rizenine/connector-liferay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liferay Connector

This is a work-in-progress REST connector for Evolveum Midpoint. There already exist a SOAP based connector. This project is for my learning and because I prefer to use REST and JSON. :)

Things that work:

  • Add/Update/Delete User
  • Add/Update/Delete Roles
  • Add/Update/Delete User Groups
  • Add/Update/Delete Websites
  • Add/Update/Delete Organizations
  • Role associations
  • User Group associations
  • Website associations
  • Organization associations
  • Paging added for user account

Install:

  • clone this repo && mvn package

Association of roles/user groups/websites/organizations example:

    <inducement>
        <construction>
            <resourceRef oid="<Your OID>" relation="org:default" type="c:ResourceType">
            </resourceRef>
            <kind>entitlement</kind>
            <intent>role</intent>
        </construction>
    </inducement>

    <inducement>
        <construction>
            <resourceRef oid="<Your OID>" relation="org:default" type="c:ResourceType">
            </resourceRef>
            <kind>account</kind>
            <intent>default</intent>
            <association>
                <c:ref>ri:role</c:ref>
                <outbound>
                    <expression>
                        <associationFromLink xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="c:AssociationFromLinkExpressionEvaluatorType">
                            <projectionDiscriminator xsi:type="c:ShadowDiscriminatorType">
                                <kind>entitlement</kind>
                                <intent>role</intent>
                            </projectionDiscriminator>
                        </associationFromLink>
                    </expression>
                </outbound>
            </association>
        </construction>
        <order>2</order>
    </inducement>

About

Liferay Connector for Midpoint

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages