Browse Source

First commit

tags/pkg/dev/eole-2.6.2/0.0.1-0
Philippe Caseiro 1 year ago
commit
0b0185bb05
11 changed files with 2000 additions and 0 deletions
  1. 231
    0
      LICENSE
  2. 27
    0
      Makefile
  3. 19
    0
      README.md
  4. 64
    0
      apps.mk
  5. 77
    0
      dicos/70_shibboleth_sp.xml
  6. 2
    0
      eole-sp.mk
  7. 231
    0
      eole.mk
  8. 933
    0
      tmpl/apache-shib.conf
  9. 179
    0
      tmpl/attribute-map.xml
  10. 81
    0
      tmpl/attribute-policy.xml
  11. 156
    0
      tmpl/shibboleth2.xml

+ 231
- 0
LICENSE View File

@@ -0,0 +1,231 @@
1
+GNU GENERAL PUBLIC LICENSE 
2
+Version 3, 29 June 2007
3
+Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
4
+
5
+Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
6
+
7
+Preamble
8
+
9
+The GNU General Public License is a free, copyleft license for software and other kinds of works.
10
+
11
+The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
12
+
13
+When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
14
+
15
+To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
16
+
17
+For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
18
+
19
+Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
20
+
21
+For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
22
+
23
+Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
24
+
25
+Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
26
+
27
+The precise terms and conditions for copying, distribution and modification follow.
28
+
29
+TERMS AND CONDITIONS
30
+
31
+0. Definitions.
32
+
33
+“This License” refers to version 3 of the GNU General Public License.
34
+
35
+“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
36
+
37
+“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.
38
+
39
+To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.
40
+
41
+A “covered work” means either the unmodified Program or a work based on the Program.
42
+
43
+To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
44
+
45
+To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
46
+
47
+An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
48
+
49
+1. Source Code. 
50
+The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
51
+
52
+A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
53
+
54
+The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
55
+
56
+The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
57
+
58
+The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
59
+
60
+The Corresponding Source for a work in source code form is that same work.
61
+
62
+2. Basic Permissions. 
63
+All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
64
+
65
+You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
66
+
67
+Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
68
+
69
+3. Protecting Users' Legal Rights From Anti-Circumvention Law. 
70
+No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
71
+
72
+When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
73
+
74
+4. Conveying Verbatim Copies. 
75
+You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
76
+
77
+You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
78
+
79
+5. Conveying Modified Source Versions. 
80
+You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
81
+
82
+a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
83
+
84
+b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.
85
+
86
+c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
87
+
88
+d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
89
+
90
+A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
91
+
92
+6. Conveying Non-Source Forms. 
93
+You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
94
+
95
+a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
96
+
97
+b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
98
+
99
+c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
100
+
101
+d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
102
+
103
+e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
104
+
105
+A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
106
+
107
+A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
108
+
109
+“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
110
+
111
+If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
112
+
113
+The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
114
+
115
+Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
116
+
117
+7. Additional Terms. 
118
+“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
119
+
120
+When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
121
+
122
+Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
123
+
124
+a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
125
+
126
+b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
127
+
128
+c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
129
+
130
+d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
131
+
132
+e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
133
+
134
+f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
135
+
136
+All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
137
+
138
+If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
139
+
140
+Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
141
+
142
+8. Termination. 
143
+You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
144
+
145
+However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
146
+
147
+Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
148
+
149
+Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
150
+
151
+9. Acceptance Not Required for Having Copies. 
152
+You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
153
+
154
+10. Automatic Licensing of Downstream Recipients. 
155
+Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
156
+
157
+An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
158
+
159
+You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
160
+
161
+11. Patents. 
162
+A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.
163
+
164
+A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
165
+
166
+Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
167
+
168
+In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
169
+
170
+If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
171
+
172
+If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
173
+
174
+A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
175
+
176
+Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
177
+
178
+12. No Surrender of Others' Freedom. 
179
+If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
180
+
181
+13. Use with the GNU Affero General Public License. 
182
+Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
183
+
184
+14. Revised Versions of this License. 
185
+The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
186
+
187
+Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
188
+
189
+If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
190
+
191
+Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
192
+
193
+15. Disclaimer of Warranty. 
194
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
195
+
196
+16. Limitation of Liability. 
197
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
198
+
199
+17. Interpretation of Sections 15 and 16. 
200
+If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
201
+
202
+END OF TERMS AND CONDITIONS
203
+
204
+How to Apply These Terms to Your New Programs
205
+
206
+If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
207
+
208
+To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
209
+
210
+<one line to give the program's name and a brief idea of what it does.> 
211
+Copyright (C) <year> <name of author>
212
+
213
+This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
214
+
215
+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
216
+
217
+You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
218
+
219
+Also add information on how to contact you by electronic and paper mail.
220
+
221
+If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
222
+
223
+<program> Copyright (C) <year> <name of author> 
224
+This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 
225
+This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
226
+
227
+The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.
228
+
229
+You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <http://www.gnu.org/licenses/>.
230
+
231
+The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <http://www.gnu.org/philosophy/why-not-lgpl.html>.

+ 27
- 0
Makefile View File

@@ -0,0 +1,27 @@
1
+################################
2
+# Makefile pour eole-shibboleth-idp
3
+################################
4
+
5
+SOURCE=eole-sp
6
+VERSION=2.6.1
7
+EOLE_VERSION=2.6
8
+EOLE_RELEASE=2.6.2
9
+PKGAPPS=non
10
+#FLASK_MODULE=<APPLICATION>
11
+
12
+################################
13
+# Début de zone à ne pas éditer
14
+################################
15
+
16
+include eole.mk
17
+include apps.mk
18
+
19
+################################
20
+# Fin de zone à ne pas éditer
21
+################################
22
+
23
+# Makefile rules dedicated to application
24
+# if exists
25
+ifneq (, $(strip $(wildcard $(SOURCE).mk)))
26
+include $(SOURCE).mk
27
+endif

+ 19
- 0
README.md View File

@@ -0,0 +1,19 @@
1
+# eole-lemonldap
2
+
3
+Shibboleth SP EOLE integration
4
+
5
+## HowTo
6
+
7
+### Add Switch repo 
8
+Key : http://pkg.switch.ch/switchaai/SWITCHaai-swdistrib.asc
9
+Entry : deb http://pkg.switch.ch/switchaai/ubuntu xenial main
10
+
11
+### Install the packages
12
+
13
+apt update
14
+apt install --install-recommends shibboleth
15
+
16
+## To fix :
17
+
18
+* init pretemplate ask for the entityID ...
19
+* Debian packaging is broken need to be fixed

+ 64
- 0
apps.mk View File

@@ -0,0 +1,64 @@
1
+# 
2
+# NE PAS EDITER CE FICHIER
3
+#
4
+# Voir Makefile
5
+
6
+
7
+##########################
8
+# Application web envole #
9
+##########################
10
+ifneq (, $(filter oui web, $(PKGAPPS)))
11
+#
12
+# Sanity check
13
+#
14
+ifeq (, $(filter-out X.X, $(strip $(VERSION))))
15
+$(error $$(VERSION) variable has incorrect value '$(VERSION)')
16
+endif
17
+
18
+# Where to store web application files
19
+WEB_PATH				:= $(DESTDIR)/var/www/html
20
+
21
+# Envole
22
+sharenvole_PROG_DIR			:= $(DESTDIR)/usr/share/envole/$(SOURCE)
23
+
24
+src_$(SOURCE)-$(VERSION)_REC_DIR	:= $(WEB_PATH)/$(SOURCE)
25
+src_plugins-$(VERSION)_REC_DIR		:= $(WEB_PATH)/$(SOURCE)/plugin
26
+src_lang-$(VERSION)_REC_DIR		:= $(WEB_PATH)/$(SOURCE)/lang
27
+
28
+endif
29
+
30
+##########################
31
+# Application EOLE flask #
32
+##########################
33
+ifneq (, $(filter flask, $(PKGAPPS)))
34
+#
35
+# Sanity check
36
+#
37
+ifeq (, $(filter-out XXX, $(strip $(FLASK_MODULE))))
38
+$(error $$(FLASK_MODULE) variable has incorrect value '$(FLASK_MODULE)')
39
+endif
40
+
41
+ifeq (, $(strip $(wildcard src/$(FLASK_MODULE).conf)))
42
+$(error missing eoleflask configuration file 'src/$(FLASK_MODULE).conf')
43
+endif
44
+
45
+# Everything is related to mount point
46
+APPS_MOUNT_POINT	:= $(shell sed -ne 's|^"MOUNT_POINT"[[:space:]]*:[[:space:]]*"/\([^"]*\)",|\1|p' \
47
+	src/$(FLASK_MODULE).conf)
48
+
49
+ifeq (, $(strip $(APPS_MOUNT_POINT)))
50
+$(error no "MOUNT_POINT" in eoleflask configuration file 'src/$(FLASK_MODULE).conf')
51
+endif
52
+
53
+# eole-flask configuration
54
+src_DATA_DIR		:= $(DESTDIR)/etc/eole/flask/available
55
+
56
+# Where to store flask application files
57
+FLASK_PATH		:= $(eole_DIR)/flask/$(APPS_MOUNT_POINT)
58
+
59
+# static files
60
+src_$(FLASK_MODULE)_static_REC_DIR	:= $(FLASK_PATH)/static
61
+src_$(FLASK_MODULE)_templates_REC_DIR	:= $(FLASK_PATH)/templates
62
+src_$(FLASK_MODULE)_instance_REC_DIR	:= $(FLASK_PATH)/resources
63
+
64
+endif

+ 77
- 0
dicos/70_shibboleth_sp.xml View File

@@ -0,0 +1,77 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<creole>
3
+    <files>
4
+        <!-- System configuration -->
5
+        <!-- Apache configuration -->
6
+        <file filelist='shibsp' name='/etc/shibboleth/shibboleth2.xml' mkdir='True' rm='True'/>
7
+
8
+        <service servicelist="svSp">apache2</service>
9
+        <service servicelist="svSp">shibd</service>
10
+        <service servicelist='svSpDisab' method='apache'>000-default</service>
11
+        <service servicelist='svSp' method='apache'>default-ssl</service>
12
+
13
+        <service_access service='apache2'>
14
+            <port service_accesslist="saidp">443</port>
15
+        </service_access>
16
+        <package>shibboleth</package>
17
+        <package>apache2</package>
18
+    </files>
19
+    <variables>
20
+        <family name='Services'>
21
+            <variable name='activer_sp' type='oui/non' description="Activer le service Shibboleth IDP">
22
+                <value>oui</value>
23
+            </variable>
24
+        </family>
25
+        <family name="Service provider">
26
+            <variable name='activer_nginx_web' redefine='True' hidden='True' remove_condition='True'>
27
+                <value>non</value>
28
+            </variable>
29
+            <variable name='spEntityID' type='string' description='Entity ID du fournisseur de service'/>
30
+            <variable name='idpEntityID' type='string' description='Entity ID du fournisseur de service'/>
31
+            <variable name='federationParnter' type='string' description='Nom du partenaire de fédération' multi='True'/>
32
+            <variable name='backingFilePath' type='string' description='Fichier de sauvegarde des métadonnées'/>
33
+            <variable name='metadataSigned' type='oui/non' description='Les métadonnées sont signées ?'>
34
+                <value>non</value>
35
+            </variable>
36
+            <variable name='signaturePemFile' type='string' description='Fichier de signature des métadonnées'/>
37
+        </family>
38
+    </variables>
39
+    <separators>
40
+        <separator name='idpEntityID'>Fournisseur d'identitée</separator>
41
+        <separator name='federationParnter'>Fédération d'identité</separator>
42
+    </separators>
43
+    <constraints>
44
+        <condition name='disabled_if_in' source='activer_sp'>
45
+            <param>non</param>
46
+            <target type='filelist'>shibsp</target>
47
+            <target type='family'>Service provider</target>
48
+            <target type='service_accesslist'>saidp</target>
49
+            <target type='servicelist'>svSp</target>
50
+        </condition>
51
+        <condition name='disabled_if_in' source='activer_sp'>
52
+            <param>oui</param>
53
+            <target type='servicelist'>svSpDisab</target>
54
+        </condition>
55
+        <condition name='disabled_if_in' source='metadataSigned'>
56
+            <param>non</param>
57
+            <target type='variable'>signaturePemFile</target>
58
+        </condition>
59
+        <group master="federationParnter">
60
+            <slave>backingFilePath</slave>
61
+            <slave>metadataSigned</slave>
62
+            <slave>signaturePemFile</slave>
63
+        </group>
64
+        <fill name='concat' target='spEntityID'>
65
+            <param>https://</param>
66
+            <param type='eole'>nom_domaine_machine</param>
67
+            <param>/shibboleth</param>
68
+        </fill>
69
+        <fill name='concat' target='backingFilePath'>
70
+            <param type='eole'>federationParnter</param>
71
+            <param>-metadata.xml</param>
72
+        </fill>
73
+    </constraints>
74
+    <help>
75
+        <variable name='activer_sp'>Activer le fournisseur de service Shibboleth</variable>
76
+    </help>
77
+</creole>

