Skip to content

Commit

Permalink
- jira & wiki scriptedREST example to push avatar/profile picture
Browse files Browse the repository at this point in the history
- demo updates
- selenide fix before midPoint 3.3 release
  • Loading branch information
gpalos committed Jan 14, 2016
1 parent 9968ba3 commit 38a0a4d
Show file tree
Hide file tree
Showing 29 changed files with 1,928 additions and 24 deletions.
6 changes: 3 additions & 3 deletions samples/demo/PageLogin.html
Expand Up @@ -30,12 +30,12 @@

<!-- begin changes -->
<div class="form-group">
<div class="col-md-4 col-lg-12 text-center">
<div class="col-md-12 col-lg-12 text-center">
<a href="https://wiki.evolveum.com/display/midPoint/Live+Demo" target="_blank">Live demo documentation</a>
</div>
</div>
<div class="form-group">
<div class="col-md-4 col-lg-12 text-center">
<div class="col-md-12 col-lg-12 text-center">
Demo credentials: <strong>administrator</strong> / <strong>5ecr3t</strong>
</div>
</div>
Expand All @@ -58,7 +58,7 @@
</label>

<div class="col-md-8 col-lg-8">
<input wicket:id="password" type="password" class="form-control input-sm value-password"
<input wicket:id="password" type="password" class="form-control input-sm"
wicket:message="placeholder:PageLogin.password">
</div>
</div>
Expand Down
20 changes: 20 additions & 0 deletions samples/demo/aci.ldif
@@ -0,0 +1,20 @@
dn: olcDatabase={1}hdb,cn=config
changetype: modify
replace: olcAccess
olcAccess: to attrs=userPassword,shadowLastChange by dn="cn=idm,ou=Administrators,dc=example,dc=com" write by dn="cn=phpldapadmin,ou=Administrators,dc=example,dc=com" write by dn="cn=apache,ou=Administrators,dc=example,dc=com" read by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth write by anonymous auth by self write by * none
olcAccess: to dn.base="" by * read
olcAccess: to dn.subtree="ou=People,dc=example,dc=com" by dn="cn=idm,ou=Administrators,dc=example,dc=com" write by dn="cn=phpldapadmin,ou=Administrators,dc=example,dc=com" write by dn="cn=apache,ou=Administrators,dc=example,dc=com" read
olcAccess: to dn.subtree="ou=Groups,dc=example,dc=com" by dn="cn=idm,ou=Administrators,dc=example,dc=com" write by dn="cn=phpldapadmin,ou=Administrators,dc=example,dc=com" write by dn="cn=apache,ou=Administrators,dc=example,dc=com" read
olcAccess: to dn.subtree="ou=Projects,dc=example,dc=com" by dn="cn=idm,ou=Administrators,dc=example,dc=com" write by dn="cn=phpldapadmin,ou=Administrators,dc=example,dc=com" write
olcAccess: to dn.subtree="ou=Orgs,dc=example,dc=com" by dn="cn=idm,ou=Administrators,dc=example,dc=com" write by dn="cn=phpldapadmin,ou=Administrators,dc=example,dc=com" write
olcAccess: to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth write by dn="cn=idm,ou=Administrators,dc=example,dc=com" read by dn="cn=phpldapadmin,ou=Administrators,dc=example,dc=com" read by self read by * none


#dn: olcDatabase={1}hdb,cn=config
#changetype: modify
#replace: olcAccess
#olcAccess: to attrs=userPassword,shadowLastChange by dn="cn=idm,ou=Administrators,dc=example,dc=com" write by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth write by anonymous auth by self write by * none
#olcAccess: to dn.base="" by * read
#olcAccess: to dn.subtree="ou=people,dc=example,dc=com" by dn="cn=idm,ou=Administrators,dc=example,dc=com" write
#olcAccess: to dn.subtree="ou=groups,dc=example,dc=com" by dn="cn=idm,ou=Administrators,dc=example,dc=com" write
#olcAccess: to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth write by dn="cn=idm,ou=Administrators,dc=example,dc=com" read by self read by * none
24 changes: 17 additions & 7 deletions samples/demo/example-base-only.ldif
Expand Up @@ -42,18 +42,28 @@ objectclass: top
objectclass: organizationalunit
ou: Administrators

dn: uid=idm,ou=Administrators,dc=example,dc=com
#cn: IDM Administrator
cn: Directory manager
dn: cn=idm,ou=Administrators,dc=example,dc=com
cn: idm
description: Special LDAP acccount used by the IDM to access the LDAP data.
#ds-privilege-name: unindexed-search
#ds-privilege-name: password-reset
objectclass: person
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: top
ou: Administrators
sn: IDM Administrator
uid: idm
userpassword: secret

dn: cn=phpldapadmin,ou=Administrators,dc=example,dc=com
cn: phpldapadmin
description: Special LDAP acccount used by the phpldapadmin to access the LDAP data.
objectclass: person
objectclass: top
sn: phpldapadmin user
userpassword: secret

dn: cn=apache,ou=Administrators,dc=example,dc=com
cn: apache
description: Special LDAP acccount used by the apache to access the LDAP data (library).
objectclass: person
objectclass: top
sn: apache library user
userpassword: secret
6 changes: 3 additions & 3 deletions samples/demo/groups.ldif
@@ -1,11 +1,11 @@
dn: cn=painters,ou=Groups,dc=example,dc=com
objectClass: groupOfUniqueNames
objectClass: groupOfNames
objectClass: top
cn: painters
uniqueMember: uid=leonardo, ou=People, dc=example,dc=com
member: uid=leonardo, ou=People, dc=example,dc=com

dn: cn=employees,ou=Groups,dc=example,dc=com
objectClass: groupOfUniqueNames
objectClass: groupOfNames
objectClass: top
cn: employees

5 changes: 5 additions & 0 deletions samples/demo/library.ldif
@@ -0,0 +1,5 @@
dn: cn=library,ou=Groups,dc=example,dc=com
objectClass: groupOfNames
objectClass: top
cn: library
member: uid=leonardo, ou=People, dc=example,dc=com

0 comments on commit 38a0a4d

Please sign in to comment.