Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
Class used to parse XML response from CAS server.
It currently works with cas server 2.0.12 from yale.

it works by raising two types of exceptions :
    - "user", username
    - "failure", failure_message

src/c/o/collective.cas4plone-1.0a3/collective/cas4plone/CASAuthHelper.py   collective.cas4plone(Download)
        ICredentialsResetPlugin
 
from CASXMLResponseParser import CASXMLResponseParser
 
try:
            # We have an XML response (CAS architecture 2.0)
            try:
                parser = CASXMLResponseParser()
                while test:
                    parser.feed(test)

src/p/r/Products.CAS4PAS-2.1.2/Products/CAS4PAS/CASAuthHelper.py   Products.CAS4PAS(Download)
        ICredentialsResetPlugin
 
from CASXMLResponseParser import CASXMLResponseParser
 
try: 
            # We have an XML response (CAS architecture 2.0)
            try:
                parser = CASXMLResponseParser()
                while test:
                    parser.feed(test)