|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
UVOS client questionDear all,
I'm using UVOS to do AA in one of our projects. There is a handler that calls UVOS to query entity attributes for users of services. This works well in one of my environments, but not in the other. I tried to make out any major differences in the environment, e.g. installed libraries, but to no avail. Krzysztof, maybe you can help me with this. ================================================== 2009-06-22 15:57:51,932 [http-9911-2] ERROR eu.smartlm.security.aa.handlers.UVOSAuthenticationHandler - Something wrong in eu.smartlm.security.aa.handlers.UVOSAuthenticationHandler pl.edu.icm.unicore.uvos.wsapi.xmlbeans.UnsupportedSAMLException: Unknown type of attribute value received, value <xml-fragment urnx1:scope="/UNICORE/UUDB/SMARTLM-FZJ" xsi:type="urnx1:ScopedStringAttributeValueType" xmlns:urnx0="urn:oasis:names:tc:SAML:2.0:profiles:attribute:XACML" xmlns:urnx1="urn:vo:SAML:2.0:attribute:ext" xmlns:urn="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">FZJ</xml-fragment> at pl.edu.icm.unicore.uvos.wsapi.xmlbeans.SAMLXMLBeansMapper.mapAttrValue2APIAttr(SAMLXMLBeansMapper.java:128) at pl.edu.icm.unicore.uvos.wsapi.xmlbeans.SAMLXMLBeansMapper.map2APIAttributes(SAMLXMLBeansMapper.java:65) at pl.edu.icm.unicore.uvos.wsclient.samlapi.SAMLVOQueryClient.getAttributesGeneric(SAMLVOQueryClient.java:305) at pl.edu.icm.unicore.uvos.wsclient.samlapi.SAMLVOQueryClient.getAttributes(SAMLVOQueryClient.java:120) at eu.smartlm.security.aa.handlers.UVOSAuthenticationHandler.invoke(UVOSAuthenticationHandler.java:117) at org.apache.axis2.engine.Phase.invoke(Phase.java:317) ================================================== Best regards, Björn -- Dipl.-Inform. Björn Hagemeier Juelich Supercomputing Centre Institute for Advanced Simulation Phone: +49 2461 61 1584 Fax : +49 2461 61 6656 Email: b.hagemeier@... Skype: bhagemeier WWW : http://www.fz-juelich.de/jsc JSC is the coordinator of the John von Neumann Institute for Computing and member of the Gauss Centre for Supercomputing Forschungszentrum Jülich GmbH 52425 Jülich Sitz der Gesellschaft: Jülich Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender); Dr. Sebastian M. Schmidt [b_hagemeier.vcf] begin:vcard fn;quoted-printable:Bj=C3=B6rn Hagemeier n;quoted-printable:Hagemeier;Bj=C3=B6rn org:Juelich Supercomputing Centre;Distributed Systems and Grid Computing adr;quoted-printable:;;;J=C3=BClich;NRW;52425;Germany email;internet:b.hagemeier@... title:Dipl.-Inform. tel;work:+49 2461 61 1584 tel;fax:+49 2461 61 6656 x-mozilla-html:FALSE url:http://www.fz-juelich.de/jsc version:2.1 end:vcard ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Unicore-support mailing list Unicore-support@... https://lists.sourceforge.net/lists/listinfo/unicore-support |
|
|
Re: UVOS client questionHi Björn,
I had the same problem a few weeks ago. I attached a patch for the uas-authz lib that solves the problem. Krzysztof made that patch for me. MFG André > Dear all, > > I'm using UVOS to do AA in one of our projects. There is a handler > that calls UVOS to query entity attributes for users of services. This > works well in one of my environments, but not in the other. I tried to > make out any major differences in the environment, e.g. installed > libraries, but to no avail. > > Krzysztof, maybe you can help me with this. > > ================================================== > 2009-06-22 15:57:51,932 [http-9911-2] ERROR > eu.smartlm.security.aa.handlers.UVOSAuthenticationHandler - Something > wrong in eu.smartlm.security.aa.handlers.UVOSAuthenticationHandler > pl.edu.icm.unicore.uvos.wsapi.xmlbeans.UnsupportedSAMLException: > Unknown type of attribute value received, value <xml-fragment > urnx1:scope="/UNICORE/UUDB/SMARTLM-FZJ" > xsi:type="urnx1:ScopedStringAttributeValueType" > xmlns:urnx0="urn:oasis:names:tc:SAML:2.0:profiles:attribute:XACML" > xmlns:urnx1="urn:vo:SAML:2.0:attribute:ext" > xmlns:urn="urn:oasis:names:tc:SAML:2.0:assertion" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">FZJ</xml-fragment> > at > pl.edu.icm.unicore.uvos.wsapi.xmlbeans.SAMLXMLBeansMapper.mapAttrValue2APIAttr(SAMLXMLBeansMapper.java:128) > > at > pl.edu.icm.unicore.uvos.wsapi.xmlbeans.SAMLXMLBeansMapper.map2APIAttributes(SAMLXMLBeansMapper.java:65) > > at > pl.edu.icm.unicore.uvos.wsclient.samlapi.SAMLVOQueryClient.getAttributesGeneric(SAMLVOQueryClient.java:305) > > at > pl.edu.icm.unicore.uvos.wsclient.samlapi.SAMLVOQueryClient.getAttributes(SAMLVOQueryClient.java:120) > > at > eu.smartlm.security.aa.handlers.UVOSAuthenticationHandler.invoke(UVOSAuthenticationHandler.java:117) > > at org.apache.axis2.engine.Phase.invoke(Phase.java:317) > ================================================== > > Best regards, > Björn > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > ------------------------------------------------------------------------ > > _______________________________________________ > Unicore-support mailing list > Unicore-support@... > https://lists.sourceforge.net/lists/listinfo/unicore-support > -- André Höing Technische Universitaet Berlin Faculty of Electrical Engineering and Computer Science Department of Telecommunication Systems Complex and Distributed IT Systems Secr. EN 59 Einsteinufer 17 10587 Berlin Phone: +49 30 314 78946 Fax: +49 30 314 21114 e-mail: andre.hoeing@... WWW: http://www.cit.tu-berlin.de/ Hi, André Höing pisze: >>> I managed to connect my UNICORE to UVOS. For that I used the demo >>> user. The log state that all set attributes are fetched from UVOS, >>> but I get a lot of errors when adding the Attributes into the XACML >>> Request. >>> >>> 2009-05-15 09:25:27,213 [btpool0-2] WARN AttributesCallback - Got >>> SAML attribute with unsupported XACML DataType: >>> urn:SAML:voprofile:ScopedAttribute. Attribute name is: >>> urn:unicore:attrType:role >>> 2009-05-15 09:25:27,213 [btpool0-2] WARN AttributesCallback - Got >>> SAML attribute with unsupported XACML DataType: >>> urn:SAML:voprofile:ScopedAttribute. Attribute name is: >>> urn:unicore:attrType:role > As you can see none of the self inserted attributes are included in the > XACML Request. It still seems the Datatype problem. What am I doing wrong? I've fixed this and also added a generic support for scoped attributes. The fix will be available in the next UNICORE release or patch. If you want to play with it now then in the attachment there is a jar file - you can simply replace the old library in the unicorex/lib with it. Best regards and thanks for the bug report! Krzysztof ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Unicore-support mailing list Unicore-support@... https://lists.sourceforge.net/lists/listinfo/unicore-support |
|
|
Re: UVOS client questionDear André,
thank you very much for your help. As a matter of fact, I was able to solve my problem before I left work. I had to copy some libraries (SAMLtypes and samly2) to my axis2/WEB-INF/lib directory. Apparently, they weren't picked up from the .mar module, which requires the JARs to be available. I'm not sure, whether I need both of them, but at least things now work for me. I will have to see, if a self-contained module can still be built for easy deployment in vanilla Axis2. I will also have a closer look at the patch you and Krzysztof provided. Krzysztof, could you explain how your patch solves the problem and how my problem was related to André's problem, if at all. Best regards, Björn On 22.06.2009 16:42, André Höing wrote : > Hi Björn, > > I had the same problem a few weeks ago. I attached a patch for the > uas-authz lib that solves the problem. Krzysztof made that patch for me. > > MFG > André >> Dear all, >> >> I'm using UVOS to do AA in one of our projects. There is a handler >> that calls UVOS to query entity attributes for users of services. This >> works well in one of my environments, but not in the other. I tried to >> make out any major differences in the environment, e.g. installed >> libraries, but to no avail. >> >> Krzysztof, maybe you can help me with this. >> >> ================================================== >> 2009-06-22 15:57:51,932 [http-9911-2] ERROR >> eu.smartlm.security.aa.handlers.UVOSAuthenticationHandler - Something >> wrong in eu.smartlm.security.aa.handlers.UVOSAuthenticationHandler >> pl.edu.icm.unicore.uvos.wsapi.xmlbeans.UnsupportedSAMLException: >> Unknown type of attribute value received, value <xml-fragment >> urnx1:scope="/UNICORE/UUDB/SMARTLM-FZJ" >> xsi:type="urnx1:ScopedStringAttributeValueType" >> xmlns:urnx0="urn:oasis:names:tc:SAML:2.0:profiles:attribute:XACML" >> xmlns:urnx1="urn:vo:SAML:2.0:attribute:ext" >> xmlns:urn="urn:oasis:names:tc:SAML:2.0:assertion" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xmlns:xsd="http://www.w3.org/2001/XMLSchema" >> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">FZJ</xml-fragment> >> at >> pl.edu.icm.unicore.uvos.wsapi.xmlbeans.SAMLXMLBeansMapper.mapAttrValue2APIAttr(SAMLXMLBeansMapper.java:128) >> >> at >> pl.edu.icm.unicore.uvos.wsapi.xmlbeans.SAMLXMLBeansMapper.map2APIAttributes(SAMLXMLBeansMapper.java:65) >> >> at >> pl.edu.icm.unicore.uvos.wsclient.samlapi.SAMLVOQueryClient.getAttributesGeneric(SAMLVOQueryClient.java:305) >> >> at >> pl.edu.icm.unicore.uvos.wsclient.samlapi.SAMLVOQueryClient.getAttributes(SAMLVOQueryClient.java:120) >> >> at >> eu.smartlm.security.aa.handlers.UVOSAuthenticationHandler.invoke(UVOSAuthenticationHandler.java:117) >> >> at org.apache.axis2.engine.Phase.invoke(Phase.java:317) >> ================================================== >> >> Best regards, >> Björn >> ------------------------------------------------------------------------------ >> Are you an open source citizen? Join us for the Open Source Bridge conference! >> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. >> Need another reason to go? 24-hour hacker lounge. Register today! >> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Unicore-support mailing list >> Unicore-support@... >> https://lists.sourceforge.net/lists/listinfo/unicore-support >> > > > > ------------------------------------------------------------------------ > > Betreff: > Re: [Unicore-support] Custom UVOS Attributes > Von: > Krzysztof Benedyczak <golbi@...> > Datum: > Tue, 19 May 2009 16:38:16 +0200 > An: > André Höing <andre.hoeing@...> > > An: > André Höing <andre.hoeing@...> > > > Hi, > > André Höing pisze: >>>> I managed to connect my UNICORE to UVOS. For that I used the demo >>>> user. The log state that all set attributes are fetched from UVOS, >>>> but I get a lot of errors when adding the Attributes into the XACML >>>> Request. >>>> >>>> 2009-05-15 09:25:27,213 [btpool0-2] WARN AttributesCallback - Got >>>> SAML attribute with unsupported XACML DataType: >>>> urn:SAML:voprofile:ScopedAttribute. Attribute name is: >>>> urn:unicore:attrType:role >>>> 2009-05-15 09:25:27,213 [btpool0-2] WARN AttributesCallback - Got >>>> SAML attribute with unsupported XACML DataType: >>>> urn:SAML:voprofile:ScopedAttribute. Attribute name is: >>>> urn:unicore:attrType:role > [CUT] >> As you can see none of the self inserted attributes are included in the >> XACML Request. It still seems the Datatype problem. What am I doing wrong? > > I've fixed this and also added a generic support for scoped attributes. > The fix will be available in the next UNICORE release or patch. If you > want to play with it now then in the attachment there is a jar file - > you can simply replace the old library in the unicorex/lib with it. > > Best regards and thanks for the bug report! > Krzysztof -- Dipl.-Inform. Björn Hagemeier Juelich Supercomputing Centre Institute for Advanced Simulation Phone: +49 2461 61 1584 Fax : +49 2461 61 6656 Email: b.hagemeier@... Skype: bhagemeier WWW : http://www.fz-juelich.de/jsc JSC is the coordinator of the John von Neumann Institute for Computing and member of the Gauss Centre for Supercomputing Forschungszentrum Jülich GmbH 52425 Jülich Sitz der Gesellschaft: Jülich Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender); Dr. Sebastian M. Schmidt [b_hagemeier.vcf] begin:vcard fn;quoted-printable:Bj=C3=B6rn Hagemeier n;quoted-printable:Hagemeier;Bj=C3=B6rn org:Juelich Supercomputing Centre;Distributed Systems and Grid Computing adr;quoted-printable:;;;J=C3=BClich;NRW;52425;Germany email;internet:b.hagemeier@... title:Dipl.-Inform. tel;work:+49 2461 61 1584 tel;fax:+49 2461 61 6656 x-mozilla-html:FALSE url:http://www.fz-juelich.de/jsc version:2.1 end:vcard ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Unicore-support mailing list Unicore-support@... https://lists.sourceforge.net/lists/listinfo/unicore-support |
|
|
Re: UVOS client questionHi Bjorn and Andre,
W dniu 22.06.2009 21:49, Björn Hagemeier pisze: > Dear André, > > thank you very much for your help. As a matter of fact, I was able to > solve my problem before I left work. I had to copy some libraries > (SAMLtypes and samly2) to my axis2/WEB-INF/lib directory. Apparently, > they weren't picked up from the .mar module, which requires the JARs to > be available. I'm not sure, whether I need both of them, but at least > things now work for me. I will have to see, if a self-contained module > can still be built for easy deployment in vanilla Axis2. > > I will also have a closer look at the patch you and Krzysztof provided. > Krzysztof, could you explain how your patch solves the problem and how > my problem was related to André's problem, if at all. So as Andre suggested it was the same problem that he had. Whether its working or not can depend on the libraries you use (uas-authz in the unicore 6.2, in 6.1 it was uas-vo). Current status is that there was a bug (or more exactly speaking a TODO left ;-) in 6.2. I've fixed in in the current trunk, so the next version should be ok. I also sent the fixed library to Andre. Best regards, Krzysztof ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Unicore-support mailing list Unicore-support@... https://lists.sourceforge.net/lists/listinfo/unicore-support |
|
|
Re: UVOS client questionOn 23.06.2009 17:16, Krzysztof Benedyczak wrote :
> Hi Bjorn and Andre, > > W dniu 22.06.2009 21:49, Björn Hagemeier pisze: >> Dear André, >> >> thank you very much for your help. As a matter of fact, I was able to >> solve my problem before I left work. I had to copy some libraries >> (SAMLtypes and samly2) to my axis2/WEB-INF/lib directory. Apparently, >> they weren't picked up from the .mar module, which requires the JARs to >> be available. I'm not sure, whether I need both of them, but at least >> things now work for me. I will have to see, if a self-contained module >> can still be built for easy deployment in vanilla Axis2. >> >> I will also have a closer look at the patch you and Krzysztof provided. >> Krzysztof, could you explain how your patch solves the problem and how >> my problem was related to André's problem, if at all. > > So as Andre suggested it was the same problem that he had. Whether its > working or not can depend on the libraries you use (uas-authz in the > unicore 6.2, in 6.1 it was uas-vo). > > Current status is that there was a bug (or more exactly speaking a TODO > left ;-) in 6.2. I've fixed in in the current trunk, so the next version > should be ok. I also sent the fixed library to Andre. are you sure this is the case? To me it looks like an Axis2 class loader issue. Secondly, I'm using uvos-client version 1.3.1 and its dependencies. I wouldn't know where to put nor how to use the classes provided in the patch. How can it be a difference whether classes are available from WEB-INF/lib or from inside the module archive apart from class loader configuration? After all, I've got things to work even without your patch. Right now, I'm looking more towards Axis2 being the »culprit«. Best regards, Björn > > Best regards, > Krzysztof > -- Dipl.-Inform. Björn Hagemeier Juelich Supercomputing Centre Institute for Advanced Simulation Phone: +49 2461 61 1584 Fax : +49 2461 61 6656 Email: b.hagemeier@... Skype: bhagemeier WWW : http://www.fz-juelich.de/jsc JSC is the coordinator of the John von Neumann Institute for Computing and member of the Gauss Centre for Supercomputing Forschungszentrum Jülich GmbH 52425 Jülich Sitz der Gesellschaft: Jülich Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender); Dr. Sebastian M. Schmidt [b_hagemeier.vcf] begin:vcard fn;quoted-printable:Bj=C3=B6rn Hagemeier n;quoted-printable:Hagemeier;Bj=C3=B6rn org:Juelich Supercomputing Centre;Distributed Systems and Grid Computing adr;quoted-printable:;;;J=C3=BClich;NRW;52425;Germany email;internet:b.hagemeier@... title:Dipl.-Inform. tel;work:+49 2461 61 1584 tel;fax:+49 2461 61 6656 x-mozilla-html:FALSE url:http://www.fz-juelich.de/jsc version:2.1 end:vcard ------------------------------------------------------------------------------ _______________________________________________ Unicore-support mailing list Unicore-support@... https://lists.sourceforge.net/lists/listinfo/unicore-support |
|
|
Re: UVOS client questionDear Bjorn,
W dniu 24.06.2009 13:32, Björn Hagemeier pisze: > On 23.06.2009 17:16, Krzysztof Benedyczak wrote : >> Hi Bjorn and Andre, >> >> W dniu 22.06.2009 21:49, Björn Hagemeier pisze: >>> Dear André, >>> >>> thank you very much for your help. As a matter of fact, I was able to >>> solve my problem before I left work. I had to copy some libraries >>> (SAMLtypes and samly2) to my axis2/WEB-INF/lib directory. Apparently, >>> they weren't picked up from the .mar module, which requires the JARs to >>> be available. I'm not sure, whether I need both of them, but at least >>> things now work for me. I will have to see, if a self-contained module >>> can still be built for easy deployment in vanilla Axis2. >>> >>> I will also have a closer look at the patch you and Krzysztof provided. >>> Krzysztof, could you explain how your patch solves the problem and how >>> my problem was related to André's problem, if at all. >> >> So as Andre suggested it was the same problem that he had. Whether its >> working or not can depend on the libraries you use (uas-authz in the >> unicore 6.2, in 6.1 it was uas-vo). >> >> Current status is that there was a bug (or more exactly speaking a >> TODO left ;-) in 6.2. I've fixed in in the current trunk, so the next >> version should be ok. I also sent the fixed library to Andre. > Dear Krzysztof, > > are you sure this is the case?To me it looks like an Axis2 class loader > issue. Secondly, I'm using uvos-client version 1.3.1 and its > dependencies. I wouldn't know where to put nor how to use the classes > provided in the patch. > > How can it be a difference whether classes are available from > WEB-INF/lib or from inside the module archive apart from class loader > configuration? After all, I've got things to work even without your patch. > > Right now, I'm looking more towards Axis2 being the »culprit«. is the different case as Andre had. It seems as XML parsing problem or alike. And yes - it could be because of wrong SAMLtypes or samly2 (those are closely connected). Maybe it is a problem with XMLBens+axis - xmlbeans does a lot of class loading on its own. Best regards Krzysztof ------------------------------------------------------------------------------ _______________________________________________ Unicore-support mailing list Unicore-support@... https://lists.sourceforge.net/lists/listinfo/unicore-support |
| Free embeddable forum powered by Nabble | Forum Help |