SDK java setErrorText() method max size for redirection URL
search cancel

SDK java setErrorText() method max size for redirection URL

book

Article ID: 109863

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On SITEMINDER

Issue/Introduction

 

When redirecting a URL set to the setErrorText() method of the
SmAuthenticationContext class of SDK. The max size which can be set up
here is a size acquired by the getMaxErrorTextSize() method of the
SmAuthenticationContext class of SDK (it is 4097 bytes based on
checking by an actual machine).

The behavior which assembled redirection URL is truncated, and does
not operate normally has occurred.

Is there a method to change the max size?

 

Environment

 

CA Single Sign-On 12.8 (Former name: SiteMinder)
Windows Server 2016
Java:JDK1.8Update161 64bit

 

Resolution

 

No. The size get by the getMaxErrorTextSize() method of the
SmAuthenticationContext class of SDK is a fixed value of 4k, and
currently this cannot be changed (1).

 

Additional Information

 

(1)

    Java SDK API Reference

      Follow these steps:
    Download the SDK zip.
      Save and extract the zip locally.
      The javadoc-sdk folder is created.
      Open the javadoc-sdk and double-click the index.html to open the Java API Reference.

    https://docops.ca.com/ca-single-sign-on/12-8/en/programming/sdks/programming-in-java#ProgramminginJava-JavaSDKAPIReference