+ 2
- 0
eole-sp.mk View File

@@ -0,0 +1,2 @@
1
+creolefuncs_DATA_DIR := $(DESTDIR)/usr/share/creole/funcs
2
+src_REC_DIR := $(DESTDIR)/usr/src

+ 231
- 0
eole.mk View File

@@ -0,0 +1,231 @@
1
+#
2
+# NE PAS EDITER CE FICHIER
3
+#
4
+# Utiliser <appli>.mk à inclure à la fin de Makefile
5
+
6
+#################
7
+# Sanity checks #
8
+#################
9
+
10
+ifeq (, $(DESTDIR))
11
+$(warning $$(DESTDIR) is empty, installation will be done in /)
12
+endif
13
+
14
+ifeq (, $(filter-out XXX-XXX, $(strip $(SOURCE))))
15
+$(error $$(SOURCE) variable has incorrect value '$(SOURCE)')
16
+endif
17
+
18
+ifeq (, $(filter-out 2.X, $(strip $(EOLE_VERSION))))
19
+$(error $$(EOLE_VERSION) variable has incorrect value '$(EOLE_VERSION)')
20
+endif
21
+
22
+ifeq (, $(filter-out 2.X.Y, $(strip $(EOLE_RELEASE))))
23
+$(error $$(EOLE_RELEASE) variable has incorrect value '$(EOLE_RELEASE)')
24
+endif
25
+
26
+#########################
27
+# Variables definitions #
28
+#########################
29
+
30
+INSTALL                 := install
31
+INSTALL_DATA            := install -m 644
32
+INSTALL_PROGRAM         := install -m 755
33
+INSTALL_DIRECTORY       := install -m 755 -d
34
+INSTALL_RECURSIVE       := cp -dr --no-preserve=ownership
35
+
36
+# Standard path
37
+bin_PROG_DIR		:= $(DESTDIR)/usr/bin
38
+sbin_PROG_DIR		:= $(DESTDIR)/usr/sbin
39
+man8_DATA_DIR		:= $(DESTDIR)/usr/share/man/fr.UTF-8/man8
40
+
41
+# Base
42
+eole_DIR                := $(DESTDIR)/usr/share/eole
43
+
44
+ifeq ($(strip $(EOLE_VERSION)), 2.3)
45
+diagnose_PROG_DIR       := $(eole_DIR)/diagnose/module
46
+else
47
+diagnose_PROG_DIR       := $(eole_DIR)/diagnose/
48
+endif
49
+
50
+# Creole
51
+creole_DIR              := $(eole_DIR)/creole
52
+dicos_DATA_DIR          := $(creole_DIR)/dicos
53
+tmpl_DATA_DIR           := $(creole_DIR)/distrib
54
+preservice_PROG_DIR     := $(eole_DIR)/preservice
55
+pretemplate_PROG_DIR    := $(eole_DIR)/pretemplate
56
+posttemplate_PROG_DIR   := $(eole_DIR)/posttemplate
57
+postservice_PROG_DIR    := $(eole_DIR)/postservice
58
+ifeq ($(strip $(EOLE_VERSION)), 2.3)
59
+firewall_DATA_DIR       := $(eole_DIR)/firewall
60
+endif
61
+bacula_restore_DATA_DIR := $(eole_DIR)/bacula/restore
62
+bareos_restore_DATA_DIR := $(eole_DIR)/bareos/restore
63
+bacula_fichier_DATA_DIR := $(DESTDIR)/etc/bacula/baculafichiers.d
64
+bareos_fichier_DATA_DIR	:= $(DESTDIR)/etc/bareos/bareosfichiers.d
65
+ifeq ($(strip $(EOLE_VERSION)), 2.3)
66
+schedule_pre_PROG_DIR   := $(eole_DIR)/schedule/pre
67
+schedule_post_PROG_DIR  := $(eole_DIR)/schedule/post
68
+else
69
+schedule_scripts_PROG_DIR	:= $(eole_DIR)/schedule/scripts
70
+endif
71
+extra_REC_DIR		:= $(creole_DIR)/extra
72
+
73
+# Zéphir
74
+zephir_DATA_DIR         := $(DESTDIR)/usr/share/zephir
75
+zephir_configs_DATA_DIR := $(zephir_DATA_DIR)/monitor/configs
76
+zephir_srv_DATA_DIR     := $(zephir_configs_DATA_DIR)/services
77
+zephir_scripts_PROG_DIR := $(zephir_DATA_DIR)/scripts
78
+
79
+# SSO
80
+sso_DATA_DIR            := $(DESTDIR)/usr/share/sso
81
+sso_filtres_DATA_DIR    := $(sso_DATA_DIR)/app_filters
82
+sso_user-info_DATA_DIR  := $(sso_DATA_DIR)/user_infos
83
+
84
+# EAD
85
+ead_DATA_DIR            := $(DESTDIR)/usr/share/ead2/backend/config
86
+ead_actions_DATA_DIR    := $(ead_DATA_DIR)/actions
87
+ead_perms_DATA_DIR      := $(ead_DATA_DIR)/perms
88
+ead_roles_DATA_DIR      := $(ead_DATA_DIR)/roles
89
+
90
+# Program libraries goes under /usr/lib/<PROGRAM>/
91
+lib_$(SOURCE)_DATA_DIR	:= $(DESTDIR)/usr/lib/$(SOURCE)
92
+
93
+# Scripts Eole
94
+scripts_PROG_DIR        := $(eole_DIR)/sbin
95
+lib_eole_DATA_DIR	:= $(DESTDIR)/usr/lib/eole
96
+
97
+# LDAP
98
+ldap_passwords_DATA_DIR := $(eole_DIR)/annuaire/password_files
99
+
100
+# LXC
101
+lxc_DATA_DIR            := $(eole_DIR)/lxc
102
+lxc_fstab_DATA_DIR      := $(lxc_DATA_DIR)/fstab
103
+lxc_hosts_DATA_DIR	:= $(lxc_DATA_DIR)/hosts
104
+
105
+# SQL
106
+sql_DATA_DIR            := $(eole_DIR)/mysql/$(SOURCE)
107
+sql_gen_DATA_DIR        := $(sql_DATA_DIR)/gen
108
+sql_updates_DATA_DIR    := $(sql_DATA_DIR)/updates
109
+
110
+sql_conf_gen_DATA_DIR		:= $(eole_DIR)/applications/gen
111
+sql_conf_passwords_DATA_DIR	:= $(eole_DIR)/applications/passwords
112
+sql_conf_updates_DATA_DIR	:= $(eole_DIR)/applications/updates/$(SOURCE)
113
+
114
+# EoleDB sql directory
115
+db_DIR               := $(eole_DIR)/db
116
+db_gen_DATA_DIR      := $(eole_DIR)/db/$(SOURCE)/gen
117
+db_updates_DATA_DIR  := $(eole_DIR)/db/$(SOURCE)/updates
118
+
119
+# Certifs
120
+certs_DATA_DIR		:= $(eole_DIR)/certs
121
+
122
+# Logrotate
123
+logrotate_DATA_DIR      := $(DESTDIR)/etc/logrotate.d
124
+
125
+# Cron
126
+cron_PROG_DIR 		:= $(DESTDIR)/etc/cron.daily
127
+
128
+# Python modules
129
+ifneq ($(DESTDIR),)
130
+PYTHON_OPTS     := --root $(DESTDIR)
131
+endif
132
+
133
+# Translation
134
+TRANSLATION_SRC := translation
135
+TRANSLATION_DEST := $(DESTDIR)/usr/share/locale
136
+PO_FILES = $(wildcard $(TRANSLATION_SRC)/*/*.po)
137
+MO_FOLDERS = $(addprefix $(TRANSLATION_DEST), $(addsuffix LC_MESSAGES,$(subst $(TRANSLATION_SRC),,$(dir $(PO_FILES)))))
138
+
139
+#############################################
140
+# Common directories and files installation #
141
+#############################################
142
+
143
+all:
144
+
145
+$(MO_FOLDERS):
146
+	$(INSTALL_DIRECTORY) $@
147
+
148
+$(PO_FILES): $(MO_FOLDERS)
149
+	msgfmt -o $(TRANSLATION_DEST)$(subst $(TRANSLATION_SRC),,$(addsuffix LC_MESSAGES,$(dir $@)))/$(notdir $(@:.po=.mo)) $@
150
+
151
+install-lang: $(PO_FILES)
152
+
153
+install:: install-dirs install-files install-lang
154
+
155
+# $1 = command to run
156
+# $2 = source directory
157
+# $3 = destination directory
158
+define fc_install_file
159
+	if [ -d $2 ]; then					\
160
+		for file in `ls -1 $2/`; do			\
161
+		   $1 $2/$$file $3 || true;			\
162
+	    done;						\
163
+	fi
164
+endef
165
+
166
+##
167
+## Directory creation
168
+##
169
+
170
+# use % to catch local name in $*
171
+# data, program and recursive directory require a corresponding
172
+# directory in local sources
173
+%_DATA_DIR %_PROG_DIR %REC_DIR:
174
+	test ! -d $(subst _,/,$*) || $(INSTALL_DIRECTORY) $($@)
175
+
176
+# Create the directory referenced by the variable without a local one.
177
+%_DIR:
178
+	@: # do nothing
179
+
180
+##
181
+## Install files present directly under data, program and recursive directories
182
+##
183
+
184
+# $*   : name of variable
185
+# $($*): value of variable
186
+%-instdata:
187
+	$(call fc_install_file, $(INSTALL_DATA), $(subst _,/,$(subst _DATA_DIR,,$*)), $($*))
188
+
189
+%-instprog:
190
+	$(call fc_install_file, $(INSTALL_PROGRAM), $(subst _,/,$(subst _PROG_DIR,,$*)), $($*))
191
+
192
+%-instrec:
193
+	$(call fc_install_file, $(INSTALL_RECURSIVE), $(subst _,/,$(subst _REC_DIR,,$*)), $($*))
194
+
195
+
196
+# Use second expansion as variables may be created in included
197
+# Makefiles
198
+.SECONDEXPANSION:
199
+
200
+# List of all directories
201
+installdirs_LIST	= $(foreach V, $(filter %_DIR, $(.VARIABLES)),	\
202
+				$(if $(filter file, $(origin $(V))),	\
203
+					$(V)))
204
+# List of data directories
205
+installdata_LIST	= $(filter %_DATA_DIR, $(installdirs_LIST))
206
+# List of program directories
207
+installprog_LIST	= $(filter %_PROG_DIR, $(installdirs_LIST))
208
+# List of recursive directories
209
+installrec_LIST	 	= $(filter %_REC_DIR, $(installdirs_LIST))
210
+
211
+# Expand directories to create as dependency
212
+# Use double-colon to permit user to define additionnal install-dirs
213
+install-dirs:: $$(installdirs_LIST)
214
+
215
+# Expand files to install as dependency
216
+# Use double-colon to permit user to define additionnal install-files
217
+install-files:: install-data-files install-prog-files install-rec-dirs
218
+
219
+install-data-files: $$(patsubst %,%-instdata,$$(installdata_LIST))
220
+
221
+install-prog-files: $$(patsubst %,%-instprog,$$(installprog_LIST))
222
+
223
+install-rec-dirs:   $$(patsubst %,%-instrec,$$(installrec_LIST))
224
+
225
+# Installation of python modules
226
+ifeq ($(shell test -f setup.py && echo 0), 0)
227
+install-files::
228
+	python setup.py install --no-compile --install-layout=deb $(PYTHON_OPTS)
229
+endif
230
+
231
+.PHONY: install install-dirs install-files install-data-files install-prog-files install-rec-dirs

+ 933
- 0
tmpl/apache-shib.conf View File

@@ -0,0 +1,933 @@
1
+# https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPApacheConfig
2
+
3
+# RPM installations on platforms with a conf.d directory will
4
+# result in this file being copied into that directory for you
5
+# and preserved across upgrades.
6
+
7
+# For non-RPM installs, you should copy the relevant contents of
8
+# this file to a configuration location you control.
9
+
10
+#
11
+# Load the Shibboleth module.
12
+#
13
+LoadModule mod_shib /usr/lib64/shibboleth/mod_shib_24.so
14
+
15
+#
16
+# Turn this on to support "require valid-user" rules from other
17
+# mod_authn_* modules, and use "require shib-session" for anonymous
18
+# session-based authorization in mod_shib.
19
+#
20
+ShibCompatValidUser Off
21
+
22
+#
23
+# Ensures handler will be accessible.
24
+#
25
+<Location /Shibboleth.sso>
26
+  AuthType None
27
+  Require all granted
28
+</Location>
29
+
30
+#
31
+# Used for example style sheet in error templates.
32
+#
33
+<IfModule mod_alias.c>
34
+  <Location /shibboleth-sp>
35
+    AuthType None
36
+    Require all granted
37
+  </Location>
38
+  Alias /shibboleth-sp/main.css /usr/share/shibboleth/main.css
39
+</IfModule>
40
+ScriptAlias /secure /etc/shibboleth/shibenv.php
41
+#
42
+# Configure the module for content.
43
+#
44
+# You MUST enable AuthType shibboleth for the module to process
45
+# any requests, and there MUST be a require command as well. To
46
+# enable Shibboleth but not specify any session/access requirements
47
+# use "require shibboleth".
48
+#
49
+<Location /secure>
50
+  AuthType shibboleth
51
+  ShibRequestSetting requireSession 1
52
+  require shib-session
53
+  ShibUseHeaders On
54
+</Location>
55
+
56
+<IfModule mod_disk_cache.c>
57
+	CacheRoot "/var/cache/mod_proxy"
58
+ 	 
59
+	CacheEnable disk http://mse-preprod-posh/envole
60
+    CacheEnable disk /envole
61
+	CacheDisable /pve/soap
62
+	CacheDisable http://mse-preprod-posh/pve/soap
63
+	CacheDisable /pveredirect
64
+	CacheDisable http://mse-preprod-posh/pveredirect
65
+
66
+        CacheDirLevels 3
67
+        CacheDirLength 5
68
+        CacheIgnoreCacheControl Off
69
+        CacheMaxFileSize 100000000
70
+        CacheIgnoreNoLastMod On
71
+        CacheMaxExpire 1209600
72
+        CacheIgnoreQueryString On
73
+</IfModule>
74
+
75
+#CORS
76
+Header merge Access-Control-Allow-Origin "pp.messervices.etudiant.gouv.fr sips1.cnous.fr presips.cnous.fr"
77
+
78
+#Acces MSE
79
+
80
+Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED
81
+<Proxy balancer://mycluster>
82
+#BalancerMember http://dcn10.lokaviz.crous.vtech.fr:80 route=1
83
+#BalancerMember http://dcn14.lokaviz.crous.vtech.fr:80 route=2
84
+#BalancerMember http://vt.dev.lokaviz.crous.vtech.fr/ route=1
85
+#BalancerMember http://vt.dev.lokaviz.crous.vtech.fr/ route=2
86
+BalancerMember http://test.lokaviz.fr/ route=1
87
+BalancerMember http://test.lokaviz.fr/ route=2
88
+ProxySet stickysession=ROUTEID
89
+</Proxy>
90
+
91
+RequestHeader set X-Forwarded-Proto "https"
92
+
93
+#nouveau look
94
+ProxyPass /portal http://mse-preprod-posh/portal
95
+ProxyPassReverse /portal http://mse-preprod-posh/portal
96
+
97
+ProxyPass /envole http://mse-preprod-posh/envole
98
+ProxyPassReverse /envole http://mse-preprod-posh/envole
99
+
100
+ProxyPass /vip https://posh.pp.messervices.etudiant.gouv.fr/envole
101
+ProxyPassReverse /vip https://posh.pp.messervices.etudiant.gouv.fr/envole
102
+
103
+ProxyPass /posh-profil http://mse-preprod-posh/posh-profil
104
+ProxyPassReverse /posh-profil http://mse-preprod-posh/posh-profil
105
+
106
+ProxyPass /myadmin http://mse-preprod-posh/myadmin
107
+ProxyPassReverse /myadmin http://mse-preprod-posh/myadmin
108
+
109
+ProxyPass /pve http://mse-preprod-posh/pve
110
+ProxyPassReverse /pve http://mse-preprod-posh/pve
111
+
112
+ProxyPass /pve2 https://91.223.76.178/pve
113
+ProxyPassReverse /pve2 https://91.223.76.178/pve
114
+
115
+ProxyPass /pveredirect http://mse-preprod-posh/pveredirect
116
+ProxyPassReverse /pveredirect http://mse-preprod-posh/pveredirect
117
+
118
+ProxyPass /piwik https://mse-preprod-posh/piwik
119
+ProxyPassReverse /piwik https://mse-preprod-posh/piwik
120
+
121
+ProxyPass /evotestatique http://mse-preprod-posh/evotestatique
122
+ProxyPassReverse /evotestatique http://mse-preprod-posh/evotestatique
123
+
124
+#Acces AGLAE
125
+
126
+ProxyPass /depotPVE/ https://aglaestage.ac-paris.fr/depotPVE/
127
+ProxyPassReverse /depotPVE/ https://aglaestage.ac-paris.fr/depotPVE/
128
+
129
+ProxyPass /suiviPVE/ https://aglaestage.ac-paris.fr/suiviPVE/
130
+ProxyPassReverse /suiviPVE/ https://aglaestage.ac-paris.fr/suiviPVE/
131
+
132
+ProxyPass /ARPE/ https://aglaestage.ac-paris.fr/ARPE/
133
+ProxyPassReverse /ARPE/ https://aglaestage.ac-paris.fr/ARPE/
134
+
135
+ProxyPass /MOB/ https://aglaestage.ac-paris.fr/MOB/
136
+ProxyPassReverse /MOB/ https://aglaestage.ac-paris.fr/MOB/
137
+
138
+#Acces CNOUS
139
+
140
+#ProxyPass /bonsplanscrous http://presips.cnous.fr/Ucpa/WebApp/?ws_action=subscribe 
141
+#ProxyPassReverse /bonsplanscrous http://presips.cnous.fr/Ucpa/WebApp/?ws_action=subscribe 
142
+
143
+ProxyPass /bonsplanscrous https://presips.cnous.fr/Ucpa/WebApp
144
+ProxyPassReverse /bonsplanscrous https://presips.cnous.fr/Ucpa/WebApp 
145
+
146
+#Acces VTECH
147
+
148
+#ProxyPass /lokaviz http://vt.dev.lokaviz.crous.vtech.fr/
149
+#ProxyPass /lokaviz balancer://mycluster
150
+#ProxyPassReverse /lokaviz http://test.lokaviz.fr/
151
+#ProxyPassReverse /lokaviz http://vt.dev.lokaviz.crous.vtech.fr/
152
+#ProxyPassReverse /lokaviz http://www.lokaviz.fr/
153
+
154
+#ProxyPass /jobaviz http://vt.dev.jobaviz.crous.vtech.fr/
155
+#ProxyPassReverse /jobaviz http://vt.dev.jobaviz.crous.vtech.fr/
156
+#ProxyPass /jobaviz http://test.jobaviz.fr/
157
+#ProxyPassReverse /jobaviz http://test.jobaviz.fr/
158
+
159
+ProxyPass /caution http://test.lokaviz.fr/caution/demande/n:512/
160
+ProxyPassReverse /caution http://test.lokaviz.fr/caution/demande/n:512/
161
+
162
+ProxyPass /lokaviz56 http://logement.lokaviznat.crous.cakephp.valid56.vt/
163
+ProxyPassReverse /lokaviz56 http://logement.lokaviznat.crous.cakephp.valid56.vt/
164
+ProxyPass /jobaviz56 http://job.lokaviznat.crous.cakephp.valid56.vt/
165
+ProxyPassReverse /jobaviz56 http://job.lokaviznat.crous.cakephp.valid56.vt/
166
+
167
+ProxyPass /lokaviz_aurelien http://logement.lokaviznat.crous.aurelien.test/
168
+ProxyPassReverse /lokaviz_aurelien http://logement.lokaviznat.crous.aurelien.test/
169
+ProxyPass /jobaviz_aurelien http://job.lokaviznat.crous.aurelien.test/
170
+ProxyPassReverse /jobaviz_aurelien http://job.lokaviznat.crous.aurelien.test/
171
+#
172
+ProxyPass /lokaviz_thierry http://logement.lokaviznat.crous.thierry.test/
173
+ProxyPassReverse /lokaviz_thierry http://logement.lokaviznat.crous.thierry.test/
174
+ProxyPass /jobaviz_thierry http://job.lokaviznat.crous.thierry.test/
175
+ProxyPassReverse /jobaviz_thierry http://job.lokaviznat.crous.thierry.test/
176
+#
177
+ProxyPass /lokaviz_clement http://logement.lokaviznat.crous.clement.test/
178
+ProxyPassReverse /lokaviz_clement http://logement.lokaviznat.crous.clement.test/
179
+ProxyPass /jobaviz_clement http://job.lokaviznat.crous.clement.test/
180
+ProxyPassReverse /jobaviz_clement http://job.lokaviznat.crous.clement.test/
181
+#
182
+ProxyPass /lokaviz_mep http://logement.lokaviznat.crous.mep.test/
183
+ProxyPassReverse /lokaviz_mep http://logement.lokaviznat.crous.mep.test/
184
+ProxyPass /jobaviz_mep http://job.lokaviznat.crous.mep.test/
185
+ProxyPassReverse /jobaviz_mep http://job.lokaviznat.crous.mep.test/
186
+#
187
+ProxyPass /lokaviz_felix http://logement.lokaviznat.crous.felix.test/
188
+ProxyPassReverse /lokaviz_felix http://logement.lokaviznat.crous.felix.test/
189
+ProxyPass /jobaviz_felix http://job.lokaviznat.crous.felix.test/
190
+ProxyPassReverse /jobaviz_felix http://job.lokaviznat.crous.felix.test/
191
+#
192
+ProxyPass /lokaviz_manu http://logement.lokaviznat.crous.manu.test/
193
+ProxyPassReverse /lokaviz_manu http://logement.lokaviznat.crous.manu.test/
194
+ProxyPass /jobaviz_manu http://job.lokaviznat.crous.manu.test/
195
+ProxyPassReverse /jobaviz_manu http://job.lokaviznat.crous.manu.test/
196
+#
197
+ProxyPass /lokaviz_pelletier http://logement.lokaviznat.crous.pelletier.test/
198
+ProxyPassReverse /lokaviz_pelletier http://logement.lokaviznat.crous.pelletier.test/
199
+ProxyPass /jobaviz_pelletier http://job.lokaviznat.crous.pelletier.test/
200
+ProxyPassReverse /jobaviz_pelletier http://job.lokaviznat.crous.pelletier.test/
201
+#
202
+ProxyPass /lokaviz_manu2 http://logement.lokaviznat.crous.manu2.test/
203
+ProxyPassReverse /lokaviz_manu2 http://logement.lokaviznat.crous.manu2.test/
204
+ProxyPass /jobaviz_manu2 http://job.lokaviznat.crous.manu2.test/
205
+ProxyPassReverse /jobaviz_manu2 http://job.lokaviznat.crous.manu2.test/
206
+#
207
+ProxyPass /lokaviz_test http://test.lokaviz.fr/
208
+ProxyPassReverse /lokaviz_test http://test.lokaviz.fr/
209
+ProxyPass /jobaviz_test http://test.jobaviz.fr/
210
+ProxyPassReverse /jobaviz_test http://test.jobaviz.fr/
211
+#
212
+ProxyPass /jobaviz_testv2 http://test.v2.jobaviz.fr/
213
+ProxyPassReverse /jobaviz_testv2 http://test.v2.jobaviz.fr/
214
+
215
+# acces cve.crous.symfony.xxx.test
216
+#
217
+ProxyPass /cve_qualif https://qualif.controle.cve.cnous.vtech.fr
218
+ProxyPass /cve_test https://test.controle.cve.cnous.vtech.fr
219
+ProxyPass /cve_reference https://reference.controle.cve.cnous.vtech.fr
220
+ProxyPass /cve_auto https://auto.controle.cve.cnous.vtech.fr
221
+ProxyPassMatch ^/cve_([^/_]+)(.*)$ http://cve.crous.symfony.$1.test$2
222
+ProxyPassReverse /cve_mep http://cve.crous.symfony.mep.test
223
+ProxyPassReverse /cve_manu http://cve.crous.symfony.manu.test
224
+ProxyPassReverse /cve_manu2 http://cve.crous.symfony.manu2.test
225
+ProxyPassReverse /cve_pelletier http://cve.crous.symfony.pelletier.test
226
+ProxyPassReverse /cve_qualif https://qualif.controle.cve.cnous.vtech.fr
227
+ProxyPassReverse /cve_test https://test.controle.cve.cnous.vtech.fr
228
+ProxyPassReverse /cve_auto https://auto.controle.cve.cnous.vtech.fr
229
+ProxyPassReverse /cve_reference https://reference.controle.cve.cnous.vtech.fr
230
+
231
+#Acces VTECH BEDNCROUS
232
+ProxyPass /bedandcrous_test https://test.yoocitiz.com
233
+ProxyPass /bedandcrous_demo https://demo.yoocitiz.com
234
+ProxyPass /bedandcrous_reference https://reference.yoocitiz.com
235
+ProxyPass /bedandcrous_auto https://auto.yoocitiz.com
236
+ProxyPass /bedandcrous_preprod https://preprod.yoocitiz.com
237
+#
238
+ProxyPassMatch ^/bedandcrous_valid56_([^/]+)(.*)$ https://educotel.yoocitiz-$1.symfony.valid56.vt$2
239
+ProxyPassMatch ^/bedandcrous_([^/_]+)(.*)$ http://educotel.yoocitiz.symfony.$1.test$2
240
+
241
+#Acces VTECH RDV 
242
+ProxyPass /rdv_valid56 http://rdv.crous.symfony.valid56.vt
243
+ProxyPass /rdv_test https://test.rdv.crous.vtech.fr
244
+#ProxyPass /rdv_preprod https://preprod.rdv.crous.vtech.fr
245
+ProxyPass /rdv_preprod https://mesrdv-pp.nuonet.fr
246
+ProxyPass /rdv_prod https://prod.rdv.crous.vtech.fr
247
+ProxyPassMatch ^/rdv_([^/_]+)(.*)$ http://rdv.crous.symfony.$1.test$2
248
+
249
+#Acces RDV2 : RDV PROD
250
+ProxyPass /rdv2 https://mesrdv.etudiant.gouv.fr
251
+
252
+#Acces VTECH CENTRALE PROD
253
+ProxyPass /centrale_prod https://trouverunlogement.lescrous.fr 
254
+ProxyPassReverse /centrale_prod https://trouverunlogement.lescrous.fr
255
+
256
+#Acces VTECH CENTRALE
257
+ProxyPass /centrale_valid56 http://centrale.crous.symfony.valid56.vt
258
+ProxyPass /centrale_test https://test.centrale.crous.vtech.fr
259
+ProxyPass /centrale_qualification http://qualification.centrale.crous.vtech.fr
260
+ProxyPass /centrale_maintenance https://maintenance.centrale.crous.vtech.fr
261
+ProxyPass /centrale_livraison https://livraison.centrale.crous.vtech.fr
262
+ProxyPassMatch ^/centrale_([^/_]+)(.*)$ http://centrale.crous.symfony.$1.test$2 nocanon
263
+
264
+#Acces VTECH CENTRALE SACLAY NOM DUNE PIPE
265
+ProxyPass /saclay_valid56 http://centrale.crous.symfony.valid56.vt
266
+ProxyPass /saclay_test https://test.centrale.crous.vtech.fr
267
+ProxyPass /saclay_qualification https://qualification.centrale.crous.vtech.fr
268
+ProxyPass /saclay_maintenance   https://maintenance.centrale.crous.vtech.fr
269
+ProxyPass /saclay_livraison https://livraison.centrale.crous.vtech.fr
270
+ProxyPassMatch ^/saclay_([^/_]+)(.*)$ http://saclay.crous.symfony.$1.test$2 nocanon
271
+
272
+
273
+#Acces evote
274
+#QUE POUR PREPROD TOU
275
+#ProxyPass /evote-TOU https://evote.crous-toulouse.fr/evote-TOU/ 
276
+#ProxyPassReverse /evote-TOU https://evote.crous-toulouse.fr/evote-TOU/ 
277
+
278
+#ProxyPass /evote-TOU https://evote-demo.utc.fr///
279
+#ProxyPassReverse /evote-TOU https://evote-demo.utc.fr///
280
+
281
+Redirect /evote-TOU https://evote-demo.utc.fr
282
+
283
+#Access Humanroads
284
+ProxyPass /humanroads https://beta.preprod.millionroads.com/acquisition/user/create/cnous
285
+ProxyPassReverse /humanroads https://beta.preprod.millionroads.com/acquisition/user/create/cnous
286
+
287
+#Access passculture
288
+ProxyPass /passculture1 https://yoot-preprod.lajungle.net/
289
+ProxyPassReverse /passculture1 https://yoot-preprod.lajungle.net/ 
290
+
291
+ProxyPass /passculture2 http://yoot.test/  
292
+ProxyPassReverse /passculture2 http://yoot.test/  
293
+
294
+#Acces cite-U
295
+
296
+#Test pour AMJ
297
+#QUE POUR PREPROD
298
+ProxyPass /citeU-AMJ http://cnous.amj-developpement.com/citeU-AMJ/ 
299
+ProxyPassReverse /citeU-AMJ http://cnous.amj-developpement.com/citeU-AMJ/ 
300
+
301
+#dev
302
+#ProxyPass /citeU-TOU http://10.251.128.19/citeU-TOU/ 
303
+#ProxyPassReverse /citeU-TOU http://10.251.128.19/citeU-TOU/ 
304
+#preprod 
305
+#ProxyPass /citeU-TOU http://193.50.44.91/citeU-TOU/
306
+#ProxyPassReverse /citeU-TOU https://193.50.44.91/citeU-TOU/
307
+
308
+#prod 
309
+#ProxyPass /citeU-TOU https://cite-u.crous-toulouse.fr/citeU-TOU
310
+#ProxyPassReverse /citeU-TOU https://cite-u.crous-toulouse.fr/citeU-TOU
311
+
312
+#Redirect /CiteU-TOU https://cite-u.crous-toulouse.fr/citeU
313
+
314
+#ProxyPass /citeU-AIX https://cite-u.crous-aix-marseille.fr/citeU-AIX
315
+#ProxyPassReverse /citeU-AIX https://cite-u.crous-aix-marseille.fr/citeU-AIX
316
+
317
+#ProxyPass /citeU-AMI https://cite-u.crous-amiens.fr/citeU-AMI
318
+#ProxyPassReverse /citeU-AMI https://cite-u.crous-amiens.fr/citeU-AMI
319
+
320
+#ProxyPass /citeU-ANT https://cite-u.crous-antillesguyane.fr/citeU-ANT
321
+#ProxyPassReverse /citeU-ANT https://cite-u.crous-antillesguyane.fr/citeU-ANT
322
+
323
+#ProxyPass /citeU-BES https://cite-u.crous-besancon.fr/citeU-BES
324
+#ProxyPassReverse /citeU-BES https://cite-u.crous-besancon.fr/citeU-BES
325
+
326
+#ProxyPass /citeU-BOR https://cite-u.crous-bordeaux.fr/citeU-BOR
327
+#ProxyPassReverse /citeU-BOR https://cite-u.crous-bordeaux.fr/citeU-BOR
328
+
329
+#ProxyPass /citeU-CAE https://cite-u.crous-caen.fr/citeU-CAE
330
+#ProxyPassReverse /citeU-CAE https://cite-u.crous-caen.fr/citeU-CAE
331
+
332
+#ProxyPass /citeU-CLE https://citeu.crous-clermont.fr/citeU-CLE/
333
+#ProxyPassReverse /citeU-CLE https://citeu.crous-clermont.fr/citeU-CLE/
334
+
335
+#ProxyPass /citeU-COR https://cite-u.crous-corse.fr/citeU-COR
336
+#ProxyPassReverse /citeU-COR https://cite-u.crous-corse.fr/citeU-COR
337
+
338
+#ProxyPass /citeU-CRE https://cite-u.crous-creteil.fr/citeU-CRE
339
+#ProxyPassReverse /citeU-CRE https://cite-u.crous-creteil.fr/citeU-CRE
340
+
341
+#ProxyPass /citeU-DIJ https://cite-u.crous-dijon.fr/citeU-DIJ
342
+#ProxyPassReverse /citeU-DIJ https://cite-u.crous-dijon.fr/citeU-DIJ
343
+
344
+#ProxyPass /citeU-GRE https://cite-u-test.crous-grenoble.fr/citeU-GRE
345
+#ProxyPassReverse /citeU-GRE https://cite-u-test.crous-grenoble.fr/citeU-GRE
346
+
347
+#ProxyPass /citeU-LIL https://cite-u.crous-lille.fr/citeU-LIL
348
+#ProxyPassReverse /citeU-LIL https://cite-u.crous-lille.fr/citeU-LIL
349
+
350
+#ProxyPass /citeU-LIM https://cite-u.crous-limoges.fr/citeU-LIM
351
+#ProxyPassReverse /citeU-LIM https://cite-u.crous-limoges.fr/citeU-LIM
352
+
353
+#ProxyPass /citeU-LYO https://cite-u-test.crous-lyon.fr/citeU-LYO
354
+#ProxyPassReverse /citeU-LYO https://cite-u-test.crous-lyon.fr/citeU-LYO
355
+
356
+#ProxyPass /citeU-MON https://cite-u.crous-montpellier.fr/citeU-MON
357
+#ProxyPassReverse /citeU-MON https://cite-u.crous-montpellier.fr/citeU-MON
358
+
359
+#ProxyPass /citeU-NAN https://citeupp.crous-nantes.fr/citeU-NAN/
360
+#ProxyPassReverse /citeU-NAN https://citeupp.crous-nantes.fr/citeU-NAN/
361
+
362
+#ProxyPass /citeU-NCY https://cite-u.crous-nancy-metz.fr/citeU-NCY
363
+#ProxyPassReverse /citeU-NCY https://cite-u.crous-nancy-metz.fr/citeU-NCY
364
+
365
+#ProxyPass /citeU-NIC https://cite-u.crous-nice.fr/citeU-NIC
366
+#ProxyPassReverse /citeU-NIC https://cite-u.crous-nice.fr/citeU-NIC
367
+
368
+#ProxyPass /citeU-ORL https://cite-u.crous-orleans-tours.fr/citeU-ORL
369
+#ProxyPassReverse /citeU-ORL https://cite-u.crous-orleans-tours.fr/citeU-ORL
370
+
371
+
372
+#ProxyPass /citeU-ORL https://pp.cite-u.crous-orleans-tours.fr/citeU-ORL
373
+#ProxyPassReverse /citeU-ORL https://pp.cite-u.crous-orleans-tours.fr/citeU-ORL
374
+
375
+#ProxyPass /citeU-PAR https://citeu.crous-paris.fr/citeU-PAR
376
+#ProxyPassReverse /citeU-PAR https://citeu.crous-paris.fr/citeU-PAR
377
+
378
+#ProxyPass /citeU-POI https://cite-u.crous-poitiers.fr/citeU-POI
379
+#ProxyPassReverse /citeU-POI https://cite-u.crous-poitiers.fr/citeU-POI
380
+
381
+#ProxyPass /citeU-REI https://cite-u.crous-reims.fr/citeU-REI
382
+#ProxyPassReverse /citeU-REI https://cite-u.crous-reims.fr/citeU-REI
383
+
384
+#ProxyPass /citeU-REN https://cite-u.crous-rennes.fr/citeU-REN
385
+#ProxyPassReverse /citeU-REN https://cite-u.crous-rennes.fr/citeU-REN
386
+
387
+#ProxyPass /citeU-REU https://cite-u.crous-reunion.fr/citeU-REU
388
+#ProxyPassReverse /citeU-REU https://cite-u.crous-reunion.fr/citeU-REU
389
+
390
+#ProxyPass /citeU-ROU https://cite-u.crous-rouen.fr/citeU-ROU
391
+#ProxyPassReverse /citeU-ROU https://cite-u.crous-rouen.fr/citeU-ROU
392
+
393
+#ProxyPass /citeU-STR https://cite-u.crous-strasbourg.fr/citeU-STR
394
+#ProxyPassReverse /citeU-STR https://cite-u.crous-strasbourg.fr/citeU-STR
395
+
396
+#ProxyPass /citeU-VER https://cite-u.crous-versailles.fr/citeU-VER
397
+#ProxyPassReverse /citeU-VER https://cite-u.crous-versailles.fr/citeU-VER
398
+
399
+
400
+#Protection SP PVE
401
+<Location /pve-login>
402
+    ProxyPreserveHost On
403
+    ProxyPass https://posh.pp.messervices.etudiant.gouv.fr:8444
404
+    ProxyPassReverse https://posh.pp.messervices.etudiant.gouv.fr:8444
405
+    AuthType shibboleth
406
+    ShibUseHeaders On
407
+    require shibboleth
408
+</Location>
409
+
410
+<Location /pveredirect>
411
+    AuthType shibboleth
412
+    ShibRequestSetting requireSession 1
413
+    ShibUseHeaders On
414
+    require shib-session
415
+</Location>
416
+
417
+<Location /evotestatique>
418
+    AuthType shibboleth
419
+    ShibRequestSetting requireSession 1
420
+    ShibUseHeaders On
421
+    require shib-session
422
+</Location>
423
+
424
+#test web service
425
+<Location /testWS>
426
+   AuthType shibboleth
427
+   ShibRequestSetting requireSession 0
428
+   ShibUseHeaders On
429
+   require shibboleth
430
+</Location>
431
+
432
+#Protection SP AGLAE
433
+<Location /depotPVE>
434
+   AuthType shibboleth
435
+   ShibRequestSetting requireSession 1
436
+   ShibUseHeaders On
437
+   require shibboleth
438
+</Location>
439
+
440
+<Location /suiviPVE>
441
+   AuthType shibboleth
442
+   ShibRequestSetting requireSession 1
443
+   ShibUseHeaders On
444
+   require shibboleth
445
+</Location>
446
+
447
+<Location /ARPE>
448
+   AuthType shibboleth
449
+   ShibRequestSetting requireSession 1
450
+   ShibUseHeaders On
451
+   require shibboleth
452
+</Location>
453
+
454
+<Location /MOB>
455
+   AuthType shibboleth
456
+   ShibRequestSetting requireSession 1
457
+   ShibUseHeaders On
458
+   require shibboleth
459
+</Location>
460
+#Protection SP AGLAE
461
+
462
+#Protection SP VIZ (VTECH) 
463
+#<Location /jobaviz>
464
+#   AuthType shibboleth
465
+#   ShibRequestSetting requireSession 1
466
+#   ShibUseHeaders On
467
+#   require shibboleth
468
+#</Location>
469
+
470
+#<Location /lokaviz>
471
+#   AuthType shibboleth
472
+#   ShibRequestSetting requireSession 1
473
+#   ShibUseHeaders On
474
+#   require shibboleth
475
+#</Location>
476
+
477
+<Location /caution>
478
+   AuthType shibboleth
479
+   ShibRequestSetting requireSession 1
480
+   ShibUseHeaders On
481
+   require shibboleth
482
+</Location>
483
+
484
+<Location /jobaviz56>
485
+   AuthType shibboleth
486
+   ShibRequestSetting requireSession 1
487
+   ShibUseHeaders On
488
+   require shibboleth
489
+</Location>
490
+<Location /lokaviz56>
491
+   AuthType shibboleth
492
+   ShibRequestSetting requireSession 1
493
+   ShibUseHeaders On
494
+   require shibboleth
495
+</Location>
496
+
497
+<Location /lokaviz_thierry>
498
+   AuthType shibboleth
499
+   ShibRequestSetting requireSession 1
500
+   ShibUseHeaders On
501
+   require shibboleth
502
+</Location>
503
+<Location /jobaviz_thierry>
504
+   AuthType shibboleth
505
+   ShibRequestSetting requireSession 1
506
+   ShibUseHeaders On
507
+   require shibboleth
508
+</Location>
509
+
510
+<Location /lokaviz_clement>
511
+   AuthType shibboleth
512
+   ShibRequestSetting requireSession 1
513
+   ShibUseHeaders On
514
+   require shibboleth
515
+</Location>
516
+<Location /jobaviz_clement>
517
+   AuthType shibboleth
518
+   ShibRequestSetting requireSession 1
519
+   ShibUseHeaders On
520
+   require shibboleth
521
+</Location>
522
+
523
+<Location /lokaviz_mep>
524
+   AuthType shibboleth
525
+   ShibRequestSetting requireSession 1
526
+   ShibUseHeaders On
527
+   require shibboleth
528
+</Location>
529
+<Location /jobaviz_mep>
530
+   AuthType shibboleth
531
+   ShibRequestSetting requireSession 1
532
+   ShibUseHeaders On
533
+   require shibboleth
534
+</Location>
535
+
536
+<Location /lokaviz_felix>
537
+   AuthType shibboleth
538
+   ShibRequestSetting requireSession 1
539
+   ShibUseHeaders On
540
+   require shibboleth
541
+</Location>
542
+<Location /jobaviz_felix>
543
+   AuthType shibboleth
544
+   ShibRequestSetting requireSession 1
545
+   ShibUseHeaders On
546
+   require shibboleth
547
+</Location>
548
+
549
+<Location /jobaviz_aurelien>
550
+   AuthType shibboleth
551
+   ShibRequestSetting requireSession 1
552
+   ShibUseHeaders On
553
+   require shibboleth
554
+</Location>
555
+<Location /lokaviz_aurelien>
556
+   AuthType shibboleth
557
+   ShibRequestSetting requireSession 1
558
+   ShibUseHeaders On
559
+   require shibboleth
560
+</Location>
561
+
562
+<Location /lokaviz_manu>
563
+   AuthType shibboleth
564
+   ShibRequestSetting requireSession 1
565
+   ShibUseHeaders On
566
+   require shibboleth
567
+</Location>
568
+<Location /jobaviz_manu>
569
+   AuthType shibboleth
570
+   ShibRequestSetting requireSession 1
571
+   ShibUseHeaders On
572
+   require shibboleth
573
+</Location>
574
+<Location /lokaviz_manu2>
575
+   AuthType shibboleth
576
+   ShibRequestSetting requireSession 1
577
+   ShibUseHeaders On
578
+   require shibboleth
579
+</Location>
580
+<Location /jobaviz_manu2>
581
+   AuthType shibboleth
582
+   ShibRequestSetting requireSession 1
583
+   ShibUseHeaders On
584
+   require shibboleth
585
+</Location>
586
+
587
+<Location /lokaviz_pelletier>
588
+   AuthType shibboleth
589
+   ShibRequestSetting requireSession 1
590
+   ShibUseHeaders On
591
+   require shibboleth
592
+</Location>
593
+<Location /jobaviz_pelletier>
594
+   AuthType shibboleth
595
+   ShibRequestSetting requireSession 1
596
+   ShibUseHeaders On
597
+   require shibboleth
598
+</Location>
599
+
600
+<Location /jobaviz_test>
601
+   AuthType shibboleth
602
+   ShibRequestSetting requireSession 1
603
+   ShibUseHeaders On
604
+   require shibboleth
605
+</Location>
606
+<Location /lokaviz_test>
607
+   AuthType shibboleth
608
+   ShibRequestSetting requireSession 1
609
+   ShibUseHeaders On
610
+   require shibboleth
611
+</Location>
612
+
613
+<Location /jobaviz_testv2>
614
+   AuthType shibboleth
615
+   ShibRequestSetting requireSession 1
616
+   ShibUseHeaders On
617
+   require shibboleth
618
+</Location>
619
+
620
+<LocationMatch ^/cve_([^/]+) >
621
+   AuthType shibboleth
622
+   ShibRequestSetting requireSession 1
623
+   ShibUseHeaders On
624
+   require shibboleth
625
+</LocationMatch>
626
+
627
+#Protection SP VIZ (VTECH)
628
+
629
+#Protection SP BEDNCROUS (VTECH) 
630
+
631
+<LocationMatch ^/bedandcrous_([^/]+) >
632
+   AuthType shibboleth
633
+   ShibRequestSetting requireSession 1
634
+   ShibUseHeaders On
635
+   require shibboleth
636
+</LocationMatch>
637
+
638
+#Protection SP BEDNCROUS (VTECH) 
639
+
640
+#Protection SP RDV2
641
+<Location /rdv2>
642
+   AuthType shibboleth
643
+   ShibRequestSetting requireSession 1
644
+   ShibUseHeaders On
645
+   require shibboleth
646
+</Location>
647
+#Protection SP RDV2 
648
+
649
+#Protection SP RDV (VTECH) 
650
+<LocationMatch ^/rdv_([^/]+) >
651
+   AuthType shibboleth
652
+   ShibRequestSetting requireSession 1
653
+   ShibUseHeaders On
654
+   require shibboleth
655
+</LocationMatch>
656
+#Protection SP RDV (VTECH) 
657
+
658
+#Protection SP SACLAY (VTECH) 
659
+<LocationMatch ^/saclay_([^/]+) >
660
+   AuthType shibboleth
661
+   ShibRequestSetting requireSession 1
662
+   ShibUseHeaders On
663
+   require shibboleth
664
+</LocationMatch>
665
+#Protection SP SACLAY (VTECH) 
666
+
667
+#Protection SP CENTRALE (VTECH) 
668
+<LocationMatch ^/centrale_([^/]+) >
669
+   AuthType shibboleth
670
+   ShibRequestSetting requireSession 1
671
+   ShibUseHeaders On
672
+   require shibboleth
673
+</LocationMatch>
674
+#Protection SP CENTRALE (VTECH) 
675
+
676
+#Protection SP CENTRALE PROD (VTECH) 
677
+<LocationMatch /centrale_prod>
678
+   AuthType shibboleth
679
+   ShibRequestSetting requireSession 1
680
+   ShibUseHeaders On
681
+   require shibboleth
682
+</LocationMatch>
683
+#Protection SP CENTRALE (VTECH) 
684
+
685
+#Protection SP City-U
686
+<Location /citeU-AIX>
687
+   AuthType shibboleth
688
+   ShibRequestSetting requireSession 1
689
+   ShibUseHeaders On
690
+   require shibboleth
691
+</Location>
692
+
693
+<Location /citeU-AMI>
694
+   AuthType shibboleth
695
+   ShibRequestSetting requireSession 1
696
+   ShibUseHeaders On
697
+   require shibboleth
698
+</Location>
699
+
700
+<Location /citeU-ANT>
701
+   AuthType shibboleth
702
+   ShibRequestSetting requireSession 1
703
+   ShibUseHeaders On
704
+   require shibboleth
705
+</Location>
706
+
707
+<Location /citeU-BES>
708
+   AuthType shibboleth
709
+   ShibRequestSetting requireSession 1
710
+   ShibUseHeaders On
711
+   require shibboleth
712
+</Location>
713
+
714
+<Location /citeU-BOR>
715
+   AuthType shibboleth
716
+   ShibRequestSetting requireSession 1
717
+   ShibUseHeaders On
718
+   require shibboleth
719
+</Location>
720
+
721
+<Location /citeU-CAE>
722
+   AuthType shibboleth
723
+   ShibRequestSetting requireSession 1
724
+   ShibUseHeaders On
725
+   require shibboleth
726
+</Location>
727
+
728
+<Location /citeU-CLE>
729
+   AuthType shibboleth
730
+   ShibRequestSetting requireSession 1
731
+   ShibUseHeaders On
732
+   require shibboleth
733
+</Location>
734
+
735
+<Location /citeU-COR>
736
+   AuthType shibboleth
737
+   ShibRequestSetting requireSession 1
738
+   ShibUseHeaders On
739
+   require shibboleth
740
+</Location>
741
+
742
+<Location /citeU-CRE>
743
+   AuthType shibboleth
744
+   ShibRequestSetting requireSession 1
745
+   ShibUseHeaders On
746
+   require shibboleth
747
+</Location>
748
+
749
+<Location /citeU-DIJ>
750
+   AuthType shibboleth
751
+   ShibRequestSetting requireSession 1
752
+   ShibUseHeaders On
753
+   require shibboleth
754
+</Location>
755
+
756
+<Location /citeU-GRE>
757
+   AuthType shibboleth
758
+   ShibRequestSetting requireSession 1
759
+   ShibUseHeaders On
760
+   require shibboleth
761
+</Location>
762
+
763
+<Location /citeU-LIL>
764
+   AuthType shibboleth
765
+   ShibRequestSetting requireSession 1
766
+   ShibUseHeaders On
767
+   require shibboleth
768
+</Location>
769
+
770
+<Location /citeU-LIM>
771
+   AuthType shibboleth
772
+   ShibRequestSetting requireSession 1
773
+   ShibUseHeaders On
774
+   require shibboleth
775
+</Location>
776
+
777
+<Location /citeU-LYO>
778
+   AuthType shibboleth
779
+   ShibRequestSetting requireSession 1
780
+   ShibUseHeaders On
781
+   require shibboleth
782
+</Location>
783
+
784
+<Location /citeU-MON>
785
+   AuthType shibboleth
786
+   ShibRequestSetting requireSession 1
787
+   ShibUseHeaders On
788
+   require shibboleth
789
+</Location>
790
+
791
+<Location /citeU-NAN>
792
+   AuthType shibboleth
793
+   ShibRequestSetting requireSession 1
794
+   ShibUseHeaders On
795
+   require shibboleth
796
+</Location>
797
+
798
+<Location /citeU-NIC>
799
+   AuthType shibboleth
800
+   ShibRequestSetting requireSession 1
801
+   ShibUseHeaders On
802
+   require shibboleth
803
+</Location>
804
+
805
+<Location /citeU-NCY>
806
+   AuthType shibboleth
807
+   ShibRequestSetting requireSession 1
808
+   ShibUseHeaders On
809
+   require shibboleth
810
+</Location>
811
+
812
+<Location /citeU-ORL>
813
+   AuthType shibboleth
814
+   ShibRequestSetting requireSession 1
815
+   ShibUseHeaders On
816
+   require shibboleth
817
+</Location>
818
+
819
+<Location /citeU-PAR>
820
+   AuthType shibboleth
821
+   ShibRequestSetting requireSession 1
822
+   ShibUseHeaders On
823
+   require shibboleth
824
+</Location>
825
+
826
+<Location /citeU-POI>
827
+   AuthType shibboleth
828
+   ShibRequestSetting requireSession 1
829
+   ShibUseHeaders On
830
+   require shibboleth
831
+</Location>
832
+
833
+<Location /citeU-REI>
834
+   AuthType shibboleth
835
+   ShibRequestSetting requireSession 1
836
+   ShibUseHeaders On
837
+   require shibboleth
838
+</Location>
839
+
840
+<Location /citeU-REN>
841
+   AuthType shibboleth
842
+   ShibRequestSetting requireSession 1
843
+   ShibUseHeaders On
844
+   require shibboleth
845
+</Location>
846
+
847
+<Location /citeU-REU>
848
+   AuthType shibboleth
849
+   ShibRequestSetting requireSession 1
850
+   ShibUseHeaders On
851
+   require shibboleth
852
+</Location>
853
+
854
+<Location /citeU-ROU>
855
+   AuthType shibboleth
856
+   ShibRequestSetting requireSession 1
857
+   ShibUseHeaders On
858
+   require shibboleth
859
+</Location>
860
+
861
+<Location /citeU-STR>
862
+   AuthType shibboleth
863
+   ShibRequestSetting requireSession 1
864
+   ShibUseHeaders On
865
+   require shibboleth
866
+</Location>
867
+
868
+<Location /citeU-TOU>
869
+   AuthType shibboleth
870
+   ShibRequestSetting requireSession 1
871
+   ShibUseHeaders On
872
+   require shibboleth
873
+</Location>
874
+
875
+<Location /citeU-VER>
876
+   AuthType shibboleth
877
+   ShibRequestSetting requireSession 1
878
+   ShibUseHeaders On
879
+   require shibboleth
880
+</Location>
881
+
882
+
883
+#Protection SP City-U
884
+#Protection CNOUS
885
+
886
+<Location /bonsplanscrous>
887
+   AuthType shibboleth
888
+   ShibRequestSetting requireSession 1
889
+   ShibUseHeaders On
890
+   require shibboleth
891
+</Location>
892
+
893
+<Location /humanroads>
894
+   AuthType shibboleth
895
+   ShibRequestSetting requireSession 1
896
+   ShibUseHeaders On
897
+   require shibboleth
898
+</Location>
899
+
900
+<Location /passculture1>
901
+   AuthType shibboleth
902
+   ShibRequestSetting requireSession 1
903
+   ShibUseHeaders On
904
+   require shibboleth
905
+</Location>
906
+
907
+<Location /passculture2>
908
+   AuthType shibboleth
909
+   ShibRequestSetting requireSession 1
910
+   ShibUseHeaders On
911
+   require shibboleth
912
+</Location>
913
+
914
+#Protection CNOUS 
915
+
916
+
917
+#Protection basic auth 
918
+#Protection par mot de passe
919
+<Location /envole>
920
+        AuthType Basic
921
+        AuthName "Acces restreint"
922
+        AuthBasicProvider file
923
+        AuthUserFile /var/www/html/.htpasswd
924
+        Require user admin
925
+</Location>
926
+
927
+<Location /vip>
928
+        AuthType Basic
929
+        AuthName "Acces restreint"
930
+        AuthBasicProvider file
931
+        AuthUserFile /var/www/html/.htpasswd
932
+        Require user admin
933
+</Location>

+ 179
- 0
tmpl/attribute-map.xml View File

@@ -0,0 +1,179 @@
1
+<Attributes xmlns="urn:mace:shibboleth:2.0:attribute-map" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+
3
+    <!--
4
+    The mappings are a mix of SAML 1.1 and SAML 2.0 attribute names agreed to within the Shibboleth
5
+    community. The non-OID URNs are SAML 1.1 names and most of the OIDs are SAML 2.0 names, with a
6
+    few exceptions for newer attributes where the name is the same for both versions. You will
7
+    usually want to uncomment or map the names for both SAML versions as a unit.
8
+    -->
9
+    
10
+    <!-- First some useful eduPerson attributes that many sites might use. -->
11
+
12
+    <!-- CUSTOM MSE eppn
13
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" id="eppn">
14
+        <AttributeDecoder xsi:type="ScopedAttributeDecoder"/>
15
+    </Attribute>
16
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonPrincipalName" id="eppn">
17
+        <AttributeDecoder xsi:type="ScopedAttributeDecoder"/>
18
+    </Attribute> -->
19
+
20
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonPrincipalName" id="eppn">
21
+    <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
22
+    </Attribute>
23
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" id="eppn">
24
+        <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
25
+    </Attribute>
26
+
27
+    <!-- CUSTOM MSE code INE pour les étudiants -->
28
+    <Attribute name="urn:oid:1.3.6.1.4.1.7135.1.2.1.9" id="supannCodeINE"/>
29
+    <Attribute name="urn:mace:cru.fr:attribute-def:supannCodeINE" id="supannCodeINE"/>
30
+
31
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.9" id="affiliation">
32
+        <AttributeDecoder xsi:type="ScopedAttributeDecoder" caseSensitive="false"/>
33
+    </Attribute>
34
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonScopedAffiliation" id="affiliation">
35
+        <AttributeDecoder xsi:type="ScopedAttributeDecoder" caseSensitive="false"/>
36
+    </Attribute>
37
+
38
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.1" id="unscoped-affiliation">
39
+        <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
40
+    </Attribute>
41
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonAffiliation" id="unscoped-affiliation">
42
+        <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
43
+    </Attribute>
44
+
45
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.7" id="entitlement"/>
46
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonEntitlement" id="entitlement"/>
47
+
48
+    <!-- A persistent id attribute that supports personalized anonymous access. -->
49
+    
50
+    <!-- First, the deprecated/incorrect version, decoded as a scoped string: -->
51
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonTargetedID" id="targeted-id">
52
+        <AttributeDecoder xsi:type="ScopedAttributeDecoder"/>
53
+        <!-- <AttributeDecoder xsi:type="NameIDFromScopedAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/> -->
54
+    </Attribute>
55
+    
56
+    <!-- Second, an alternate decoder that will decode the incorrect form into the newer form. -->
57
+    <!--
58
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonTargetedID" id="persistent-id">
59
+        <AttributeDecoder xsi:type="NameIDFromScopedAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/>
60
+    </Attribute>
61
+    -->
62
+    
63
+    <!-- Third, the new version (note the OID-style name): -->
64
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" id="persistent-id">
65
+        <AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/>
66
+    </Attribute>
67
+
68
+    <!-- Fourth, the SAML 2.0 NameID Format: -->
69
+    <Attribute name="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" id="persistent-id">
70
+        <AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/>
71
+    </Attribute>
72
+    
73
+    <!-- CUSTOM MSE eppa-->
74
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.5" id="primary-affiliation">
75
+        <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
76
+    </Attribute>
77
+
78
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonPrimaryAffiliation" id="primary-affiliation">
79
+        <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
80
+    </Attribute>
81
+
82
+
83
+    <!--
84
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.11" id="assurance"/>
85
+    
86
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.5.1.1" id="member"/>
87
+    
88
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.6.1.1" id="eduCourseOffering"/>
89
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.6.1.2" id="eduCourseMember"/>
90
+
91
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.5" id="primary-affiliation">
92
+        <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
93
+    </Attribute>
94
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.2" id="nickname"/>
95
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.8" id="primary-orgunit-dn"/>
96
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.4" id="orgunit-dn"/>
97
+    <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.3" id="org-dn"/>
98
+
99
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonPrimaryAffiliation" id="primary-affiliation">
100
+        <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
101
+    </Attribute>
102
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonNickname" id="nickname"/>
103
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonPrimaryOrgUnitDN" id="primary-orgunit-dn"/>
104
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonOrgUnitDN" id="orgunit-dn"/>
105
+    <Attribute name="urn:mace:dir:attribute-def:eduPersonOrgDN" id="org-dn"/>
106
+    -->
107
+
108
+    <!-- SCHAC attributes, uncomment to use... -->
109
+    <!--
110
+    <Attribute name="urn:oid:1.3.6.1.4.1.25178.1.2.9" id="schacHomeOrganization"/>
111
+    -->
112
+    
113
+    <!-- Examples of LDAP-based attributes, uncomment to use these... -->
114
+
115
+    <!-- CUSTOM MSE cn sn mail givenName displayName-->
116
+    <Attribute name="urn:oid:2.5.4.3" id="cn"/>
117
+    <Attribute name="urn:oid:2.5.4.4" id="sn"/>
118
+    <Attribute name="urn:oid:0.9.2342.19200300.100.1.3" id="mail"/>
119
+    <Attribute name="urn:mace:dir:attribute-def:cn" id="cn"/>
120
+    <Attribute name="urn:mace:dir:attribute-def:sn" id="sn"/>
121
+    <Attribute name="urn:mace:dir:attribute-def:mail" id="mail"/>
122
+    <Attribute name="urn:oid:2.5.4.42" id="givenName"/>
123
+    <Attribute name="urn:oid:2.16.840.1.113730.3.1.241" id="displayName"/>
124
+    <Attribute name="urn:mace:dir:attribute-def:givenName" id="givenName"/>
125
+    <Attribute name="urn:mace:dir:attribute-def:displayName" id="displayName"/>
126
+    <!--
127
+    <Attribute name="urn:oid:0.9.2342.19200300.100.1.1" id="uid"/>
128
+    <Attribute name="urn:oid:2.5.4.20" id="telephoneNumber"/>
129
+    <Attribute name="urn:oid:2.5.4.12" id="title"/>
130
+    <Attribute name="urn:oid:2.5.4.43" id="initials"/>
131
+    <Attribute name="urn:oid:2.5.4.13" id="description"/>
132
+    <Attribute name="urn:oid:2.16.840.1.113730.3.1.1" id="carLicense"/>
133
+    <Attribute name="urn:oid:2.16.840.1.113730.3.1.2" id="departmentNumber"/>
134
+    <Attribute name="urn:oid:2.16.840.1.113730.3.1.3" id="employeeNumber"/>
135
+    <Attribute name="urn:oid:2.16.840.1.113730.3.1.4" id="employeeType"/>
136
+    <Attribute name="urn:oid:2.16.840.1.113730.3.1.39" id="preferredLanguage"/>
137
+    <Attribute name="urn:oid:0.9.2342.19200300.100.1.10" id="manager"/>
138
+    <Attribute name="urn:oid:2.5.4.34" id="seeAlso"/>
139
+    <Attribute name="urn:oid:2.5.4.23" id="facsimileTelephoneNumber"/>
140
+    <Attribute name="urn:oid:2.5.4.9" id="street"/>
141
+    <Attribute name="urn:oid:2.5.4.18" id="postOfficeBox"/>
142
+    <Attribute name="urn:oid:2.5.4.17" id="postalCode"/>
143
+    <Attribute name="urn:oid:2.5.4.8" id="st"/>
144
+    <Attribute name="urn:oid:2.5.4.7" id="l"/>
145
+    <Attribute name="urn:oid:2.5.4.10" id="o"/>
146
+    <Attribute name="urn:oid:2.5.4.11" id="ou"/>
147
+    <Attribute name="urn:oid:2.5.4.15" id="businessCategory"/>
148
+    <Attribute name="urn:oid:2.5.4.19" id="physicalDeliveryOfficeName"/>
149
+
150
+    <Attribute name="urn:mace:dir:attribute-def:cn" id="cn"/>
151
+    <Attribute name="urn:mace:dir:attribute-def:sn" id="sn"/>
152
+    <Attribute name="urn:mace:dir:attribute-def:givenName" id="givenName"/>
153
+    <Attribute name="urn:mace:dir:attribute-def:displayName" id="displayName"/>
154
+    <Attribute name="urn:mace:dir:attribute-def:uid" id="uid"/>
155
+    <Attribute name="urn:mace:dir:attribute-def:mail" id="mail"/>
156
+    <Attribute name="urn:mace:dir:attribute-def:telephoneNumber" id="telephoneNumber"/>
157
+    <Attribute name="urn:mace:dir:attribute-def:title" id="title"/>
158
+    <Attribute name="urn:mace:dir:attribute-def:initials" id="initials"/>
159
+    <Attribute name="urn:mace:dir:attribute-def:description" id="description"/>
160
+    <Attribute name="urn:mace:dir:attribute-def:carLicense" id="carLicense"/>
161
+    <Attribute name="urn:mace:dir:attribute-def:departmentNumber" id="departmentNumber"/>
162
+    <Attribute name="urn:mace:dir:attribute-def:employeeNumber" id="employeeNumber"/>
163
+    <Attribute name="urn:mace:dir:attribute-def:employeeType" id="employeeType"/>
164
+    <Attribute name="urn:mace:dir:attribute-def:preferredLanguage" id="preferredLanguage"/>
165
+    <Attribute name="urn:mace:dir:attribute-def:manager" id="manager"/>
166
+    <Attribute name="urn:mace:dir:attribute-def:seeAlso" id="seeAlso"/>
167
+    <Attribute name="urn:mace:dir:attribute-def:facsimileTelephoneNumber" id="facsimileTelephoneNumber"/>
168
+    <Attribute name="urn:mace:dir:attribute-def:street" id="street"/>
169
+    <Attribute name="urn:mace:dir:attribute-def:postOfficeBox" id="postOfficeBox"/>
170
+    <Attribute name="urn:mace:dir:attribute-def:postalCode" id="postalCode"/>
171
+    <Attribute name="urn:mace:dir:attribute-def:st" id="st"/>
172
+    <Attribute name="urn:mace:dir:attribute-def:l" id="l"/>
173
+    <Attribute name="urn:mace:dir:attribute-def:o" id="o"/>
174
+    <Attribute name="urn:mace:dir:attribute-def:ou" id="ou"/>
175
+    <Attribute name="urn:mace:dir:attribute-def:businessCategory" id="businessCategory"/>
176
+    <Attribute name="urn:mace:dir:attribute-def:physicalDeliveryOfficeName" id="physicalDeliveryOfficeName"/>
177
+    -->
178
+
179
+</Attributes>

+ 81
- 0
tmpl/attribute-policy.xml View File

@@ -0,0 +1,81 @@
1
+<afp:AttributeFilterPolicyGroup
2
+    xmlns="urn:mace:shibboleth:2.0:afp:mf:basic"
3
+    xmlns:saml="urn:mace:shibboleth:2.0:afp:mf:saml"
4
+    xmlns:basic="urn:mace:shibboleth:2.0:afp:mf:basic"
5
+    xmlns:afp="urn:mace:shibboleth:2.0:afp"
6
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
7
+
8
+    <!-- Shared rule for affiliation values. -->
9
+    <afp:PermitValueRule id="eduPersonAffiliationValues" xsi:type="OR">
10
+        <Rule xsi:type="AttributeValueString" value="faculty"/>
11
+        <Rule xsi:type="AttributeValueString" value="student"/>
12
+        <Rule xsi:type="AttributeValueString" value="staff"/>
13
+        <Rule xsi:type="AttributeValueString" value="alum"/>
14
+        <Rule xsi:type="AttributeValueString" value="member"/>
15
+        <Rule xsi:type="AttributeValueString" value="affiliate"/>
16
+        <Rule xsi:type="AttributeValueString" value="employee"/>
17
+        <Rule xsi:type="AttributeValueString" value="library-walk-in"/>
18
+        <!-- CUSTOM MSE -->
19
+        <Rule xsi:type="AttributeValueString" value="admin"/>
20
+        <Rule xsi:type="AttributeValueString" value="adminsupport"/>
21
+        <Rule xsi:type="AttributeValueString" value="support"/>
22
+        <Rule xsi:type="AttributeValueString" value="crousadmin"/>
23
+        <Rule xsi:type="AttributeValueString" value="crousgestionnaire"/>
24
+        <Rule xsi:type="AttributeValueString" value="crousconsultation"/>
25
+
26
+    </afp:PermitValueRule>
27
+    
28
+    <!--
29
+    Shared rule for all "scoped" attributes, but you'll have to manually apply it inside
30
+    an AttributeRule for each attribute you want to check.
31
+    -->
32
+    <afp:PermitValueRule id="ScopingRules" xsi:type="AND">
33
+        <Rule xsi:type="NOT">
34
+            <Rule xsi:type="AttributeValueRegex" regex="@"/>
35
+        </Rule>
36
+        <Rule xsi:type="saml:AttributeScopeMatchesShibMDScope"/>
37
+    </afp:PermitValueRule>
38
+
39
+    <afp:AttributeFilterPolicy>
40
+        <!-- This policy is in effect in all cases. -->
41
+        <afp:PolicyRequirementRule xsi:type="ANY"/>
42
+
43
+        <!-- Filter out undefined affiliations and ensure only one primary. -->
44
+        <afp:AttributeRule attributeID="affiliation">
45
+            <afp:PermitValueRule xsi:type="AND">
46
+                <RuleReference ref="eduPersonAffiliationValues"/>
47
+                <RuleReference ref="ScopingRules"/>
48
+            </afp:PermitValueRule>
49
+        </afp:AttributeRule>
50
+        <afp:AttributeRule attributeID="unscoped-affiliation">
51
+            <afp:PermitValueRuleReference ref="eduPersonAffiliationValues"/>
52
+        </afp:AttributeRule>
53
+        <afp:AttributeRule attributeID="primary-affiliation">
54
+            <afp:PermitValueRuleReference ref="eduPersonAffiliationValues"/>
55
+        </afp:AttributeRule>
56
+       <!-- CUSTOM MSE -->
57
+<!--
58
+        <afp:AttributeRule attributeID="eppn">
59
+            <afp:PermitValueRuleReference ref="ScopingRules"/>
60
+        </afp:AttributeRule>
61
+-->
62
+        <afp:AttributeRule attributeID="targeted-id">
63
+            <afp:PermitValueRuleReference ref="ScopingRules"/>
64
+        </afp:AttributeRule>
65
+
66
+        <!-- Require NameQualifier/SPNameQualifier match IdP and SP entityID respectively. -->
67
+        <afp:AttributeRule attributeID="persistent-id">
68
+            <afp:PermitValueRule xsi:type="saml:NameIDQualifierString"/>
69
+        </afp:AttributeRule>
70
+        
71
+        <!-- Enforce that the values of schacHomeOrganization are a valid Scope. -->
72
+        <afp:AttributeRule attributeID="schacHomeOrganization">
73
+            <afp:PermitValueRule xsi:type="saml:AttributeValueMatchesShibMDScope" />
74
+        </afp:AttributeRule>
75
+
76
+        <!-- Catch-all that passes everything else through unmolested. -->
77
+        <afp:AttributeRule attributeID="*" permitAny="true"/>
78
+        
79
+    </afp:AttributeFilterPolicy>
80
+
81
+</afp:AttributeFilterPolicyGroup>

+ 156
- 0
tmpl/shibboleth2.xml View File

@@ -0,0 +1,156 @@
1
+<SPConfig xmlns="urn:mace:shibboleth:2.0:native:sp:config"
2
+    xmlns:conf="urn:mace:shibboleth:2.0:native:sp:config"
3
+    xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
4
+    xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"    
5
+    xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
6
+    clockSkew="180">
7
+
8
+    <!--
9
+    By default, in-memory StorageService, ReplayCache, ArtifactMap, and SessionCache
10
+    are used. See example-shibboleth2.xml for samples of explicitly configuring them.
11
+    -->
12
+
13
+    <!--
14
+    To customize behavior for specific resources on Apache, and to link vhosts or
15
+    resources to ApplicationOverride settings below, use web server options/commands.
16
+    See https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPConfigurationElements for help.
17
+    
18
+    For examples with the RequestMap XML syntax instead, see the example-shibboleth2.xml
19
+    file, and the https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPRequestMapHowTo topic.
20
+    -->
21
+
22
+    <!-- The ApplicationDefaults element is where most of Shibboleth's SAML bits are defined. -->
23
+    <ApplicationDefaults entityID="%%spEntityID" REMOTE_USER="eppn persistent-id targeted-id">
24
+
25
+        <!--
26
+        Controls session lifetimes, address checks, cookie handling, and the protocol handlers.
27
+        You MUST supply an effectively unique handlerURL value for each of your applications.
28
+        The value defaults to /Shibboleth.sso, and should be a relative path, with the SP computing
29
+        a relative value based on the virtual host. Using handlerSSL="true", the default, will force
30
+        the protocol to be https. You should also set cookieProps to "https" for SSL-only sites.
31
+        Note that while we default checkAddress to "false", this has a negative impact on the
32
+        security of your site. Stealing sessions via cookie theft is much easier with this disabled.
33
+        -->
34
+        <Sessions lifetime="600" timeout="600" relayState="ss:mem"
35
+                  checkAddress="false" handlerSSL="true" cookieProps="https">
36
+
37
+            <!--
38
+            Configures SSO for a default IdP. To allow for >1 IdP, remove
39
+            entityID property and adjust discoveryURL to point to discovery service.
40
+            (Set discoveryProtocol to "WAYF" for legacy Shibboleth WAYF support.)
41
+            You can also override entityID on /Login query string, or in RequestMap/htaccess.
42
+            -->
43
+<!--        <SSO entityID="https://idp.example.org/idp/shibboleth"
44
+                 discoveryProtocol="SAMLDS" discoveryURL="https://ds.example.org/DS/WAYF">
45
+              SAML2 SAML1
46
+            </SSO>-->
47
+
48
+ <!-- idp du MSE de PREPROD -->
49
+            <SSO entityID="%%idpEntityID" forceAuthn="false">
50
+              SAML2 SAML1
51
+            </SSO>
52
+            <!-- SAML and local-only logout. -->
53
+            <Logout>SAML2 Local</Logout>
54
+ 
55
+            <!-- Extension service that generates "approximate" metadata based on SP configuration. -->
56
+            <Handler type="MetadataGenerator" Location="/Metadata" signing="false"/>
57
+
58
+            <!-- Status reporting service. -->
59
+            <Handler type="Status" Location="/Status" acl="127.0.0.1 ::1"/>
60
+
61
+            <!-- Session diagnostic service. -->
62
+            <Handler type="Session" Location="/Session" showAttributeValues="false"/>
63
+
64
+            <!-- JSON feed of discovery information. -->
65
+            <Handler type="DiscoveryFeed" Location="/DiscoFeed"/>
66
+        </Sessions>
67
+
68
+        <!--
69
+        Allows overriding of error template information/filenames. You can
70
+        also add attributes with values that can be plugged into the templates.
71
+        -->
72
+        <Errors supportContact="%%system_mail_to"
73
+            helpLocation="/about.html"
74
+            styleSheet="/shibboleth-sp/main.css"/>
75
+        
76
+        <!-- Example of remotely supplied batch of signed metadata. -->
77
+        <!--
78
+        <MetadataProvider type="XML" validate="true"
79
+	      uri="http://example.org/federation-metadata.xml"
80
+              backingFilePath="federation-metadata.xml" reloadInterval="7200">
81
+            <MetadataFilter type="RequireValidUntil" maxValidityInterval="2419200"/>
82
+            <MetadataFilter type="Signature" certificate="fedsigner.pem"/>
83
+            <DiscoveryFilter type="Blacklist" matcher="EntityAttributes" trimTags="true" 
84
+              attributeName="http://macedir.org/entity-category"
85
+              attributeNameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
86
+              attributeValue="http://refeds.org/category/hide-from-discovery" />
87
+        </MetadataProvider>
88
+        -->
89
+<!-- Fédération  renater de test
90
+        <MetadataProvider type="XML" uri="https://services-federation.renater.fr/metadata/renater-test-metadata.xml"
91
+              backingFilePath="/etc/shibboleth/renater-test-metadata.xml" reloadInterval="7200">
92
+            <MetadataFilter type="RequireValidUntil" maxValidityInterval="2419200"/>
93
+            <MetadataFilter type="Signature" certificate="metadata-federation-renater.crt"/>
94
+        </MetadataProvider>
95
+-->
96
+<!-- Fédération renater cnous-crous
97
+        <MetadataProvider type="XML" uri="https://federation.renater.fr/cnous-crous-h98d/renater-cnous-crous-metadata.xml"
98
+              backingFilePath="/etc/shibboleth/renater-cnous-crous-metadata.xml" reloadInterval="7200">
99
+            <MetadataFilter type="RequireValidUntil" maxValidityInterval="2419200"/>
100
+            <MetadataFilter type="Signature" certificate="metadata-federation-renater.crt"/>
101
+        </MetadataProvider>
102
+-->
103
+<!-- Fédération renater cnous-crous -->
104
+%for fede in %%federationPartner
105
+        <MetadataProvider type="XML" uri="%%fede.metadataURL"
106
+              backingFilePath="%%fede.backingFilePath" reloadInterval="7200">
107
+%if %%fede.metadataSigned == 'oui'
108
+            <MetadataFilter type="Signature" certificate="%%fede.signaturePemFile"/>
109
+%end if
110
+        </MetadataProvider>
111
+%end for
112
+
113
+<!-- Fédération renater cnous-crous preview
114
+        <MetadataProvider type="XML" uri="https://metadata.federation.renater.fr/cnous-crous-h98d/preview/preview-renater-cnous-crous-metadata.xml"
115
+              backingFilePath="/etc/shibboleth/preview-renater-cnous-crous-metadata.xml" reloadInterval="7200">
116
+            <MetadataFilter type="Signature" certificate="renater-metadata-signing-cert-2016.pem"/>
117
+        </MetadataProvider>
118
+-->
119
+
120
+        <!-- Locally maintained metadata.
121
+        <MetadataProvider type="XML" validate="true" file="xxxxx.xml"/>
122
+		-->
123
+
124
+        <!-- Map to extract attributes from SAML assertions. -->
125
+        <AttributeExtractor type="XML" validate="true" reloadChanges="false" path="attribute-map.xml"/>
126
+        
127
+        <!-- Use a SAML query if no attributes are supplied during SSO. -->
128
+        <AttributeResolver type="Query" subjectMatch="true"/>
129
+
130
+        <!-- Default filtering policy for recognized attributes, lets other data pass. -->
131
+        <AttributeFilter type="XML" validate="true" path="attribute-policy.xml"/>
132
+
133
+        <!-- Simple file-based resolver for using a single keypair. -->
134
+        <CredentialResolver type="File" key="%%server_key" certificate="%%server_cert"/>
135
+
136
+        <!--
137
+        The default settings can be overridden by creating ApplicationOverride elements (see
138
+        the https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPApplicationOverride topic).
139
+        Resource requests are mapped by web server commands, or the RequestMapper, to an
140
+        applicationId setting.
141
+        
142
+        Example of a second application (for a second vhost) that has a different entityID.
143
+        Resources on the vhost would map to an applicationId of "admin":
144
+        -->
145
+        <!--
146
+        <ApplicationOverride id="admin" entityID="https://admin.example.org/shibboleth"/>
147
+        -->
148
+    </ApplicationDefaults>
149
+    
150
+    <!-- Policies that determine how to process and authenticate runtime messages. -->
151
+    <SecurityPolicyProvider type="XML" validate="true" path="security-policy.xml"/>
152
+
153
+    <!-- Low-level configuration about protocols and bindings available for use. -->
154
+    <ProtocolProvider type="XML" validate="true" reloadChanges="false" path="protocols.xml"/>
155
+
156
+</SPConfig>

Loading…
Cancel
Save