public void addSiteFormAuthenticated(String siteName, String siteUrl, String realm, String userField, String pwdField)
throws SSOException
{
try
{
SSOSite ssoSite = new SSOSiteImpl();
ssoSite.setSiteURL(siteUrl);
ssoSite.setName(siteName);
ssoSite.setCertificateRequired(false);
ssoSite.setAllowUserSet(true);
ssoSite.setRealm(realm);
ssoSite.setFormAuthentication(true);
ssoSite.setFormUserField(userField);
ssoSite.setFormPwdField(pwdField);
getPersistenceBrokerTemplate().store(ssoSite);
this.mapSite.put(siteName, ssoSite);
}
catch (Exception e)
{