Package edu.yale.its.tp.cas.client
Class ServiceTicketValidator.Handler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- edu.yale.its.tp.cas.client.ServiceTicketValidator.Handler
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Direct Known Subclasses:
ProxyTicketValidator.ProxyHandler
- Enclosing class:
- ServiceTicketValidator
protected class ServiceTicketValidator.Handler extends DefaultHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
AUTHENTICATION_FAILURE
protected static String
AUTHENTICATION_SUCCESS
protected boolean
authenticationFailure
protected boolean
authenticationSuccess
protected StringBuilder
currentText
protected String
errorCode
protected String
errorMessage
protected String
netid
protected String
pgtIou
protected static String
PROXY_GRANTING_TICKET
protected static String
USER
-
Constructor Summary
Constructors Modifier Constructor Description protected
Handler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endDocument()
void
endElement(String ns, String ln, String qn)
void
startElement(String ns, String ln, String qn, Attributes a)
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Field Detail
-
AUTHENTICATION_SUCCESS
protected static final String AUTHENTICATION_SUCCESS
- See Also:
- Constant Field Values
-
AUTHENTICATION_FAILURE
protected static final String AUTHENTICATION_FAILURE
- See Also:
- Constant Field Values
-
PROXY_GRANTING_TICKET
protected static final String PROXY_GRANTING_TICKET
- See Also:
- Constant Field Values
-
USER
protected static final String USER
- See Also:
- Constant Field Values
-
currentText
protected StringBuilder currentText
-
authenticationSuccess
protected boolean authenticationSuccess
-
authenticationFailure
protected boolean authenticationFailure
-
errorMessage
protected String errorMessage
-
-
Constructor Detail
-
Handler
protected Handler()
-
-
Method Detail
-
startElement
public void startElement(String ns, String ln, String qn, Attributes a)
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
-
characters
public void characters(char[] ch, int start, int length)
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-
endElement
public void endElement(String ns, String ln, String qn) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-
endDocument
public void endDocument() throws SAXException
- Specified by:
endDocument
in interfaceContentHandler
- Overrides:
endDocument
in classDefaultHandler
- Throws:
SAXException
-
-