コード例 #1
0
 /**
  * @param spDto
  * @return
  * @throws IdentityException
  */
 public boolean addRPServiceProvider(SAMLSSOServiceProviderDTO spDto) throws IdentityException {
   SAMLSSOConfigAdmin configAdmin = new SAMLSSOConfigAdmin(getConfigSystemRegistry());
   return configAdmin.addRelyingPartyServiceProvider(spDto);
 }
コード例 #2
0
 /**
  * @return
  * @throws IdentityException
  */
 public SAMLSSOServiceProviderInfoDTO getServiceProviders() throws IdentityException {
   SAMLSSOConfigAdmin configAdmin = new SAMLSSOConfigAdmin(getConfigSystemRegistry());
   return configAdmin.getServiceProviders();
 }
コード例 #3
0
 /**
  * @param issuer
  * @return
  * @throws IdentityException
  */
 public boolean removeServiceProvider(String issuer) throws IdentityException {
   SAMLSSOConfigAdmin ssoConfigAdmin = new SAMLSSOConfigAdmin(getConfigSystemRegistry());
   return ssoConfigAdmin.removeServiceProvider(issuer);
 }