12.07.2015 Views

CA eTrust SiteMinder Developer's Guide for Java

CA eTrust SiteMinder Developer's Guide for Java

CA eTrust SiteMinder Developer's Guide for Java

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Property ClassThe core methods of the SmApiException class include:MethodgetFacility()getReason()getSeverity()getStatus()toString()DescriptionRetrieves the facility code of the exception.Retrieves the reason code of the exception.Retrieves the severity code of the exception.Retrieves the status code of the exception.Returns a string representation of the SmApiResultobject.The Exception class extends java.lang.Exception. By calling the inheritedgetMessage() method, you can retrieve the message associated with theexception.Property ClassThe Property class, SmProperty, holds the following in<strong>for</strong>mation about aproperty:■■■NameValueType (encrypted / plain)The core methods of the SmProperty class include:MethodgetName()getType()getValue()setName()setType()setValue()DescriptionRetrieves the name of the property.Retrieves the type of the property (that is, 0 if plaintext, 1 if encrypted).Retrieves the value of the property.Sets the name of the property.Sets the type of the property, 0 if plain text & 1 ifencrypted.Sets the value of the property.30 <strong>Developer's</strong> <strong>Guide</strong> <strong>for</strong> <strong>Java</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!