Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Jun 21, 2016
2 parents 1dead69 + 4d40563 commit dfb30de
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 0 deletions.
24 changes: 24 additions & 0 deletions samples/evolveum/org-users.xml
Expand Up @@ -17,6 +17,7 @@

<objects xmlns='http://midpoint.evolveum.com/xml/ns/public/common/common-3'
xmlns:c='http://midpoint.evolveum.com/xml/ns/public/common/common-3'
xmlns:t='http://prism.evolveum.com/xml/ns/public/types-3'
xmlns:org='http://midpoint.evolveum.com/xml/ns/public/common/org-3'>

<!-- Functional organizational structure -->
Expand Down Expand Up @@ -260,6 +261,29 @@
<emailAddress>radovan.semancik@evolveum.com</emailAddress>
<employeeNumber>002</employeeNumber>
<locality>Lozorno</locality>
<credentials>
<password>
<value>
<t:clearValue>qwe123</t:clearValue>
</value>
</password>
<securityQuestions>
<questionAnswer>
<questionIdentifier>http://midpoint.evolveum.com/xml/ns/public/security/question-2#q001
</questionIdentifier>
<questionAnswer>
<t:clearValue>just a bit</t:clearValue>
</questionAnswer>
</questionAnswer>
<questionAnswer>
<questionIdentifier>http://midpoint.evolveum.com/xml/ns/public/security/question-2#q002
</questionIdentifier>
<questionAnswer>
<t:clearValue>Doggie</t:clearValue>
</questionAnswer>
</questionAnswer>
</securityQuestions>
</credentials>
</user>

<user oid="00000000-ee88-6666-0000-000000000003">
Expand Down
56 changes: 56 additions & 0 deletions samples/evolveum/roles.xml
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2016 Evolveum
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<objects xmlns='http://midpoint.evolveum.com/xml/ns/public/common/common-3'
xmlns:c='http://midpoint.evolveum.com/xml/ns/public/common/common-3'
xmlns:org='http://midpoint.evolveum.com/xml/ns/public/common/org-3'>

<role oid="08bd752e-1cf1-11e6-90a3-a3ad27be3da2">
<name>System Administrator</name>
<description>Permission to access the system with system administrator privileges. Non-requestable role. This role has to be explicitly assigned by IDM administrator.</description>
<requestable>false</requestable>
<roleType>operational</roleType>
</role>

<role oid="9ff31e4c-1cf3-11e6-bc5d-0727c08b96ed">
<name>Contributor</name>
<description>Contributor to Evolveum projects. Requestable role with an approver.</description>
<inducement>
<description>Automatically include write privileges to the wiki.</description>
<targetRef oid="08bd752e-1cf1-11e6-90a3-a3ad27be3da2" type="RoleType" /> <!-- Wiki Contributor -->
</inducement>
<requestable>true</requestable>
<approverRef oid="00000000-ee88-6666-0000-000000000002" type="UserType" /> <!-- semancik -->
<roleType>business</roleType>
</role>

<role oid="a73b0386-1cf3-11e6-ac6e-dfedc87cdda3">
<name>Blogger</name>
<description>Author of Evolveum blog posts. Requestable role with an approver.</description>
<requestable>true</requestable>
<approverRef oid="00000000-ee88-6666-0000-000000000010" type="UserType" /> <!-- vera -->
<roleType>business</roleType>
</role>

<role oid="ad1fd0ce-1cf3-11e6-8a68-fbf7c6fc2f97">
<name>Wiki Contributor</name>
<description>Write access to the wiki. This role is requestable, but it has no approver. Therefore anyone requesting it will get it automatically.</description>
<requestable>true</requestable>
<roleType>application</roleType>
</role>

</objects>
44 changes: 44 additions & 0 deletions samples/evolveum/security-policy.xml
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2014-2016 Evolveum
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<securityPolicy oid="b50aff7e-3784-11e6-b97e-0b955775c407"
xmlns='http://midpoint.evolveum.com/xml/ns/public/common/common-3'>
<name>Evolveum Security Policy</name>
<credentials>
<password>
<maxAge>P30D</maxAge>
<lockoutMaxFailedAttempts>3</lockoutMaxFailedAttempts>
<lockoutFailedAttemptsDuration>PT3M</lockoutFailedAttemptsDuration>
<lockoutDuration>PT15M</lockoutDuration>
</password>
<securityQuestions>
<resetMethod>
<resetType>securityQuestions</resetType>
</resetMethod>
<questionNumber>2</questionNumber>
<question>
<identifier>http://midpoint.evolveum.com/xml/ns/public/security/question-2#q001</identifier>
<enabled>true</enabled>
<questionText>How much wood would a woodchuck chuck if woodchuck could chuck wood?</questionText>
</question>
<question>
<identifier>http://midpoint.evolveum.com/xml/ns/public/security/question-2#q002</identifier>
<questionText>What is your mother's best friend's uncle's grandaughter's dog's mother maiden name?</questionText>
</question>
</securityQuestions>
</credentials>
</securityPolicy>

0 comments on commit dfb30de

Please sign in to comment.