Package org.wso2.carbon.identity.base

Examples of org.wso2.carbon.identity.base.IdentityException


          }
        }
      }
    } catch (MessageException e) {
      log.error("Failed to create message extension for PAPE", e);
      throw new IdentityException("Failed to create message extension for PAPE", e);
    }

    return papeResponse;
  }
View Full Code Here


                }
            }
            return null;
        } catch (MessageException e) {
            log.error("Failed retreive authenrtication policies", e);
            throw new IdentityException("Failed retreive authenrtication policies", e);
        }
    }
View Full Code Here

            ssoSessionPersistenceManager.removeSession(sessionId, issuer);
            return reqValidationResponseDTO;
        } catch (Exception e) {
            log.error("Error Processing the Logout Request", e);
            throw new IdentityException("Error Processing the Logout Request", e);
        }
    }
View Full Code Here

                }
            }
            return map;

        } catch (Exception e) {
            throw new IdentityException(e.getLocalizedMessage(), e);
        }
    }
View Full Code Here

            registry.put(path, resource);
            registry.addAssociation(RegistryConstants.PROFILES_PATH  + rp.getUserId(),path,
            IdentityRegistryResources.ASSOCIATION_USER_TRUSTED_RP);
        } catch (RegistryException e) {
            log.error("Error while creating or updating user trusted relying party", e);
            throw new IdentityException(
                    "Error while creating or updating user trusted relying party", e);
        }
    }
View Full Code Here

            } else {
                return null;
            }
        } catch (RegistryException e) {
            log.error("Error while retreiving user trusted relying party", e);
            throw new IdentityException("Error while retreiving user trusted relying party", e);
        }
    }
View Full Code Here

            if (registry.resourceExists(path)) {
                registry.delete(path);
            }
        } catch (RegistryException e) {
            log.error("Error while removing user trusted relying party", e);
            throw new IdentityException("Error while removing user trusted relying party", e);
        }
    }
View Full Code Here

      resource.addProperty(IdentityRegistryResources.PROP_HOST_NAME, rp.getHostName());
      registry.put(path, resource);

    } catch (RegistryException e) {
      log.error("Error while creating or updating globally trusted relying party", e);
      throw new IdentityException(
          "Error while creating or updating globally trusted relying party", e);
    }
  }
View Full Code Here

      } else {
        return null;
      }
    } catch (RegistryException e) {
      log.error("Error while retreiving globally trusted relying party", e);
      throw new IdentityException("Error while retreiving globally trusted relying party", e);
    }
  }
View Full Code Here

      if (registry.resourceExists(path)) {
        registry.delete(path);
      }
    } catch (RegistryException e) {
      log.error("Error while removing globally trusted relying party", e);
      throw new IdentityException("Error while removing globally trusted relying party", e);
    }
  }
View Full Code Here

TOP

Related Classes of org.wso2.carbon.identity.base.IdentityException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.