/** * @param spDto * @return * @throws IdentityException */ public boolean addRPServiceProvider(SAMLSSOServiceProviderDTO spDto) throws IdentityException { SAMLSSOConfigAdmin configAdmin = new SAMLSSOConfigAdmin(getConfigSystemRegistry()); return configAdmin.addRelyingPartyServiceProvider(spDto); }
/** * @return * @throws IdentityException */ public SAMLSSOServiceProviderInfoDTO getServiceProviders() throws IdentityException { SAMLSSOConfigAdmin configAdmin = new SAMLSSOConfigAdmin(getConfigSystemRegistry()); return configAdmin.getServiceProviders(); }
/** * @param issuer * @return * @throws IdentityException */ public boolean removeServiceProvider(String issuer) throws IdentityException { SAMLSSOConfigAdmin ssoConfigAdmin = new SAMLSSOConfigAdmin(getConfigSystemRegistry()); return ssoConfigAdmin.removeServiceProvider(issuer); }