Slashdot Mirror


Oasis Gives SAML 1.0 a Thumbs-Up

Anonymous Custard writes "Oasis has approved the SAML 1.0 specification. From Infoworld: 'Members of the Oasis interoperability consortium approved the Security Assertion Markup Language (SAML) on Wednesday as an OASIS open standard. The move paves the way for the XML-based framework to enable secure SSO (single sign-on) and other security functions for Web services transactions spanning multiple hosted sites.' I feel more secure already!"

134 comments

  1. XML framework by kiltedtaco · · Score: 0, Flamebait

    What the hell is an "xml framework" anyways? How does that make anything more secure/better?

    Buzword.

    1. Re:XML framework by Anonymous Coward · · Score: 2, Informative
      unlike software, a framework includes standards.

      an xml framework would use an xml to interface with the rest of the world.

      XML is better than plain-text because unlike keyvalue pairs it can have hierarchy. It makes things more secure because cookies are on a per-domain basis and are an either/or situation with no limits on use ("use my details for customisation, but not tracking").

    2. Re:XML framework by kiltedtaco · · Score: 2, Interesting

      Ok, so because there's a structure to the data transmitted between two computers, it's more secure?

      What?

    3. Re:XML framework by Anonymous Coward · · Score: 0
      More secure than... (I guess you mean) cookies? Yes. As I said,
      It makes things more secure because cookies are on a per-domain basis and are an either/or situation with no limits on use ("use my details for customisation, but not tracking").
      It's more finegrain.
    4. Re:XML framework by kiltedtaco · · Score: 1

      It allows for more 'finegrain' control I guess if implemented that way, yes.

      But that's assumeing best case scenario, where everything works like it should.

      Security is built on the worst case scenario.

      It's no more "secure", it's not that much harder for evil people to do bad stuff.

    5. Re:XML framework by Anonymous Coward · · Score: 0

      That's the only way you can implement it. It's potentially better and in the worst case it's equally as bad as cookies. You're just mouthing off.

  2. Passport competition? by Alethes · · Score: 5, Interesting

    Is this an open standard that will compete with Passport, or is it something that Passport will have interoperablity with? Are they even related?

    1. Re:Passport competition? by Erik+Hollensbe · · Score: 2

      It depends on how popular it gets. Microsoft is only known for playing along when it's to their advantage.

      At least for me, I'm going to be one of those people that has a different account for each one of these passport-ish things, per site.

      I'm not about to give the keys to my car to all the auto shops in the town that I live and only put the battery in when I want to use it.

    2. Re:Passport competition? by jstepka · · Score: 1

      This is not a Passport competitor in the regards you would think. Passport is a service and a protocol whereas SAML is only a protocol.

      Vendors and OS projects will need to build an impl of this protocol before anyone can hope to take on the Passport service as a vendor.

      --
      Justen Stepka
    3. Re:Passport competition? by Anonymous Coward · · Score: 0
      My guess is it will compete:
      Earmarked as crucial for federated identity management within Web services by The Liberty Alliance, SAML 1.0 is already on the fast track for implementation among a number of Web access management and Web services security products...
    4. Re:Passport competition? by overlord2 · · Score: 3, Informative
      The thing that could be a possible Passport competitor is called Shibboleth:


      It is built on SAML. Read the deployment docs to get an overview (some of it's dated though).

      We've started testing the alpha where I work, it's coming along. The stuff you'll be able to do with Shib is amazing.

      --
      -- "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -A.Einstein
    5. Re:Passport competition? by finkployd · · Score: 3, Informative


      Liberty Alliance is more of a competitor to Passport than Shibboleth (although the two seem to be VERY similar). My understand about Shibboleth is that it is primarily for Higher Ed, not really geared toward business (thus its dependance on the EduPerson schema)

      I've been working with Scott and Co to get the upcoming Beta release up to par. We have been running the Alpha 2.5 code in production for a class at PSU for a few months now. If you need any help or want to compare notes feel free to email me (mxe20@psu.edu).

      Finkployd (mark earnest)

    6. Re:Passport competition? by stu42j · · Score: 1

      I don't know if it means much but Microsoft is a Sponsor Member.

    7. Re:Passport competition? by IamTheRealMike · · Score: 3, Insightful
      In short, no.

      Passport is a centralized web based SSO system.

      SAML is a protocol/framework for exchanging security assertions. It's not possible to build Passport out of pure SAML, for one SAML lacks a single signout protocol which kind of makes the whole thing rather useless. The Liberty Alliance (who will be releasing 1.1 soon) extend SAML to bring it up to speed.

      We can basically forget about Passport interop for now. I did look into it a few weeks ago for the Identity system I'm working on, but unless Microsoft radically change things (and indications are they won't) anything more advanced than automatic logins would require their approval, you'd probably just get denied access to the network.

  3. Bah. by UndercoverBrotha · · Score: 2, Insightful

    XML is slowly but surely turning into the huge beast from where it came, SGML, I thought the point of XML was simplicity...forget the open standards of data exchange everyone is talking about, the bickering of the major players will never allow XML, or any specifications dervied from it to become the "one" format for efficient data exchange

    MSXML
    SunXML
    IBMXML

    ..get used to it, and more articles like this.

    --
    Solid!
    1. Re:Bah. by Anonymous Coward · · Score: 2, Insightful

      And Xerces...

      Those are just libraries for creating/parsing XML documents. The output of ALL of them is 100% compliant XML. The programming interfaces are not specced at all and are of course 100% different in all implementations.

      I don't think you GROK what XML is exactly to have made that statement.

    2. Re:Bah. by smallpaul · · Score: 5, Informative

      SAML is not part of XML and in no way complicates XML. SAML is a specification built on XML. But to say that SAML complicates XML would be like saying that Mozilla complicates glib.

    3. Re:Bah. by Anonymous Coward · · Score: 1, Funny

      MSXML
      SunXML
      IBMXML
      are all just XML parsers, all parse 100% pure XML and all produce 100% pure XML.
      XML is (in slashdotarian),
      thou shall use tags, like so <biggles>
      thou shall always close a started tag, like so </biggles>
      thou shall use DTD's

      People can then use XML to make standards based on that, and as long as the DTD/Scheame and notes on the DTD are aviable anything with an XML parse can use it.

    4. Re:Bah. by Erik+Hollensbe · · Score: 2

      Personally, I'm just getting sick of using XML where smaller, leaner protocols would do a lot better.

      Seriouly, Has anyone heard of lex and yacc these days?

      (as my colleagues would note, I'm guilty of throwing XML at things that really don't need it too.)

    5. Re:Bah. by WetCat · · Score: 1

      You don't have to use DTD's. Actually you may use XML even if you don't know what DTD is...

    6. Re:Bah. by Anonymous Coward · · Score: 0

      Let's play spot the retard. There he is! The parent poster! I win!

    7. Re:Bah. by tswinzig · · Score: 2

      I thought the point of XML was simplicity

      The point of XML was to allow subset languages to be created for the efficient exchange and storage of data, in a logical (human-readable) format.

      SAML is defined using XML. It changes nothing in XML. How exactly does this bring XML any closer to becoming SGML?

      That your uninformed post got +4 amazes me, truly.

      --

      "And like that ... he's gone."
    8. Re:Bah. by dubious9 · · Score: 1

      I'd like to join the chorus about your misconception. Besides, you sound just like my boss. You want to know all XML is?

      1. It's a text markup "language" with <begin tags> and </end tags> like html.
      2. It's tags have to have a start and end tag and are case sensitive.
      3. Start tags can have attributes in the form of attribute="value"
      4. XML documents begin with an XML version tag.

      That's it. Complex huh?

      --
      Why, o why must the sky fall when I've learned to fly?
    9. Re:Bah. by Anonymous Coward · · Score: 0

      Mozilla doesn't even use glib. It's written in C++, so you don't need glib.

    10. Re:Bah. by Zeinfeld · · Score: 3, Informative
      Seriouly, Has anyone heard of lex and yacc these days?

      Yes, of course I have. But I do not believe that LR(1) grammars as constructed by yacc have any place in a computer language. Chmosky's syntax theories are designed to model human languages. A computer language that requires the power of a full LR(1) parser is almost certainly more complex than it needs to be.

      lex involves processing that is only slightly simpler than yacc. Again regular expressions are great theory but using the unconstrained power of lex tends to result in specifications that are much more complex to parse than they need to be.

      lex and yacc are tools for building compilers. A (non validating) xml parser can be constructed by hand without much difficulty.

      Incidentally SAML does not use DTDs. In my view DTDs are an obsolete anacronism. SAML is specified using XML Schema which supports a full object oriented data model. XML Schema is unfortunately something of a beast, an XML Schema actually defines two type systems, not just one. An XML element definition defines a type of an element instance. An XML type definition actually specifies the type of a type.

      Even so it is much simpler to use XML to define the data structures and then use automated toold to generate the serialization and parsing code than it is to use yacc, unless of course you start building data models arround yacc - definitively not recommended, been there, done that.

      So don't jump to the conclusion that just because we did not choose to use a familliar tool we don't know what we are doing. I have written specifications based on LR(1) grammars, I have no intention of repeating the experience.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    11. Re:Bah. by Anonymous Coward · · Score: 0

      Bwahahahaha, you figured that out only just now? It has been like this since the beginning. XML by itself does not define anything useful (i.e. semantics). Thus it was never a good data interchange language to begin with. It's just hype. And now the vendors are lining up to sell you their "solutions" (i.e. incompatible, semantically rich XML subsets). What a maroon.

    12. Re:Bah. by Anonymous Coward · · Score: 0

      A true but meaningless statement. Of course SAML does not complicate XML in the sense you are referring to. The point is that XML is *completely and utterly useless* without complex and byzantine frameworks such as SAML and SOAP. In other words, if you want to make use of XML, you will have to learn SAML, amongst others, and as such the original posters' point stands: XML as a language for data interchange is a joke.

    13. Re:Bah. by Citizen+of+Earth · · Score: 2

      XML, or any specifications dervied from it to become the "one" format for efficient data exchange

      XML as it is now will never be efficient at anything. To be efficient, the XML structure would need to be represented in binary. (And there would be no loss of interoperability.) And any numeric arrays need to be represented raw.

    14. Re:Bah. by TummyX · · Score: 2, Insightful


      point is that XML is *completely and utterly useless* without complex and byzantine frameworks such as SAML and SOAP


      Uh!

      And Java (the language) is completely and utterly useless without the java class libraries. This must mean that Java is a useless language. The fact that it can be used as a standard way to build other technologies on top of is besides the point...

    15. Re:Bah. by Twylite · · Score: 2

      In BNF notation Java has 54 productions, C++ has 88, and XML has 89. Where Java and C++ only support a single character encoding according to their standards, XML requires support for at least 2, one of which must be supported in both endian encodings. Where LR(1) grammars define at design time the significance of whitespace, XML must parse a DTD at runtime to determine when whitespace is or is not significant. In XML arbitrary characters or data can be represented in at least two ways other than a raw character, and XML has built into it a substitution language - so its fair to compare its complexity to C++ and CPP.

      XML is a complex and difficult to implement standard (as evidenced by the very few completed, compliant parsers that are available).

      --
      i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net
    16. Re:Bah. by Twylite · · Score: 2

      Plus 85 other rules. Yes, really - check the specification. There mere fact that it has attributes AND every tag can contain tags gives you two orthogonal and redundant data models. There are two character encodings, three character/data representations, four syntactically distinct data models ... and only about four parsers that can claim to be compliant or close to compliant with the specification. Yes, complex.

      --
      i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net
    17. Re:Bah. by zby · · Score: 1

      I'm a bit suprised about the complexity of XML - isn't it all about balanced parenthesis expressions?
      Don't read me wrong - I believe you that it has those 89 productions. I just state that it's suprising and perhaps the fact that it looks so simple is the reason that managers like it so mutch.

    18. Re:Bah. by Twylite · · Score: 2

      On the surface XML looks very simple. Balanced parenthesis expressions, as you say. Just under the surface it doubles its complexity: attributes are functionality equivalent to sub-expressions which have the limitation that they themselves can't have sub-expressions. This gives you two equivalent ways to represent information, which complicates the data model. It also makes it slightly more difficult to parse.

      But when you get to the actual syntax, all hell breaks loose. A parser must understand UTF-8 and UTF-16 encoding (the latter in big endian or little endian format).

      A parser must also parse not only the simple embedded parenthesis we know as XML, but also a DTD. Even if it cannot validate, it must parse the DTD in order to get past it and parse the rest of the document, in order to substitute entities, and in order to handle whitespace correctly.

      Beyond the DTD and "basic XML syntax", it must handle special cases for comments, CDATA sections and processing instructions. All of these are effectively subgrammars - once you enter the section it has its own completely different rules for how its content is (or is not) parsed.

      The parser must also detect and substitute entities, as specified in the DTD. The DTD also determines where whitespace is and is not significant, and therefore whether the parser must or should ignore whitespace, or must report it to the application (which is using the parser).

      XML looks simple, and simple non-compliant XML parsers that parse simple XML are easy to write and in abundance. But XML, complete, is complex and tricky.

      --
      i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net
    19. Re:Bah. by Axe · · Score: 2
      But when you get to the actual syntax, all hell breaks loose. A parser must understand UTF-8 and UTF-16 encoding (the latter in big endian or little endian format).

      Apparently, you do not give a flying fuck about people who do not use American English and ASCII encoding.
      Well, the majority of world population does care about these issues and uses different character sets. If it means a bit more trouble for american programmers - I would say, fuck them lazy fucks.

      Of course - if you ever had to fit in internationalization support into your wondercode, starting on yacc and proceeding into char* haven, then you frigging deserve it.

      I would rather have the toolkit writer have a few grey hairs..

      --
      <^>_<(ô ô)>_<^>
    20. Re:Bah. by Axe · · Score: 2
      Plus 85 other rules. Yes, really - check the specification. There mere fact that it has attributes AND every tag can contain tags gives you two orthogonal and redundant data models. There are two character encodings, three character/data representations, four syntactically distinct data models ... and only about four parsers that can claim to be compliant or close to compliant with the specification. Yes, complex.

      Allow me to repeate my objection to your frigging nonsense:
      So what? Toolkit writer worries about this shit. User does not. XML is simple.

      --
      <^>_<(ô ô)>_<^>
    21. Re:Bah. by Anonymous Coward · · Score: 0
      Apparently, you do not give a flying fuck about people who do not use American English and ASCII encoding.
      Guilty as charged, your honor.
    22. Re:Bah. by Twylite · · Score: 2

      Actually, I do. Like most sane people I understand that one unicode character encoding (EITHER UTF-8 OR UTF-16LE OR UTF-16BE OR UTF-32 OR on of the many others) is adequate. UTF-8 gives you a nice advantage of compatibility with the ASCII-7 character set, which means widespread support for text editing.

      --
      i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net
  4. Just a thought by cranos · · Score: 3, Interesting

    and keep in mind I am not all that up to speed with web services but are any of these XML files that are going to be used for authentication going to be encrypted?

    I can see a giant hole here in terms of a dedicated cracker intercepting un-encrypted XML files, parsing the information and then using that info for their own nefarious (yes its a big word) schemes.

    Again when it comes to Web Services I am not the most up to date, its just a thought

    1. Re:Just a thought by Erik+Hollensbe · · Score: 3, Interesting

      Well, I'm sure the spec calls for encryption (as it would never get accepted otherwise)....

      Then again, run a sniffer on your corporate/college network, and take a look at all those fools who use IMAP and POP without ssl to get their email. It's no better.

      (Hint: if you're forced to use one of these systems (like I am), make sure you're not using a password you care about -- and don't even bother to make it cryptic)

    2. Re:Just a thought by Woodrose · · Score: 0

      Encryption is supported by transport protocol, typically HTTPS.

      --

      Thou hast damnable iteration, and art indeed able to corrupt a saint - Henry IV, Act I scene II

    3. Re:Just a thought by madro · · Score: 2
      The spec includes a reference to a W3C Proposed Recommendation (Oct. 3, 2002) for XML Encryption Syntax and Processing:
      "a process for encrypting data and representing the result in XML. The data may be arbitrary data (including an XML document), an XML element, or XML element content. The result of encrypting data is an XML Encryption element which contains or references the cipher data."
    4. Re:Just a thought by Zeinfeld · · Score: 3, Informative
      Well, I'm sure the spec calls for encryption (as it would never get accepted otherwise)....

      I suspect that I am the only person on this thread who has actually read the specification.

      SAML does not 'call for' encryption. It states that if confidentiality is a requirement then some form of encryption should be used. The actual encryption services are provided by either SSL or WS-Security.

      Then again, run a sniffer on your corporate/college network, and take a look at all those fools who use IMAP and POP without ssl to get their email. It's no better.

      This statement is remarkably clueless if you bother to read what SAML does. It is a single sign on protocol (amongst other things). Protecting the confidentiality of authentication credentials is not something easily overlooked when designing such protocols, particularly when it is largely based on research work done by VeriSign and Netegrity which are both specialists in cryptographic security.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    5. Re:Just a thought by cranos · · Score: 1

      kudos to you for actually RTFSpec. However its a bit worrying that a spec whos entire reason for existing is cross-authentication between two or more different sets of Web Services does not make encryption part of its core.

      I will be reading the spec tonight, but as I said in my previous post in this case I believe that any sort of authentication standard has to move away from plain text across the net as its base and onto encryption.

    6. Re:Just a thought by Zeinfeld · · Score: 2
      kudos to you for actually RTFSpec

      Not really, I was the editor.

      However its a bit worrying that a spec whos entire reason for existing is cross-authentication between two or more different sets of Web Services does not make encryption part of its core.

      Not at all. I was working on the WS-Security specification with Microsoft and IBM at the same time as I was editing SAML. The SAML group anticipated that WS-Security would be proposed as soon as the SOAP 1.2 specification started to stabilize.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    7. Re:Just a thought by cranos · · Score: 2, Funny

      Okay the kudos for WTFSpec then ;)

      As I said I will try and read the spec tonight,family permitting.

  5. And as always by kaosrain · · Score: 3, Funny

    Pornography will be the first industry to utilize this new technology ;) -Kaos

    1. Re:And as always by Anonymous Coward · · Score: 0

      Why would Cowboy Neale post a story? I thought all's he did was ruin every single poll on this site with complete and total lack of humor.

    2. Re:And as always by packeteer · · Score: 2
      --
      unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep
  6. An example by Call+Me+Black+Cloud · · Score: 1, Informative
    Basically you want a site/service you've authenticated with to authenticate you with other sites, so the spec lays out how this should be done. From the RFC (just a snippet):

    <password>
    <display>*******</display>
    <actual>password</actual>
    </password>
    Simple!
    1. Re:An example by Anonymous Coward · · Score: 0

      It can't be that simple, you couldn't even get the number of asterisks right!

    2. Re:An example by edrugtrader · · Score: 0, Flamebait

      "informative" nice...

      i can imagine that moderator implementing this on his blog as we speak.

      --
      MARIJUANA, SHROOMS, X: ONLINE?! - E
    3. Re:An example by uberdave · · Score: 2

      That's what makes it so secure!

    4. Re:An example by ebyrob · · Score: 2

      what the heck is that semicolon ';' doing in there? It's not even inside the root tag, wouldn't that be invalid XML?

    5. Re:An example by Call+Me+Black+Cloud · · Score: 2

      I enclosed the block with ecode tags and the system added it on. I'm open to suggestions on how to better display posts containing xml to be displayed. I guess I should have tried plain old text or code...

    6. Re:An example by dubious9 · · Score: 1

      Do a replace on < with &lt. Oh and don't forget the semicolon after the lt :)

      --
      Why, o why must the sky fall when I've learned to fly?
    7. Re:An example by Zeinfeld · · Score: 5, Informative
      Basically you want a site/service you've authenticated with to authenticate you with other sites, so the spec lays out how this should be done. From the RFC (just a snippet):

      More utter clulessness, I edited the SAML specification. In the first place it is an OASIS standard, not an IETF RFC. Secondly the code fragment cited is completely bogus.

      SAML is the Security Assertion Markup Language. It allows security assertions to be specified. A security assertions consists of one or more statements, which may be subject to a number of conditions and contain additional advice.

      A SAML Authentication assertion may be used to specify that a subject has been authenticated using user name and password.

      There was a time when Karma Whores would actually read the material they were citing.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    8. Re:An example by Call+Me+Black+Cloud · · Score: 2

      Look Zigfried...it's a joke. See, it's supposed to be all about security, yet the password is stored in plain text in the "sample". Didn't you like the part about "display" being a bunch of *'s?

      I thought it was funny that the post was modded informative - I think it's hilarious that you took it so serious! Here's another xml snippet for you:

      <sucka>you</sucka>

    9. Re:An example by ebyrob · · Score: 2

      Well, I probably sounded more shrill than I meant it.

      My point was merely that XML being so *simple* it's funny how difficult it can be to actually use for things at times...

    10. Re:An example by Zeinfeld · · Score: 2
      Look Zigfried...it's a joke. See, it's supposed to be all about security, yet the password is stored in plain text in the "sample". Didn't you like the part about "display" being a bunch of *'s?

      It might be funny if there weren't so many people on slashdot who might actually think that way,.

      It is like Ronald Reagan making a 'joke' about bombing Russia, it wasn't funny because lots of people really did think he was a senile fool who might do something like that.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
  7. well... by bytes256 · · Score: 1, Insightful

    security and privacy were fun while they lasted...this freakin single-sign-on crap scares me just a lil

    --

    Slashdot, the site where everything's made up and the points don't matter
  8. In Other News... by CySurflex · · Score: 5, Funny
    In Other News...

    The W3C announces the new "CONVERT everything to XML guidebook", including new XML underwear, a revised XSLT super hero, an XML car that drives you to any XPATH, XSD-SCHEMA based twinkies, and of course still supporting the girlfriend that doesn't answer any XML-QUERIES.

  9. But what I really want to know is... by Myco · · Score: 4, Funny

    Do they still think they're the Beatles?

  10. We are XML... by Anonymous Coward · · Score: 0

    ...resistance is futile you will be encoded

  11. They did! by Anonymous Coward · · Score: 0
    Wow and I thought Oasis would never top "wonderwall"


    And this one's even better than a Firewall!

  12. Implementation already included in MS FrontPage by PDHoss · · Score: 5, Funny


    !seineeWerAsreenignEepacsteN
    </password>

    --
    ======================================
    Writers get in shape by pumping irony.
    1. Re:Implementation already included in MS FrontPage by Citizen+of+Earth · · Score: 2

      <password noPeeking="1">
      !seineeWerAsreenignEepacsteN
      </password>


      That's strongly encrypted password considering that whitespace characters are significant in XML. No one will ever be able to reproduce exactly the same pattern of whitespace again! (Including me.)

  13. Make Oasis Open Source! by Lieutenant_Dan · · Score: 2, Funny

    I think it's great that Noel has decided to venture into the computer informatics field. He can leverage off the vast experience of the Open Source developer community to craft his new offering. With their sheer brilliance, the Open Source developer community can overcome most obstacles within a matter of hours.

    Only when we realize the massive potential of Open Source, can we repair the weak Gaussian Blur filters in Photoshop.

    --
    Wearing pants should always be optional.
    1. Re:Make Oasis Open Source! by sleaterkinney · · Score: 1

      And Liam will be a natural at XML

  14. I'm sorry, by Anonymous Coward · · Score: 1, Funny

    can some one give me a simple explaination?

    Dr. Hibbert: Homer, I'm afraid you'll have to undergo a coronary bypass operation.
    Homer: Say it in English, Doc.
    Dr. Hibbert: You're going to need open-heart surgery.
    Homer: Spare me your medical mumbo-jumbo.
    Dr. Hibbert: We're going to cut you open and tinker with your ticker.
    Homer: Could you dumb it down a shade?

  15. Compressing XML SAML? by Istealmymusic · · Score: 2, Insightful
    Anyone have any luck compressing SAML-encoded security assertions, or any use of XML for that matter? Maybe I'm old-fashioned, but to me having a plethora of XML tags without abbreviations of any kind is an inadequate use of the ASCII encoding character space. Which is clearer?
    D. E. Knuth, The art of computer programming. Vol. 2, Seminumerical algorithms, third ed., Addison-Wesley Series in Computer Science and Information Processing. Addison-Wesley, Reading, MA, 1997.
    or:
    <citation>
    <author><sirname>Knuth</sirname><givenname>Donald< /givenname><middlename>Ervin</middlename>
    <entitled>Art of Computer Programming, The</entitled>
    <volume>2<volume>
    <subtitle>Seminumerical Algorithms</subtitle>
    <edition><ordinal>3</ordinal></edition&gt ; <excerpt>Addison-Wesley Series in Computer Science and Information Processing</excerpt>
    <publisher>Addison-Wesley</publisher>
    <publishers_house>Reading, MA</publishers_house>
    <year>1997</year>
    I'm not knocking XML--but you have to admit it is extremely verbose compared to terse standard syntaxen available today. If one can combine the flexibility of XML with the tersity of unstructured documents, we'll in for a datum revolution.
    --
    "The lesson to be learned is not to take the comments on slashdot too literally." --Vinnie Falco, BearShare
    1. Re:Compressing XML SAML? by jnana · · Score: 1

      Sure, your simple Ascii version looks simpler, but when you have to write code to grab the title or author, your code will be much longer. XML is not about saving space on the original encoding, it's about saving time each time you have to reuse that information in a different context. Stylesheets are simple to make. Parsing your simple example for the Publisher is an extremely difficult problem, when you consider that there are lots of different citation formats. With XML, I don't care which format you use, because a simple XPath expression (//author) gives me the author elements wherever they are.

    2. Re:Compressing XML SAML? by (H)elix1 · · Score: 2

      Which is clearer?
      D. E. Knuth, The art of computer programming. Vol. 2, Seminumerical algorithms, third ed., Addison-Wesley Series in Computer Science and Information Processing. Addison-Wesley, Reading, MA, 1997.
      or:
      (xml I'm not encoding)

      To the computer? The XML... My sax parser can understand one, allowing me to map every bit of info into a program without (much) hassle. The other, I have to write a parser to take the chunks of information and stuff it into my widget.

      I use to think the same way... until I was converting cobol copybooks into C struts and/or Java. Bandwidth is cheap compared to my time, and lord knows I left some really ugly code (three companies ago) for someone to figure out why the hell I'm grabbing a few characters which map to something important in the HL7 spec.

    3. Re:Compressing XML SAML? by target562 · · Score: 1

      Verbose, XML is. However, as storage & network bandwidth are have become very "inexpensive" commodities, the issue of bulk gets put on the sidelines, in comparison to the complexity of parsing more terse syntax. ASN.1 being an example of such an "interoperable" and "terse" syntax, which is complex enough that nobody tends to parse it right.

    4. Re:Compressing XML SAML? by Anonymous Coward · · Score: 0

      You are looking at the problem from the wrong end. The use of XML is to store the data in a format that allows both relatively easy parseing of by both humans AND machine. Sure, the first passage is easy to read by a human (although I found it funny that you have the title enclosed in tags) but it does not let the computer scanning it know what it means. The whole idea of XML is that you package your data in such a way that it can be scanned and manipulated multiple ways without makeing the data inaccessible to the human user.

    5. Re:Compressing XML SAML? by dubious9 · · Score: 1

      Apparently the people over at Open Office (or Star or Sun or whatever) had some luck. Their default file format is compressed XML. Usually smaller compared to binary .DOC files. You can even look at it. Try typing unzip someOO.swx

      Happy Hacking!

      --
      Why, o why must the sky fall when I've learned to fly?
    6. Re:Compressing XML SAML? by NTDaley · · Score: 1

      The first one may be clearer to you, but it doesn't mean a heck of a lot to your computer.
      Unless you do some fancy custom checks, your computer can't tell this from your shopping list.
      That's the point of XML, storing information in a way that your computer can easily understand what's going on.
      Chuck an tag at the top, and it can check against the schema to see that it actually makes sense.
      You can run it through an XSLT script, and get HTML, or the plain text form above, or maybe combine it with some other documents, and get a different type of XML document.
      All of this stuff would be a whole lot harder in plain text, because your computer wouldn't know what the document meant, let alone how to do anything interesting with it.

      --
      bits and peace
      Nicholas Daley
    7. Re:Compressing XML SAML? by Zeinfeld · · Score: 2
      SAML is specified using XML Schema which in turn is specified in terms of the XML Infoset.

      If you want to reduce the size of the XML messages I suggest that you use a more efficient XML encoding rather than a compression algorithm.

      A compression algorithm such as LZW takes entire documents and makes them smaller, this is highly efficient in terms of space but computationally intensive. Decompression typically requires the whole message or at least a substantial part of it to be read before decompression can begin.

      Finaly, the problem is not that "is complex enough that nobody tends to parse it right." ASN.1 is a classical example of a good idea that was butchered in committee. The most half baked example of which being the DER encoding rules which are simply derranged. There is no 'tends' about it, no two full scale ASN.1 tools I have used can be relied on to interoperate. Some fail to interoperate with themselves.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    8. Re:Compressing XML SAML? by cszsjp · · Score: 1

      Just a thought, but what about a convertor/interpreter which will reduce the tags to the shortest possible tag, e.g. the tag


      converted to

      etc... Just a thought! I guess the space recovered would be limited and it would mean the other end would have to reconstruct it.

    9. Re:Compressing XML SAML? by cszsjp · · Score: 1

      It would appear my tags were converted into nothing... damn...

      [author]

      converted to: [a]

      Some one tell me how to draw less than signs!!!!

  16. It's good to see them approving open standards by Gregoyle · · Score: 2

    For the longest time, the Gallagher brothers were total wankers. It's very good to see them opening themselves to good things like open XML standards and frameworks.

    --

    "He's more machine now than man, twisted and evil."

    1. Re:It's good to see them approving open standards by GigsVT · · Score: 1

      Yeah, the last time I saw those guys, one of them threw catsup on me and then smashed a watermelon with a mallet.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    2. Re:It's good to see them approving open standards by Anonymous Coward · · Score: 0

      Dumbass, not that Gallager. The one with the big eyebrows from "While you were sleeping."

  17. it's about frickin' time by leroybrown · · Score: 1

    Oasis has approved the SAML 1.0 specification.

    does this finally mean that XML is more popular than the beatles?

    --
    Founder, Americans Allied Against Alliteration
  18. Stop it. You're scaring me. by Anonymous Coward · · Score: 0

    It scares the crap out of me to read articles like the one you linked to. October 2002, and MS still thinks it's above standards.

    I really hope the EU is brave [conscientious?] enough to do what our federal government wasn't.

    After this election, I might be moving to the EU anyway.

    1. Re:Stop it. You're scaring me. by Anonymous Coward · · Score: 0

      >After this election, I might be moving to the EU anyway.

      It would certainly be amusing if there were a brain drain here from the States!

  19. On public computers? by celas · · Score: 1

    Can this kind of thing be turned off? Or will someone using a computer at an Internet café automatically leave their password around for the next user on the machine to use?

  20. Have not heard from Oasis from a while... by sryx · · Score: 1

    Well I see that since BMG is stopping the production of CDs it looks like one band is taking things into thier own hands!

    Oh wait.. RTFA(s)

  21. Scary... by MagicFab · · Score: 1

    Just when I thought I was finally able to explain PKI and OpenPGP to my friends and customers, this comes out...

    I hope it's for the best, not just another buzzword.

    After all, I can see OpenPGP encrypted files + dettached signatures encapsulated in XML sooner that this finishes being "approved".

    I assure you, I see it! It's red, and has yellow dots.. ah well... ;)

    --
    Notepad specialist & FAT administrator, group training available
  22. XrML? by PrestoChango · · Score: 1

    It's going to be interesting to see which one wins. This is going to be like the VHS/Beta battle. One will be the superior technology, the other will be marketed and distributed better. I wonder which will turn out to be which.

  23. READ SexyKellyOsbourne's BIO & Journal by Chris_Stankowitz · · Score: 0, Offtopic

    NO MODDING UP FOR JU!!!!! This Loon never has anything constuctive to say. Just check her history as well. It's bad enough to troll, but she shoves it in our face that she can get away with it.

    1. Re:READ SexyKellyOsbourne's BIO & Journal by Anonymous Coward · · Score: 0

      oh my. someone is just a little tad too jealous. get a life dude.

  24. Wonder-fire-wall? by Pyrosophy · · Score: 1

    Should we really be putting bad British pop bands in charge of secure frameworks?

    What's next -- the Supergrass Encryption protocol?

  25. the lemonparty.org group also approves by Anonymous Coward · · Score: 0

    see the site for more info...

  26. LGPL Version of SAML available by bornholtz · · Score: 2, Informative

    The project that I wrote uses SAML to pass authentication information to the various data providers.

    Anyone interested in it can check out the project at http://www.nchelp.org/Meteor.htm.
    If you're interested in looking at the code it can be downloaded from http://www.meteorcentral.com/
    It is licensed via the LGPL.

    --
    -- Freedom means letting other people do things you don't like.
  27. I was surprised.... by psyconaut · · Score: 1

    ....the Gallagher brothers knew was SAML was.....infact, I'm surprised they know what a computer is!

    -pysco

  28. OpenSAML by target562 · · Score: 2

    Those who are actually interested in using this stuff instead of just griping about things they don't understand should take a look at OpenSAML, a Java & C++ library for creating & grokking SAML assertions, at http://www.opensaml.org/

  29. Single Sign-On is available *today* by Anonymous Coward · · Score: 0

    Hey everybody! Suzy here, and I'm from Microsoft's New Trusted Computing department.

    Why wait for the latest so-called "open standard" to become a reality? And why expose your valuable intellectual property to the licensing uncertainty of so-called "open" standards, when Microsoft has a safe solution available with much lower TCO? Here it is:

    Just set all your passwords to the return key. That's right. Instead of typing in a jumble of hard-to-remember passwords, just hit that return key and create an empty password. Whenever you need to log in, just hit return. It's that easy!

    Remember: Just Hit Return(tm). That's our motto here at Microsoft HQ and we recommend it to all our clients. In fact, our next version of Windows2000 (called Windows2000 2003) will enforce this effective policy enterprise-wide.

    Just imagine! Never have to remember long complicated passwords again! No need to type long confusing strings over and over! Log into your PC, your intranet, even your personal financial sites, all with a single keystroke. And because this technology is licensed for a low fee, your intellectual property is safe from open source "infection".

    Microsoft - In Us You Trust(R).

    Copyright (C) 2002 Microsoft Corporation
    By reading this document, you agree to Microsoft's Terms Of Use.

  30. TWEEEET!!! by 5alligator · · Score: 1

    you - out of the pool!
    with &lt.
    Where's that semi-colon, boyo?

    1. Re:TWEEEET!!! by dubious9 · · Score: 1

      If I had put the semicolon after it, it would have showed up < which kinda defeats the purpose :)

      --
      Why, o why must the sky fall when I've learned to fly?
    2. Re:TWEEEET!!! by ebyrob · · Score: 2

      so this must be impossible?

      <xml>
      &lt;
      </xml>

  31. New XML standard: SML by AnEmbodiedMind · · Score: 1

    I was cleaning my teeth the other day, and looked at the plug for the sink. It had SML written on it. Thats gotta stand for Sink Markup Language... right?? ;)

  32. Info about SAML by finkployd · · Score: 5, Informative

    I'm not in any way involved with OASIS (although Champaign Supernova was a cool tune) but I think I can clear up some misunderstandings about SAML.

    First up, it does not extend or alter XML specs in any way, it is a specification for creating authentication and authorization assertions USING XML.

    It will not compete with Passport, but federated authentication systems that could compete with Passport could be designed to use SAML (see Liberty Alliance, or Internet2's Shibboleth).

    IT does NOT (I said NOT) send your password from one place to another. The whole idea is to provide a common "security language" if you will to allow two different types of authentication realms to communicate. What happens is site A trusts site B, and they have worked out a deal where site B's users are allowed to access a resource at site A. So a user wanting to get into site A coming from site B would authenticate into their security realm at site B, and site B would send a SAML assertion to site A claiming that the user is who they say they are. This assertion is a blob of XML data that is digitally signed by site B. It can also be encrypted using XML-Encryption or just sent over an SSL connection.
    This is very useful in higher education (where I live) since some schools intelligently use KerberosV for authentication, while some poor deluded schools use something like LDAP (pop quiz, what is it about a directory access protocol that sounds like "authentication system"?). It is nice to allow these different systems to talk to each other using a common language.

    There are three types of SAML assertions, Authentication, Attribute, and Authorization Decision. An Authentication assertion simply claims that this user was able to log in. An attribute assertion contains information about the user (think Unix groups). Authorization decision is pretty much self explainatory.

    Yes, XML is an annoying buzzword which clueless managers (who learn everything they know from trade rags) think should be used for everything. However this is actually a legit use of the technology. If your goal is to have a generic security language, you might as well use a generic data format.

    To actually use some of this stuff, check out the OpenSAML project developed by Internet2's Middleware team. Also look at Liberty Alliance and Shibboleth.

    Finkployd

    1. Re:Info about SAML by Zaiff+Urgulbunger · · Score: 1

      Yes, XML is an annoying buzzword which clueless managers (who learn everything they know from trade rags) think should be used for everything. However this is actually a legit use of the technology. If your goal is to have a generic security language, you might as well use a generic data format.

      I find its actually a good filter - where people quote knowledge of XML in their skill-set with no mention of any specific XML technologies you know they've just dropped in a current buzzword for good measure. Its about as useful as saying "I know about files", its that generic!

    2. Re:Info about SAML by flace · · Score: 1

      It can also be encrypted using XML-Encryption or just sent over an SSL connection

      What is XML Encryption, btw? Is it different from
      Encrypting XML? Is the encrypted content XML?
      If yes, are the XML parsers supposed to support them too?

    3. Re:Info about SAML by finkployd · · Score: 2

      What is XML Encryption, btw?

      W3C XML Encryption Working Group

      Finkployd

  33. Of course you can compress it by AnEmbodiedMind · · Score: 1
    You can compress XML with any standard compression technique.

    For example,SVG - an XML standard for Vector Graphics - expects all conformant viewers to be able to handle gzip/gunzip compression.

    They compress down as small as binary Flash (.swf) files.

  34. Oops - Re:Compressing XML SAML? by NTDaley · · Score: 1

    D'oh.

    Should have said ...
    Chuck an <?xml ... ?> tag at the top...

    So yeah, it's a bugger to read/edit yourself. But it's a whole lot nicer from your computers point of view.

    --
    bits and peace
    Nicholas Daley
  35. ah PGP alredy is an open standard according ITEF by linuxislandsucks · · Score: 1

    PGP is alreeady a standard in encyrption for use in xml ..what is a matter you don;t read rfcs and drafts at ITEF? shame on YOU!

    --
    Don't Tread on OpenSource
  36. Re:Bah.(study xml a little more man) by bpfurtado · · Score: 1

    You should go back home and study xml a little more man, and think twice before saying whats in your mind. A good XML book as a first homework to you.

  37. Industry adopted SAML - Liberty Alliance by Anonymous Coward · · Score: 0

    SAML is also used as a base for the Liberty Alliance specifications.

    Liberty Alliance objectives include:

    - Develop specifications that enable commercial and non-commercial organizations to protect consumer privacy

    - Provide an open single sign-on specification that includes federated authentication from multiple providers operating independently

    -Enable commercial and non-commercial organizations to control, maintain and enhance relationships with constituents

    -Create a network identity infrastructure that supports all current and emerging network access devices

    It hosts heavy players like: American Express, AOL Time Warner, Bell Canada, Citigroup, France Telecom, General Motors, Hewlett-Packard Company, MasterCard International, Nokia, NTT DoCoMo, Openwave Systems, RSA Security, Sony Corporation, Sun Microsystems, United Airlines and Vodafone.

  38. Cool! by ENOENT · · Score: 1

    I've always wanted my XML application to be given the stamp-of-approval by a sexy redheaded gymnast-assassin robot!

    (For the Sluggy-challenged, check the link in my sig.)

    --
    That's "Mr. Soulless Automaton" to you, Bub.
  39. Re:Bah.(study xml a little more man) by TummyX · · Score: 1

    you are an idiot. read my post again.

  40. encodings and syntax by zby · · Score: 1

    Does the parser really needs to understand the encoding? I mean all the syntax important characters are from the ascii range - so they have the same encoding in all of them. The difference in encoding is importand to semantics but not to syntax.

    1. Re:encodings and syntax by Twylite · · Score: 2

      The syntax characters are not the same in all encodings. This is made completely clear by one of the appendices to the XML specification, which explains how a parser can determine the character encoding in use by examining the first four bytes of the file.

      Since an XML document must start with <?xml, in UTF-8 the first four bytes will be <?xm . In UTF-16, however, the fist four bytes will contain BE or LE 16-bit encodings for just the first two characters <?, because each character uses at least 16-bits to encode. You can also determine UTF-32 encodings and others.

      Encoding determines how to interpret the bits and bytes of the document into characters, and the control characters are not the same in all encodings. A parser that naively parses a document as ASCII will get the completely wrong idea if it is UTF-8 encoded, where there may be multiple bytes per character. A UTF-16 encoded document parsed as UTF-8 will be completely garbled.

      --
      i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net
  41. Re:Bah.(study xml a little more man) by bpfurtado · · Score: 1

    Im not, Im sure, maybe you, hehe. Someone who thinks that "point is that XML is *completely and utterly useless* without complex and byzantine frameworks such as SAML and SOAP" has not studied XML as it should. Do what I said, take the link Ive sent you and do your homework.

    ps. You can do a LOT of things with XML even without SAML or SOAP man.
    ps2: You

  42. Re:Bah.(study xml a little more man) by TummyX · · Score: 1

    i was replying to (and refuting) a post that said "xml is completely and utterly useless" you idiot.

  43. Re:ah PGP alredy is an open standard according ITE by MagicFab · · Score: 1
    ITEF != IETF

    RFC = Request for Comments , not necessarily always established standards, but mostly proposed standards.

    You could include references in your inmensely constructive comments. Of course for a technology to be useful to anyone, RFCs are required reading. Where is the RFC you mention (PGP in XML) ?

    --
    Notepad specialist & FAT administrator, group training available
  44. Last Post! by alpg · · Score: 1

    I THINK THERE SHOULD BE SOMETHING in science called the "reindeer effect."
    I don't know what it would be, but I think it'd be good to hear someone say,
    "Gentlemen, what we have here is a terrifying example of the reindeer effect."
    -- Jack Handley, The New Mexican, 1988.

    - this post brought to you by the Automated Last Post Generator...