No way to change the size specified as a setErrorText() method
book
Article ID: 109863
calendar_today
Updated On:
Products
CA Single Sign On Secure Proxy Server (SiteMinder)AXIOMATICS POLICY SERVERCA Single Sign On SOA Security Manager (SiteMinder)CA Single Sign-On
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.
Additional Information
Java SDK API Reference https://docops.ca.com/ca-single-sign-on/12-8/en/programming/sdks/programming-in-java#ProgramminginJava-JavaSDKAPIReference