ViewVC logotype

Contents of /trunk/grid-mw-security/ees/thesis/grid_auth.tex

Parent Directory Parent Directory | Revision Log Revision Log

Revision 942 - (show annotations) (download) (as text)
Mon Oct 19 19:27:04 2009 UTC (12 years, 3 months ago) by aramv
File MIME type: text/x-latex
File size: 34938 byte(s)
Fresh PDF
1 \chapter{Grid computing}
2 % Authenticatie is gebaseerd op PKI
3 % Authorisatie is gebaseerd op DN's, VOMS
4 % Grid heeft dit en dat, maar onze basis is PKI.
5 % Authenticatie: persoonlijke certificaten, VOMS, SAML statements en
6 \section{Authentication \& authorization mechanisms}
7 Grid computing requires a mechanism to authorize users' access to Grid resources. This authorization can be granted at different levels depending on different types of credentials supplied by - or associated with - the user and which service he or she tries to access.
9 The various Grid middleware stacks rely heavily on X.509 certificates \cite{rfc2459} as the 'lingua Franca' for authenticating users.
10 It's a personal SSL certificate that can be traced back to the issuer, a \textit{Certificate Authority} (CA).
11 \glossary{name={CA}, description={Certificate Authority}}
12 This creates a \textit{Public Key Infrastructure} (PKI) \cite{rfc3280} which can be used to enable a Single sign-on (SSO) solution.
13 \glossary{name={SSO}, description={Single sign-on}}
14 \glossary{name={PKI}, description={Public Key Infrastructure}}
15 The certificates used on Grid systems are \textit{Proxy Certificates} \cite{rfc3820} which are signed by the user and are valid for shorter periods of time to diminish the value of stolen certificates.
16 These proxy certificates can be traced back to the user they belong to, providing end-to-end accountability.
18 % SSO, delegation -> trace
20 % VOMS doet registratie van gebruikers op basis van hun DN, groepsstructuur en rollen toekennen
21 % Signed attribute certificates uit te geven.
22 % FQANS zijn onderdeel van de VOMS attributes.
23 \subsection{Virtual Organizations}
24 Because of scalability issues Grid authentication is mostly based on group affiliation.
25 The group affiliations are expressed in several tiers, the most high level of which is a \textit{Virtual Organization} (VO).
26 \glossary{name={VO}, description={Virtual Organization}}
27 VOs appear to work like regular organizations, but are not explicitly connected by location, employer or other affiliation.
28 However they collaborate and present themselves as a unified organization, working towards a common goal
30 \subsubsection{Virtual Organization Management Service}
31 VOs can make use of a \textit{Virtual Organization Management Service} (VOMS) to manage and register their users.
32 \glossary{name={VOMS}, description={Virtual Organization Management Service}}
33 Users should apply to a VOMS with their Grid certificate, which must contain the name of the user in the certificate's Subject \textit{Distinguished Name} (DN).
34 \glossary{name={DN}, description={Distinguished Name}}
36 Based on a user's Grid certificate credentials - specifically, the Subject DN - the VOMS service can give a user signed tokens to claim group membership when interacting with Grid services.
37 In this interaction the VOMS server acts as an \textit{Attribute Authority} (AA), which distributes signed attributes to the user in the form of an \textit{Attribute Certificate} (AC) \cite{rfc3281}.
38 The Attribute Certificate also specifies the group, subgroup, roles and capabilities of the holder.
39 \glossary{name={AA}, description={Attribute Authority}}
40 \glossary{name={AC}, description={Attribute Certificate}}
41 To create a VOMS AC, a VOMS service amends the user's proxy certificate with signed VOMS tokens, which include \textit{Fully Qualified Attribute Name}s (FQANs) \cite{fqan}.
42 \glossary{name={FQAN}, description={Fully Qualified Attribute Name}}
44 As an analogy, in this capacity the Grid certificate is like a passport that is used to obtain a membership card (AC) of a certain club (VO).
45 Once the identity of the holder has been verified, the membership card is all that is needed to access club facilities. Their identity can be established from these \textit{attribute credentials}.
47 A user can be authenticated to belong to a VO group by tracing this information back to a trusted VOMS server certificate (an \textit{Attribute Signing Certificate} \cite{rfc3281}), which has in turn been signed by a trusted CA.
48 Based on these signed attributes a user is authenticated to belong to a project group in a certain role.
49 This authentication solution requires the trusted VOMS server certificates to be available to all services that need to verify VOMS attributes.
51 %VOMS defines groups, roles and capabilities.
52 %These are completely independent of each other.
53 %Roles are meant to be global, associated directly with the AC holder, regardless of group membership.
54 %However, VOMS allows groups and roles to be bound together, using one as a qualifier for the other.
55 %While it is indeed possible to encode groups and roles inside the standard attributes in a format that could represent
56 %this information, there is no way to have the same format also be readable by other AC users without risking misunderstandings. \cite{ac-rfc}
58 \subsection{Pool accounts}
59 Pool accounts are part of a mechanism to map users' Grid certificate credentials to actual user accounts on compute clusters. \cite{gridmapdirsite}
60 These pool accounts are generic user accounts that are mapped to the remote user based on the credentials in their certificate.
61 The various sets of pool accounts are created by site administrators, which are then 'loaned' to users working in certain roles.
62 The pool accounts are not associated with a user in their initial setup.
64 When a pool account is in use, there is a strong link between the pool account and the user credentials that were mapped to it.
65 % pool accounts zijn niet geassocieerd met gebruiker totdat die is langsgekomen/gemapped
66 % gebruikers zijn op deze manier sterk verbonden met het UNIX account
67 %This facilitates late binding between users within a VO and the concrete UNIX accounts they use to do work on the Grid.
68 The role and associated capabilities a user takes on are determined by the signed VOMS attributes present in a user's proxy certificate. \cite{nikhefwebsite:gridwikiindex}
70 System administrators can disassociate pool accounts after a certain period of time, mostly due to inactivity of the user in the order of several weeks or months (depending on the site local policies).
71 The unassociated accounts are returned to the pool for reuse.
74 \subsection{Fully Qualified Attribute Names}
75 \textit{Fully Qualified Attribute Names} (FQANs) are explicit and unambiguous strings that can describe the group and subgroup a user is associated with.
76 These can be given out by a VOMS service through an Attribute Certificate.
77 Besides group affiliation, roles and capabilities can be attributed to the user.
78 By being affiliated with a certain group, a user can claim authorization at a grid service.
79 It is up to a service to take a local policy and the presented credentials into account, base authorization on them and allow a certain action.
80 The result can be different for every site and service type.
81 % TODO rewrite
83 %In VOMS AC's komen FQANS voor
84 %FQAN is 1 string die beschrijving geeft van de VO groepen, subgroepen, rollen en capabilities
85 % binnen iedere groep kun je aparte rollen aanwijzen
86 % als je die rollen bezit mag je de authorizatie claimen bij een service
87 % mag meer tekst bij
89 \begin{table}[h]
90 \begin{center}
91 \begin{tabular}{ | c | c | c | c | }
92 \hline
93 VO & group & subgroup & role \\
94 \hline
95 /fred.example.org & /production & /optimization & /Role=Admin \\
96 \hline
97 \end{tabular}
98 \end{center}
99 \caption[FQAN fields]{A table showing examples of the FQAN fields VO, group, subgroup, role and capability}
100 \end{table}
102 % Mensen moeten zich via email aanmelden bij de VOMS-server
103 % Alle grid services en VOMS servers hebben een push-model waarin je je certificate upload. De services moeten deze informatie verifieren.
105 %All Grid services have a push model that requires users to provide a certificate which is then verified by the service. This is done by tracing back the proxy certificate and all its signed credentials to the VOMS server certificate, and tracing the user certificate back to the issuing CA.
107 \pagebreak
109 \subsection{Grid credentials}
110 % Basis van de authenticatie is gebaseerd op de persoonlijke certificaten.
111 % Die zijn uitbreidbaar.
112 %
114 Multiple authentication mechanisms must be supported due to the scale and breadth of the Grid use cases.
115 Many different organizations worldwide develop Grid middleware, policies and infrastructure and each organization brings their own use cases, motivations and expertise to the table.
116 %breed -> veel verschillende groepen schrijven middleware en hebben ieder hun eigen use-cases te verwerken daarin EN diverse achtergronden en motivaties
117 % Bepaalde technieken, evolutie ervan, adoptie/penetratie van technieken die we hebben.
118 % Open standaarden die we zoveel mogelijk willen ondersteunen.
119 % SAML is heel nieuw, PKI bestaat al heel lang, en daarbij: proxy delegations.
120 % Door Delegation of credentials from your certificate to a WMS zodat die service functioneert als een agent.
121 % Alleen de private key van de delegation blijft over op de WMS. Je eigen private key van je op jouw naam staande certificate wordt niet overdragen aan de agent.
122 % Het proxy certificate is cryptografisch verbonden, omdat jij de signer bent.
123 Support for these mechanisms has evolved over the past decade, and gradually got more flexible.
124 % Het gebruik van de authenticatie technieken heeft relatie tot volwassenheid en evolutie van authenticatie technieken en de use cases (refereer naar delegation). Open standaarden zijn vereist.
126 % End-to-end security: dat je de chain van de worker node kunt terugleiden naar de persoon die de job submitte.
127 % Vanwege de schaalbaarheid maken we vooral authorisatie beslissingen op basis van groepen.
128 % Mensen die in die groep zitten worden impliciet vertrouwd.
129 % VOMS: Virtual Organization staat min of meer 1:1 tot een experiment of een project.
130 % Binnen de VO kennen we groepen, subgroepen en rollen. Aan ieder van deze kunnen personen worden toegewezen, en ook services en resources.
131 % Individu moet zich registeren bij een VO, en als je geregistreerd bent kun je gesignede tokens ophalen.
132 % User genereert een certificate en laat hem signen door een CA.
133 % User kan een proxy certificate maken van z'n user cert.
134 % Daarmee authenticeer je jezelfd bij de VOMS server (standaard mutual SSL authentication) en vraag je de groepen van jouw VO en evt. rollen.
135 % De server zoekt die credentials bij elkaar en signed ze met zijn private key. Vervolgens stuurt ie de gesignede blob (VOMS attribute Certificate of VOMS AC) terug naar de client.
136 % Nu ga je een nieuwe proxy delegation maken, en tijdens het signing request worden de VOMS AC embedded in de CSR als X.509v3 extensies.
137 % Dit geheel wordt nu gesigned als een reguliere met jouw eigen private key.
139 % VOMS AC's zijn gebaseerd op RFC 3281.
140 % Certificates waren gebaseerd op RFC 3280, maar nu is dat RFC 5280
142 % Nu heb je een VOMS-enabled certificate (VOMS proxy).
143 % Attributes in een VOMS proxy zijn:
144 % Van de VOMS server die signed: de URI, de DN, de signer van de DN.
145 % Dus je hebt twee dingen om te controleren: de cert van de VOMS (naar de CA) en de signer (ook CA) van de DN.
147 % IGTF is een samenwerking van 3 grote grid (igtf.net)
148 % PKI + personal certificates.
149 % Binnen de rest van VOMS certificate attributes heb je ook FQANS die vertellen welke groep en/of rol voor jou van toepassing is. Wordt ook gesigned door de VOMS service.
150 % (Dan heb je ook nog een name-value pair voor mogelijk extra attributen.)
153 % Nog 2 dingen die in je VOMS proxy kunnen zitten:
154 % Public key van de voms service.
155 % Serial number van jouw persoonlijke certificaat.
156 % Jouw subject DN.
159 % Zo is er een linkt te leggen tussen:
160 % Jouw subject DN, jouw CA, en jouw serial number van jouw certificaat.
161 % Zo ontstaat er een link tussen de persoon, de signature van de CA en het certificaat van de gebruiker. Dit gaat het stelen van voms-attributes tegen want voms attributes zitten als extensie in je proxy certificaat en dus hebben ze een sterke binding nodig met de eigenaar van het certificaat.
163 % VOMS AC
164 % DN, FQAN, CA, serial number, secret sauce.
165 Different types of credentials that can be used are:
166 \begin{description}
167 \item[Personal, host and service X.509 certificates] % Wie ben je
168 {The Subject \textit{Distinguished Name} (DN) is a field in an X.509 certificate.
169 It's composed of multiple RDNs.
170 %TODO reference RDN (rfc 2511)
171 This uniquely identifies a user, host or service through a Public Key Infrastructure (PKI) which includes identity vetting by a trusted third party.
172 The subject DN is mostly used in the OpenSSL oneline format.
173 Other less used formats are X.500 name (RFC 2253)
174 % TODO herschrijf
176 This uniquely identifies a user, host or service through a PKI infrastructure which includes identity-vetting by a trusted third party.
177 }
179 \item[VOMS attributes]{
180 The DN information is used to query a certain VOMS server associated with a project, which returns an \textit{Attribute Certificate} \cite{rfc3281} in which each field and the Attribute Certificate as a whole are signed by the VOMS server.
181 }
183 % Op basis van de info in het certificaat (je DN) en VOMS credentials (FQAN) worden user geauthoriseerd.
184 % (Wie ben je, voor welke groep werk je, wat is je rol).
186 %\item VOMS credentials (Fully Qualified Attribute Name) % Voor welke groep werk je en welke rol bekleed je
187 % Voorbeelden van VOMS rollen: VO-admins, software updaters / installateurs (Software area directories), production managers (verantwoordelijke voor het processen van de data en monte carlo productie).
188 \item[SAML statements] % Zie je terug in Shibolleth. Altijd terug te leiden naar X.509 certificates. Andere niet-standaard authenticatiemethoden. Komt meer uit de web-hoek.
190 {The \textit{Security Assessment Markup Language} \cite{saml} is an XML standard for exchanging authentication and authorization data between security domains.
191 Grid services try to translate SAML information back to an X.509 certificate, as it remains the 'lingua Franca'.
192 }
193 \glossary{name={SAML}, description={Security Assessment Markup Language}}
194 % Bedoeld om een claim te geven over identiteit
195 % These statements lead users back to a X.509 certificate.
196 % The standard was devised for interoperability between Single Sign-on solutions.}
197 % reference SSO
198 % reference SAML
200 \item[XACML queries] % Te maken met policies en queries op policies. Mag pietje puk gebruik maken van deze resource? XACML: Subject (aram + cert), Action (computing), Resource (storage), Environment (arbitraire omgevingsinformatie).
202 {The \textit{eXtensible Access Control Markup Language} (XACML) is a declarative access control policy language implemented in XML. \cite{xacml}
203 It can be used to define rules based on Subject, Action, Resource, and Environment values.
204 XACML is very expressive and therefore useful to create and evaluate complex authorization policies.
205 %\subsection{XACML fields}
206 \glossary{name={XACML}, description={eXtensible Access Control Markup Language}}
209 }
210 % reference XACML
212 \end{description}
214 \begin{table}[h]
215 \begin{center}
216 \begin{tabular}{ | c | c | c | c | }
217 \hline
218 Subject & Action & Resource & Environment \\
219 \hline
220 User Aram & wants cycles & on this server & which should run Linux \\
221 \hline
222 \end{tabular}
223 \end{center}
224 \caption[XACML concepts]{A table showing examples of the XACML concepts Subject, Action, Resource, and Environment}
225 \end{table}
228 %\section{XACML examples}
229 %Here's an example of how XACML requests can are used to represent Grid credentials.
230 %\subsection{Subject X.509 id}
231 %\begin{verbatim}
232 %<Attribute
233 %AttributeId="http://authz-interop.org/xacml/subject/subject-x509-id"
234 %DataType="http://www.w3.org/2001/XMLSchema#string">
235 %<AttributeValue>
236 %/O=dutchgrid/O=users/O=nikhef/CN=Oscar Koeroo
237 %</AttributeValue>
238 %</Attribute>
239 %\end{verbatim}
241 %\subsection{Subject X.500 issuer}
242 %\begin{verbatim}
243 %<Attribute
244 %AttributeId="http://authz-interop.org/xacml/subject/subject-x509-issuer"
245 %DataType="http://www.w3.org/2001/XMLSchema#string">
246 %<AttributeValue>
247 %/C=NL/O=NIKHEF/CN=NIKHEF medium-security certification auth
248 %</AttributeValue>
249 %</Attribute>
250 %\end{verbatim}
253 %\subsection{Subject VO}
254 %\begin{verbatim}
255 %<Attribute
256 %AttributeId="http://authz-interop.org/xacml/subject/vo"
257 %DataType="http://www.w3.org/2001/XMLSchema#string">
258 %<AttributeValue>gin.ggf.org</AttributeValue>
259 %</Attribute>
260 %\end{verbatim}
263 % PEPd -> Policy Enforcement Point daemon
264 % PDP -> Policy Decision Point
265 % PAP -> Policy Administration Point
268 \pagebreak
270 \section{Grid security middleware and services}
271 %\subsection{ADAM}
272 %% No longer used.
273 %ADAM stands for \textit{AmPS Data Analysis Method}, which as the name implies was first developed to process data generated by the AmPS \textit{Amsterdam Pulse Stretcher}.
274 %\glossary{name={ADAM}, description={AmPS Data Analysis Method}}
275 %\glossary{name={AmPS}, description={Amsterdam Pulse Stretcher}}
276 %It was not designed as a security middleware, but it does have a pluggable architecture to extend its functionality.
277 %The core component was a framework that got raw data as input from the detectors and used specific plug-ins to perform detector specific analysis. \cite{adampage}
279 \begin{figure}[hp]
280 \centering
281 \includegraphics[width=\textwidth]{scas}
282 \caption[SCAS diagram]%
283 {A diagram showing the architecture of a SCAS-based authenticating \& authorization installation}
284 \label{fig:scas}
285 \end{figure}
287 \subsection{gLExec}
288 %By the virtue of the pilot job framework use case a Worker Node has now become a new entry point to the cluster.
289 % reference naar suEXEC
290 gLExec is a pluggable suEXEC-like \cite{suexec} wrapper program that requests a mapping between Grid credentials and Unix user accounts and groups.
291 It can enforce this mapping to wrapped executables by modifying the \textit{uid} and \textit{gid}s of the executing process to the ones the user is mapped to, before passing execution to the wrapped binary.
292 gLExec will authenticate credentials using a callout to LCAS and LCMAPS.
293 It can act as both a light-weight 'gatekeeper' on the Compute Element or be used on the Worker Node for late-binding (pilot job) use cases. Please see appendix \ref{use_cases} for a description of possible use cases.
294 The callout to LCMAPS can procure a pool account by itself, but through the SCAS client in LCMAPS, a central mapping and authorization service like SCAS (or any interoperable SAML2XACML2 \cite{authzinterop} service) can be used. \cite{nikhefwebsite:gridwikiglexec}
296 \subsection{LCAS}
297 The \textit{Local Centre Authorization Service} (LCAS) makes binary ('yes' or 'no') authorization decisions at the site and resource level.
298 \glossary{name={LCAS}, description={Local Centre Authorization Service}}
299 %In making this decision it can use a variety of inputs, among which are:
301 %\begin{itemize}
302 %\item The 'Grid' name of the user. The user's X.509 certificate Subject, also known as the \textit{Distinguished Name} (DN)
303 %\item Any VO attributes the user has like VOMS \cite{vomssite} \textit{Fully Qualified Attribute Name}s (FQANs)
304 %\item The name of the executable the user intends to execute
305 %\end{itemize}
307 It supports basic black and white list functionality, but also more complex VOMS-based expressions, based on the GACL \cite{gaclsite:home} language.
308 The framework fetches data, stores it, and through static means offers structures to plug-ins that contain the following values:
310 \begin{itemize}
311 \item X.509 certificate chain string (in PEM \cite{rfc1421} format) \cite{rfc2459}
312 \item \textit{Resource Specification Language} (RSL) string \cite{globus-rsl}
313 \item \textit{Distinguished Name} (DN) string \cite{rfc5280}
314 \item Globus GSS Credential structure \cite{rfc2743}
315 \end{itemize}
316 \glossary{name={RSL}, description={Resource Specification Language}}
317 \glossary{name={PEM}, description={Privacy Enhanced Mail}}
318 \glossary{name={GACL}, description={Grid Access Control Library}}
320 \subsubsection{Plug-ins}
321 The plug-ins that LCAS executes must all exit successfully before authorization can continue. \cite{nikhefwebsite:gridwikiindex}
323 \begin{description}
324 %\item[Gridlist]{A plug-in that maps allowed users to pool accounts using the gridmapfile \cite{gridmapfile}}
325 \item[Timeslots]{A plug-in that makes authorization decisions based on the time of day a job request is received \cite{timeslots}}
326 \item[Userban]{A plug-in that checks a file that contains a list of Subject DNs of users to be banned from the site \cite{userban}}
327 \item[Userallow]{A plug-in that checks a file that contains a list of Subject DNs of users to be allowed to the site. \cite{userallow}}
328 \item[Check executable]{A plug-in that checks if the executable requested is whitelisted by the service.}
329 % TODO reference Check executable
330 \item[LCAS VOMS]{Works like the userallow plug-in, except it verifies the FQANs present in a proxy certificate instead of the Subject DN. These were added to the certificate by a VOMS service. With this plug-in, more complex policies for authorization can also be expressed in the GACL \cite{gaclsite:home} language.}
331 \end{description}
333 \glossary{name={RSL}, description={Resource Specification Language}}
334 \glossary{name={GACL}, description={Grid Access Control Library}}
335 % i.e. the plug-ins must be true if logically AND-ed.
337 \subsection{LCMAPS}
338 %Unix (like) systems only understand Unix UID, GID and Secondary GID
339 %credentials. As the lingua Franca is X.509 (with VOMS credentials), these
340 %credentials will need to be translated to Unix credentials.
341 %Based on the Unix credentials, batch system schedulers can do their work as
342 %batch systems have never (yet) been Griddified to natively handle X.509
343 %and/or VOMS credentials.
345 LCMAPS is the \textit{Local Credential Mapping Service}.
346 \glossary{name={LCMAPS}, description={Local Credential Mapping Service}}
347 It takes care of translating Grid credentials to Unix credentials local to a Grid site.
348 It ensures that different individuals on the Grid maintain distinct, isolated Unix accounts using the pool account mechanism \cite{gridmapdirsite}.
349 This mechanism can be extended to dynamic groups when needed.
350 Using group mappings based on the user's VO attributes, scheduling priority decisions can be made.
352 The LCMAPS framework hosts a list of specific credential types in its core.
353 These are offered to the plug-ins via an API.
354 Each plug-in has a specific task to perform, like in the previous frameworks.
355 The plug-ins are able to write intermediate results or final results into the core memory of the framework.
356 The LCMAPS framework has two failover mechanisms in the execution of its loaded plug-ins that can be defined by the configuration file.
357 The first failover mechanism is similar to a state machine.
358 If a plug-in 'a' executes and its execution was a success, then progress to plug-in 'b'.
359 Otherwise progress to plug-in 'c'.
360 The state machine must end with a successful result.
361 The second failover mechanism is to define (execution) policies.
362 Each complete state machine is an execution policy.
363 If multiple policies are defined and if the calling application allows it, then on a failure of such policy the framework can select the next policy to execute.
364 Between policy switch the internal memory (with the intermediate results) will be erased. \cite{nikhefwebsite:gridwikiindex}
366 % BEGIN oscar
367 A set of user credentials, e.g. the DN and combination of group and role affiliations listed in the VOMS credentials, will be linked to a specific pool account.
368 A pool account is a regular Unix account that is already present on a system and is already setup to have certain particular privileges of a particular group of users that might also have a specific role e.g. a Production manager, Software Manager or regular user.
369 In its initial state a pool account is not associated to any user.
370 During the mapping process a user's credentials are mapped to a specific pool account which means that the selected free pool account is strongly tied to the set of user credentials.
371 When a user returns to the same site with the same set of credentials the user will be mapped to the same Unix account again.
374 \subsubsection{Plug-ins}
375 The plug-ins that LCMAPS executes must all exit successfully before authorization can continue. \cite{nikhefwebsite:gridwikiindex}
377 \begin{description}
378 %\item[Gridlist]{A plug-in that maps users to pool accounts using the gridmapfile \cite{gridmapfile}}
379 \item[Local account]{Maps the supplied user credentials (i.e. a Subject DN or VOMS-signed FQANs) to a local user account on a target system \cite{localaccount}}
380 \item[Pool account]{Maps the supplied user credentials (i.e. a Subject DN or VOMS-signed FQANs) to a pool account on a target system \cite{poolaccount}}
381 \item[POSIX enforcement]{A plug-in that applies acquired credential information to procure a Unix user account on a target system. Verifies that the account was successfully attained. \cite{posix_enf}}
382 \item[LDAP enforcement]{A plug-in that applies acquired credential information in a target LDAP database \cite{ldap_enf}}
383 \item[Verify proxy]{This plug-in can verify the validity and authenticity of the incoming Grid credentials, and enforce life time constraints on the proxy}
384 \end{description}
386 \subsection{SCAS}
387 The \textit{Site Central Authorization Service} makes authorization and mapping decisions upon the presented credentials.
388 %It uses HTTPS authentication to authenticate a client, based on the credentials in their Grid certificate. %(as regular user or pilot job user) and present user credentials.
389 The service is a front-end to the LCAS and LCMAPS frameworks and uses HTTPS with mutual authentication to setup a session in which a SAML2-XACML2 \cite{authzinterop} request is sent.
390 \glossary{name={SCAS}, description={Site Central Authorization Service}}
393 The SCAS is specifically tailored to solve the use case involving pilot job frameworks. (Please see appendix \ref{use_case_pilot_job}.)
394 %This relatively new use case involves the late binding of the \textit{Worker Node} (WN) resources by sending pilot jobs to all the compute clusters by a production manager.
395 %When the pilot jobs come out of the queue and have started their run, they'll discover if the Worker Node on which they have acquired a job slot meets the criteria specified by the user.
396 %If the job slot criteria can be satisfied the pilot job framework will download the payload from a VO central job repository queue, unpack the payload and start executing the actual job.
398 %In this use case there are two actors: a user and a VO production manager.
399 %The VO production manager who has the responsibility to fill all the queues on the clusters according to the used quotas and taking into account what kind of data is stored nearby the compute cluster.
400 %The user had to submit their analysis jobs to the central queue.
401 %The pilot jobs submitted by the VO production managers will pick up the analysis jobs from the central queue.
403 %As this use case has two actors into play two sets of credentials will need to be authorized.
404 %The gLExec and SCAS are able to do this.
409 % cite OASIS standard saml2-xacml2 .
410 The SCAS will authorize the pilot job framework production manager and it will authorize the payload user using the LCAS framework.
411 Upon successful authorization the user credentials of the payload will be mapped to Unix credentials by LCMAPS and returned in a SAML2-XACML2 \cite{authzinterop} response.
412 In such response there is a binary authorization statement given and optionally XACML obligations can be returned.
414 Obligations are name-spaced identifiers that can contain attributes.
415 Returned XACML obligations are non-repudiable (undeniable) and must be handled by the client who receives them.
416 An possible obligation for gLExec to fulfil might be a Unix \textit{uid} and/or \textit{gid}s.
417 The XACML convention is to abort the authorization (and mapping) process if the client cannot meet the obligations set by the service.
418 % oscar
422 \subsection{Limitations of existing frameworks}
423 The framework lacks the (native) support to process and pass through anything other than X.509 related information, VOMS credentials and Unix \textit{uid}s/\textit{gid}s.
424 New use cases demand the possibility of passing other credentials and arbitrary information to operate.
425 \begin{description}
426 % Behalve de unix credentials zoals we die nu hebben doorgeven, we ook use-cases om dynamisch priority queues en priority scheduling te kunnen doen in verschillende typen batch systems met verschillende batch system scheduler.
427 %\item Software design overly complex, difficult to maintain.
428 % Alleen evaluation manager
429 %\item Strongly oriented towards existing use cases.
430 %\item Unable to handle new use cases.
431 \item[Strong binding to X.509 certificates, VOMS credentials, and Unix \textit{uid}s/\textit{gid}s.]{
432 This limits the types of systems and services the middleware frameworks can natively interact with.
433 For example mapping of user credentials to Virtual Machine images.
434 }
435 %\item[No facility to interact with scheduling services]
436 \item[Does not facilitate direct low-level interaction with batch systems and schedulers]{
437 A desired functionality is the on-demand creation of priority queues.
438 It should also be possible to manipulate existing scheduling configurations.
439 }
440 \item[No facility to interact with virtualization frameworks]{
441 %kijk naar sander's e-mail van vanochtend (15 oct. 11:11) onder taken.
442 %describe interaction
443 To enable the scheduling of Virtual Machine execution, a connection to existing virtualization frameworks must be made.
444 The \textit{Open Cloud Computing Interface} (OCCI) API \cite{occi} or OpenNebula toolkit \cite{opennebula} are frameworks that could be incorporated to enable scheduling of virtual machine execution.
445 % plug-in voor het batch systeem
446 }
448 \item[No facility to interact with batch-systems in an arbitrary way]{
449 % Op ieder cluster systeem heb je allerlei trucjes om je systeem in leven te houden, dit maakt een hook voor je.
450 %Het idee is dat je met perl/python scripts systeembeheerders mogelijkheden geven om systeem-specifieke handelingen uit te kunenn voeren. bijv. interacties met lokale accounting systemen
451 Because each cluster configuration is different it would be very beneficial to let system administrators hook their management scripts into the framework.
452 Adding support for high-level scripting languages like Perl or Python and providing them access to the internal plug-in API should be an effective way to allow this.
453 }
454 % We hebben een datastore. Datastore is toegespitst op X509,VOMS, en Unix credentials
455 %\item Inability to facilitate a shared data store for plug-ins executed in the framework.
456 % LCAS/LCMAPS hebbben wel een data store, om gegevens te delen
457 % Maar dat ze te specifiek zijn voor bepaalde toepassing
458 % Toegespitst op bepaalde use cases.
459 % Het moet generiek worden.
463 % Uitwijden over wat we van plan zijn
464 % Alles is georienteerd op x509 plus voms naar unix credentials.
467 %\item Opaque and non-intuitive due to the above.
468 \end{description}
471 %\chapter{The new authorization framework}
472 %\chapter{The EES Execution Framework}
473 \pagebreak
474 \section{Argus: the new authorization framework}
475 \subsection{Motivation}
476 Argus aims to improve interoperability between Grid services.
477 It is designed to be more modular than SCAS, and should be able to handle new use cases.
478 The interaction between systems is similar at a high level, but the Argus framework separates the roles and tasks as performed by the SCAS system into more granular and abstract services.
479 %, like what, why and how?
480 % Abstracter, meerdere componenten. duidelijke rolverdeling
481 % Waarom waarom waarom???
482 %
484 \subsection{Components of the Argus framework}
485 %\section{Architecture of the Argus Authorization Services}
486 \begin{figure}[hp]
487 \centering
488 \includegraphics[width=\textwidth]{argus}
489 \caption[Argus diagram]
490 {A diagram showing the architecture of Argus authorization framework}
491 \label{fig:argus}
492 \end{figure}
494 \subsubsection{Policy Enforcement Point (PEP)}
495 The \textit{Policy Enforcement Point} is the client to the authorization service.
496 It generates an authorization request and forwards it to the PDP for evaluation.
497 The PDP responds with a decision, and a set of obligations the PEP must fulfil.
498 %krijgt een beslissing terug, met obligations die 'ie moet verwerken
500 \subsubsection{Policy Decision Point (PDP)}
501 The \textit{Policy Decision Point} is a policy evaluation engine.
502 The PDP receives authorization requests from Policy Enforcement Points and evaluates these requests against authorization policies retrieved from the PAP.
503 It returns its response to the PEP, and interacts with an EES to procure (specific) execution environments.
505 %antwoord wordt teruggegeven aan een PEP
507 \subsubsection{Policy Administration Point (PAP)}
508 The \textit{Policy Administration Point} provides tools to author, store and manage authorization policies.
509 This service can interact with other PAPs, and can combine external policies with local ones.
510 Interaction with other PAPs can be useful to coordinate policies in dealing with security issues.
511 It provides managed policies to other authorization service components, such as the PDP.
513 % interact met externe (andere PAP's). (Bijv OSCT)
514 % Externe policies kan 'ie combineren met de lokale policies
516 \subsubsection{Execution Environment Service (EES)}
517 %The \textit{Execution Environment Service}.
518 The role of the EES is to ensure that an appropriate site-specific execution environment is procured based on the site-agnostic obligations and attributes it receives as input in the form of SAML2-XACML2 requests.
519 It responds to requests from the PDP.
520 It should be able to interact with many kinds of services and systems, for instance:
521 \begin{itemize}
522 \item Mapping users to pool accounts on Unix systems
523 %\item Interacting with the Maui scheduler to reconfigure a queue (e.g. changing scheduling configuration, creating a queue with certain requirements and moving a queue)
524 \item Add or change batch system queues
525 \item Procuring a VM environment through a virtualization framework
526 \item Executing arbitrary scripts local to the site for management purposes, as an addition to site-specific tooling or to be able to support specific use cases for which native support is not available
527 \end{itemize}
530 % interacties met andere dingen
531 % Pool account mapping
532 % Maui queue
533 % VM procurement
534 % OpenNebula
535 % arbitrary script execution
537 %\subsection{Policy Information Point (PIP)}
538 %The \textit{Policy Information Point} ...
540 \glossary{name={EES}, description={Execution Environment Service}}
541 \nomenclature{EES}{Execution Environment Service}
543 \glossary{name={PDP}, description={Policy Decision Point}}
544 \nomenclature{PDP}{Policy Decision Point}
546 \glossary{name={PAP}, description={Policy Administration Point}}
547 \nomenclature{PAP}{Policy Administration Point}
549 \glossary{name={PIP}, description={Policy Information Point}}
550 \nomenclature[]{PIP}{Policy Information Point}

ViewVC Help
Powered by ViewVC 1.1.28