<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Authentication error customizing SESM in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/authentication-error-customizing-sesm/m-p/468164#M428985</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;For a specific scenario I need to authenticate an user without using the built in SESM controls.&lt;/P&gt;&lt;P&gt;I am trying to use the provided API and I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No account for the identities "{radiususer=cisco}" exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code running within the JSP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Map LoginInfo = new HashMap();&lt;/P&gt;&lt;P&gt; LoginInfo.put("radiususer","cisco");&lt;/P&gt;&lt;P&gt; sesmSession.authenticate(LoginInfo);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would anyone have any clues on why doesn't this work? The user password combination works fine if using the non-customized pages. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2019 21:11:26 GMT</pubDate>
    <dc:creator>carlosparra</dc:creator>
    <dc:date>2019-03-10T21:11:26Z</dc:date>
    <item>
      <title>Authentication error customizing SESM</title>
      <link>https://community.cisco.com/t5/network-access-control/authentication-error-customizing-sesm/m-p/468164#M428985</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;For a specific scenario I need to authenticate an user without using the built in SESM controls.&lt;/P&gt;&lt;P&gt;I am trying to use the provided API and I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No account for the identities "{radiususer=cisco}" exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code running within the JSP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Map LoginInfo = new HashMap();&lt;/P&gt;&lt;P&gt; LoginInfo.put("radiususer","cisco");&lt;/P&gt;&lt;P&gt; sesmSession.authenticate(LoginInfo);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would anyone have any clues on why doesn't this work? The user password combination works fine if using the non-customized pages. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 21:11:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authentication-error-customizing-sesm/m-p/468164#M428985</guid>
      <dc:creator>carlosparra</dc:creator>
      <dc:date>2019-03-10T21:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication error customizing SESM</title>
      <link>https://community.cisco.com/t5/network-access-control/authentication-error-customizing-sesm/m-p/468165#M428988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could check the document for more information on SESM : &lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/products/hw/routers/ps314/prod_bulletin09186a0080091f31.html" target="_blank"&gt;http://www.cisco.com/en/US/products/hw/routers/ps314/prod_bulletin09186a0080091f31.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2005 15:35:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authentication-error-customizing-sesm/m-p/468165#M428988</guid>
      <dc:creator>umedryk</dc:creator>
      <dc:date>2005-06-21T15:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication error customizing SESM</title>
      <link>https://community.cisco.com/t5/network-access-control/authentication-error-customizing-sesm/m-p/468166#M428989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, responding to my own question. I would advice to use the Web Services Gateway (WSG) which exposes a Web Services interface (SOAP/HTTP) that emulates the commands between SESM and SSG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I did, I hope that it helps someone else:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-          Create a new com.cisco.sesm.wsg.common.Identity object named id. The Identity class is a simple bean generated from the WSDL file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-          Set the type of id to com.cisco.sesm.types.IdentityType.USER. WSG authenticates subscribers only by user id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-          Use the Identity bean setter method - setType&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-          Set id's principal with the value of the username variable. Use the Identity bean setter method &amp;#150; setPrincipal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then create a Credential array with the id bean and the password of the subscriber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, you can use the authenticate(java.lang.String hostkey, Credential[] credentials) method&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2005 06:29:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authentication-error-customizing-sesm/m-p/468166#M428989</guid>
      <dc:creator>carlosparra</dc:creator>
      <dc:date>2005-06-23T06:29:44Z</dc:date>
    </item>
  </channel>
</rss>

