Update Privilege
PUT/updatePrivilege
This API updates an endpoint in EIC. The Authorization must have a Bearer followed by a Token. Mandatory parameters: • Endpoint • Securitysystem • Entitlementtype • attributename Optional parameters: • attributetype((BOOLEAN/NUMBER/STRING/ENUM/MULTIPLE SELECT FROM LIST/MULTIPLE SELECT FROM SQL QUERY/SINGLE SELECT FROM SQL QUERY/PASSWORD/LARGE TEXT/CHECK BOX/DATE)), • orderindex, • defaultvalues, • attributeconfig(entitlement-based/user-based), • label, • attributegroup, • parentattribute, • childaction, • description, • actionstring, • required(true/false), • requestable(true/false), • hideoncreate(true/false), • hideonupdate(true/false)
Request
- application/json
Body
any
Responses
- 200
Update Privilege
Response Headers
Access-Control-Allow-Credentials
string
Access-Control-Allow-Origin
string
Cache-Control
string
Content-Language
string
Content-Security-Policy
string
Date
string
Expires
string
Permissions-Policy
string
Referrer-Policy
string
Strict-Transport-Security
string
X-Content-Type-Options
string
- text/plain
- Schema
- Update Privilege
Schema
any
<!DOCTYPE html>
<!--[if IE 8]>
<html lang="en" class="ie8 no-js">
<![endif]-->
<!--[if IE 9]>
<html lang="en" class="ie9 no-js">
<![endif]-->
<!--[if !IE]>
<!-->
<html lang="en" class="no-js">
<!--
<![endif]-->
<!-- BEGIN HEAD -->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8"/>
<title>Saviynt Security Manager Login</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<meta name="MobileOptimized" content="320">
<!-- BEGIN CORE PLUGINS -->
<!--[if lt IE 9]>
<script src="/ECM/assets/plugins/excanvas.min.js"></script>
<script src="/ECM/assets/plugins/respond.min.js"></script>
<![endif]-->
<script src="/ECM/assets/plugins/jquery-1.12.4.min.js" type="text/javascript"></script>
<script src="/ECM/assets/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/ECM/assets/plugins/jquery-ui/jquery-ui.js"></script>
<script src="/ECM/assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/ECM/assets/plugins/bootstrap-hover-dropdown/twitter-bootstrap-hover-dropdown.min.js"
type="text/javascript"></script>
<script src="/ECM/assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js"
type="text/javascript"></script>
<script src="/ECM/assets/plugins/jquery-slimscroll/jquery.slimscrollHorizontal.js"
type="text/javascript"></script>
<script src="/ECM/assets/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="/ECM/assets/plugins/jquery.cookie.min.js" type="text/javascript"></script>
<script src="/ECM/assets/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script src="/ECM/assets/plugins/bootbox.js" type="text/javascript"></script>
<link href="/ECM/assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet"
type="text/css"/>
<link href="/ECM/assets/plugins/bootstrap-modal/css/bootstrap-modal.css" rel="stylesheet"
type="text/css"/>
<link href="/ECM/assets/plugins/bootstrap-modal/css/bootstrap-modal-bs3patch.css"
rel="stylesheet" type="text/css"/>
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="/ECM/assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet"
type="text/css"/>
<link href="/ECM/assets/plugins/uniform/css/uniform.default.css" rel="stylesheet"
type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL STYLES -->
<link rel="stylesheet" type="text/css" href="/ECM/assets/plugins/select2/select2_metro.css"/>
<!-- END PAGE LEVEL SCRIPTS -->
<!-- BEGIN THEME STYLES -->
<link href="/ECM/assets/css/style-metronic.css" rel="stylesheet" type="text/css"/>
<link href="/ECM/assets/css/style.css" rel="stylesheet" type="text/css"/>
<link href="/ECM/assets/css/style-responsive.css" rel="stylesheet" type="text/css"/>
<link href="/ECM/assets/css/plugins.css" rel="stylesheet" type="text/css"/>
<link href="/ECM/assets/css/themes/default.css" rel="stylesheet" type="text/css"
id="style_color"/>
<link href="/ECM/assets/css/pages/login-soft.css" rel="stylesheet" type="text/css"/>
<link href="/ECM/assets/css/custom.css" rel="stylesheet" type="text/css"/>
<!-- END THEME STYLES -->
<!DOCTYPE html>
<link rel="shortcut icon" type="image/jpg" href="/ECMv6/api/idw/resource/image/app/title.png"/>
<style type="text/css">
.redborder {
border: 1px solid red;
}
.normborder {
border: 1px solid #e5e5e5;
}
.footer{
position: absolute;
left: 0;
right: 0;
bottom: 0;
}
.login-footer {
position: absolute;
bottom: 0;
width: 100%;
padding-bottom: 10px;
}
.login-footer .login-copyright {
padding-left: 0;
margin-top: 6px;
}
.login-footer .login-copyright > p {
margin: 0;
font-size: 13px;
color: #000000;
}
.select2-container .select2-choice{
border: 1px solid #e5e5e5 !important;
}
.select2-container-active .select2-choice{
border: 1px solid #e5e5e5 !important;
}
</style>
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="login">
<div class="user-login">
<div class="row bs-reset">
<div class="col-md-7 bs-reset mt-login-bsfix">
<!DOCTYPE html>
<div class="login-bg" style="background-image: url('/ECMv6/api/idw/resource/image/app/bg1.jpg')">
<img class="login-logo" src="/ECMv6/api/idw/resource/image/app/SaviyntR_White-Original.png" alt="Saviynt" height="40"/>
</div>
</div>
<div class="col-md-5 login-container">
<div class="col-md-9 col-lg-8 login-content loginclass" style="">
<h1>Sign in</h1>
<!-- BEGIN LOGIN FORM -->
<form class="login-form" action='/ECM/j_spring_security_check' method="post">
<div class="alert alert-danger display-hide">
<button class="close" data-close="alert"></button>
<span>Enter Username And Password
</span>
</div>
<div class="form-label-group">
<span class="icon-placeholder">
<svg data-name="user" width="14px" height="15px" viewBox="0 0 14 15.57" fill="#e9ebf2">
<g>
<path d="M7 7.44a3.72 3.72 0 1 0-3.73-3.72A3.73 3.73 0 0 0 7 7.44zM10.63 8.3a2.82 2.82 0 0 0-2.37.11 3.94 3.94 0 0 1-1.28.3 3.94 3.94 0 0 1-1.29-.33 2.86 2.86 0 0 0-2.39-.11C1.14 9.48-.01 11.8-.01 14.99v.55h14v-.55c-.01-3.17-1.16-5.5-3.36-6.69z"></path>
</g>
</svg>
</span>
<input class="form-control form-control-solid placeholder-no-fix" id="username" type="text" autocomplete="off" placeholder="Username" onkeypress="if (event.keyCode == 13) {document.forms[0].submit();}" name="j_username"/>
<span id="blankusername" class="älert alert-danger"></span>
</div>
<div class="form-label-group">
<span class="icon-placeholder">
<svg data-name="key" width="14px" height="14px" viewBox="0 0 14 13.96">
<path d="M5.23 6.59a3.82 3.82 0 1 0 1.29 6.25 3.78 3.78 0 0 0 .87-4l1-1 .31-1.82 1.73-.3.3-.3.27-1.69 1.73-.3L14 2.2V.02h-2.2zM3.6 11.65a.87.87 0 1 1 0-1.23.86.86 0 0 1 0 1.23z" fill="#e9ebf2"></path>
</svg>
</span>
<input class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="Password" onkeypress="if (event.keyCode == 13) {document.forms[0].submit();}"
name="j_password"/>
</div>
<div class="row">
<div class="col-sm-12 text-right">
<div class="forgot-password">
<a href="javascript: submitForm('/ECM/maintenance/forgotpassword')">
Forgot your password?</a>
</div>
<button class="btn blue" type="submit" onclick="showSpinner();">
Login
</button>
</div>
</div>
</if>
</form>
</div>
<div class="login-footer footer">
<div class="row bs-reset">
<div class="col-xs-12 bs-reset">
<div class="login-copyright text-right">
<p style="color:black"> Saviynt veic-trunk, © Copyright 2023, Saviynt All Rights Reserved. Use is subject to license terms. </p>
<br>
<a href="" data-toggle="modal" type="button" id="showSendRequestForm" onclick="showSendNewRequestForm()">
<i class="icon-envelope"></i>
Support Request
</a>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END LOGIN -->
<script src="/ECM/assets/plugins/backstretch/jquery.backstretch.min.js"
type="text/javascript"></script>
<script type="text/javascript" src="/ECM/assets/plugins/select2/select2.min.js"></script>
<script src="/ECM/assets/plugins/bootstrap-modal/js/bootstrap-modalmanager.js" type="text/javascript"></script>
<script src="/ECM/assets/plugins/bootstrap-modal/js/bootstrap-modal.js" type="text/javascript"></script>
<script src="/ECM/assets/plugins/backstretch/jquery.backstretch.min.js" type="text/javascript"></script>
<script src="/ECM/assets/scripts/app.js" type="text/javascript"></script>
<script src="/ECM/assets/scripts/login-soft.js" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script type="text/javascript">
jQuery(document).ready(function () {
// $('.login-bg').backstretch([
// "../images/bg1.jpg",
// "../images/bg2.jpg",
// "../images/bg3.jpg",
// "../images/bg4.jpg",
// "../images/bg5.jpg",
// "../images/bg6.jpg",
// "../images/bg7.jpg",
// "../images/bg8.jpg",
// "../images/bg9.jpg"
// ], {
// fade: 1000,
// duration: 8000
// }
// );
const isNewUISet="true"
App.loadCarousel(isNewUISet);
App.init();
Login.init();
});
$('#selecteddomain').select2();
function ajaxLoader(el, options) {
// Becomes this.options
var defaults = {
bgColor:'#fff',
duration:800,
opacity:0.7,
classOveride:false
}
this.options = jQuery.extend(defaults, options);
this.container = $(el);
this.init = function () {
var container = this.container;
// Delete any other loaders
this.remove();
$("#newspinner").css("display", "block");
// Create the overlay
var overlay = $('
<div></div>').css({
'background-color':this.options.bgColor,
'opacity':this.options.opacity,
'width':container.width(),
'height':container.height(),
'position':'absolute',
'top':'0px',
'left':'0px',
'z-index':99999
}).addClass('ajax_overlay');
// add an overiding class name to set new loader style
if (this.options.classOveride) {
overlay.addClass(this.options.classOveride);
}
// insert overlay and loader into DOM
container.append(
overlay.append(
$('
<div></div>').addClass('ajax_loader')
).fadeIn(this.options.duration)
);
};
this.remove = function () {
var overlay = this.container.children(".ajax_overlay");
if (overlay.length) {
overlay.fadeOut(this.options.classOveride, function () {
overlay.remove();
document.getElementById('newspinner').style.display = 'none'
});
}
}
this.init();
}
var box1;
function showSpinner() {
box1 = new ajaxLoader(document.getElementById('newspinner'));
}
function hideSpinner() {
if (box1 == null) {
}
else {
box1.remove();
}
}
function showSendNewRequestForm() {
completepath = "/ECM/maintenance/showSendNewRequestForm";
$('.opened-dialogs').dialog("close");
$('
<div class="opened-dialogs">').html('loading...').dialog({
position: ['center',25],
open: function () {
$(this).load(completepath);
$('.ui-widget-overlay').css('background', 'black'); //write background color change code here
},
close: function(event, ui) {
$(this).remove();
},
title:'',
minWidth: 600,
modal: true,
draggable: false,
resizable: false,
show: {effect: 'fade'},
hide: {effect: 'fade'},
width: 400,
dialogClass: 'ui-dialog-osx'
});
}
function handleSubmit(obj) {
var proceed = true;
if (document.getElementById('firstName').value == '') {
$('#firstName').removeClass("normborder");
$('#firstName').addClass('redborder');
document.getElementById('blankfirstname').innerHTML = 'First Name cannot be blank';
proceed = false;
}
else {
$('#firstName').removeClass("redborder");
$('#firstName').addClass('normborder');
document.getElementById('blankfirstname').innerHTML = ''
}
if (document.getElementById('lastName').value == '') {
$('#lastName').removeClass("normborder");
$('#lastName').addClass('redborder');
document.getElementById('blanklastname').innerHTML = 'Last Name cannot be blank';
proceed = false;
}
else {
$('#lastName').removeClass("redborder");
$('#lastName').addClass('normborder');
document.getElementById('blanklastname').innerHTML = ''
}
if (document.getElementById('email').value == '') {
$('#email').removeClass("normborder");
$('#email').addClass('redborder');
document.getElementById('invalidemail').innerHTML = 'Email cannot be blank';
proceed = false;
}
else {
var email = document.getElementById('email').value;
var atpos = email.indexOf("@");
var dotpos = email.lastIndexOf(".");
if (atpos
<1 || dotpos
<atpos+2 || dotpos+2>=email.length) {
$('#email').removeClass("normborder");
$('#email').addClass('redborder');
document.getElementById('invalidemail').innerHTML = 'Email is not valid';
proceed = false;
} else {
$('#email').removeClass("redborder");
$('#email').addClass('normborder');
document.getElementById('invalidemail').innerHTML = ''
}
}
if (document.getElementById('company').value == '') {
$('#company').removeClass("normborder");
$('#company').addClass('redborder');
document.getElementById('blankcompany').innerHTML = 'Company cannot be blank';
proceed = false;
}
else {
$('#company').removeClass("redborder");
$('#company').addClass('normborder');
document.getElementById('blankcompany').innerHTML = ''
}
if (document.getElementById('phoneNumber').value == '') {
$('#phoneNumber').removeClass("normborder");
$('#phoneNumber').addClass('redborder');
document.getElementById('invalidphonenubmer').innerHTML = 'Phone Number cannot be blank';
proceed = false;
}
else {
$('#phoneNumber').removeClass("redborder");
$('#phoneNumber').addClass('normborder');
document.getElementById('invalidphonenubmer').innerHTML = ''
}
if (document.getElementById('description').value == '') {
$('#description').removeClass("normborder");
$('#description').addClass('redborder');
document.getElementById('blankdescription').innerHTML = 'Comments cannot be blank';
proceed = false;
}
else {
$('#description').removeClass("redborder");
$('#description').addClass('normborder');
document.getElementById('blankdescription').innerHTML = ''
}
//SD-1727 captcha condition check
var validate=false
validate=captchaValidation()
if(validate==false){
document.getElementById('blankCaptcha').innerHTML = 'Captcha cannot be blank or check your internet connectivity'
proceed= false
}else{
document.getElementById('blankCaptcha').innerHTML = ''
}
if (proceed == true){
obj.form.submit();
} else {
return false;
}
}
function submitForm() {
var form = $(document.createElement('form'));
$(form).attr("action", "/ECM/maintenance/forgotpassword");
$(form).attr("method", "POST");
var username = document.createElement('input')
$(username).attr("type", "text")
$(username).attr("name", "username")
$(username).val($('#username').val());
$(form).append($(username));
form.appendTo( document.body );
$(form).submit();
}
function processlogins() {
var usernameval = document.getElementById('domainusernameid').value
var selecteddomainvalue = document.getElementById('selecteddomain').value
if(!!usernameval.trim() == '' && !!selecteddomainvalue.trim() == "") {
alert('Please enter either username or select correct domain')
return false
} else {
document.forms.processlogin.submit()
}
//document.forms
}
function displayLocalLogin(){
document.getElementById("localLogin").style.display="block";
}
var searchingselect="Searching..."
</script>
<!-- END JAVASCRIPTS -->
<div class="box-1" id="newspinner" style="display: none">
</div>
</body>
</html>