Symantec Access Management

  • 1.  SSO reponse filter

    Posted Sep 20, 2017 03:12 PM

    A customer/client after authenticates (or authorize) must "response" with the groups of the user at LDAP. It already works, however when the number of groups too much big it fails. They want to filter the groups with a substring/subset. Is it possible to build a regular expression or something simimar?



  • 2.  Re: SSO reponse filter
    Best Answer

    Posted Sep 20, 2017 03:22 PM

    I had a similar issue i.e. when the number of groups was huge, policy server as part of response read the group info from user store along with other headers (email address, firstname, lastname). I was able to see in the policy server trace logs, the entire list of groups. However on the webagent trace logs, only single values response attributes like email address, firstname, lastname was visible. The group header was never received by the webagent.

     

    I was supposed to raise a Support Case, but haven't the time to do that.

     

    The workaround was to trim the DN's of the group and return only GroupNames.

    https://communities.ca.com/thread/241781903-can-you-parse-smusergroups-to-only-return-just-the-cn-of-a-group-instead-of-the-full-dns-of-each-group

     

    We can further cut down the value by using FILTER from expressions.

     

     

    The workaround may be considered as a Solution. However the question still remains, what if the number of group names returned hit that limit over a period of time even after writing a expression. We really want to understand is there a fundamental limit / size of header that is allowed between the Policy Server and WebAgent. I know we have properties files to control the size of Assertion. But never seen one for header responses. The curious factor is we cannot even state that it is the network / packet size limit, because between the UserStore and Policy Server, the Policy Server was able to read the entire list and print the list in smtracedefault.log. However between the Policy Server and WebAgent, there was some size limit encountered which prevented only the group header from passing through. Would need further investigation.



  • 3.  Re: SSO reponse filter

    Posted Sep 21, 2017 03:38 AM

    HubertDennis - The limit you typically hit with the headers are the header limits of the corresponding web server in question where the SM Agent is hosted. I believe Apache has a limit of around 8kB overall for headers and IIS around 16 KB or so.



  • 4.  Re: SSO reponse filter



  • 5.  Re: SSO reponse filter

    Posted Sep 21, 2017 03:36 AM

    I believe Hubert Dennis answered your question in terms of how to reduce the size of the header responses using FILTER expressions and trimming the DN's of the group. However, you should also ask the question of - are Siteminder HTTP headers the optimal way to fetch and push this group information into the end application.

     

    Often times, a straight LDAP call against your Directory is cleaner and better suited in dynamic enterprise environments where LDAP groups aren't as tightly managed (or) regulated so you run a chance of keep running into this problem if you use the Header route.