more tooltips

This commit is contained in:
Bill Burke 2014-08-13 15:11:05 -04:00
parent 517a2b99d7
commit a14be592de
3 changed files with 26 additions and 17 deletions

View file

@ -6,7 +6,7 @@
</ul> </ul>
<h2></h2> <h2></h2>
<div id="content"> <div id="content">
<h2><span>{{realm.realm}}</span> Brute Force Protection Settings</h2> <h2><span>{{realm.realm}}</span> Brute Force Protection <span tooltip-placement="right" tooltip="Seeks to prevent hackers trying to guess passwords. It remembers failures and will lock out users that have too many failutres for a certain amount of time. WARNING: Vulnerable to denail of service attacks see docs for more details." class="pficon pficon-help"></span></h2>
<form class="form-horizontal" name="realmForm" novalidate kc-read-only="!access.manageRealm"> <form class="form-horizontal" name="realmForm" novalidate kc-read-only="!access.manageRealm">
<fieldset class="border-top"> <fieldset class="border-top">
<div class="form-group"> <div class="form-group">
@ -18,21 +18,22 @@
<div class="form-group" data-ng-show="realm.bruteForceProtected"> <div class="form-group" data-ng-show="realm.bruteForceProtected">
<label class="col-sm-2 control-label" for="failureFactor">Failure Factor</label> <label class="col-sm-2 control-label" for="failureFactor">Failure Factor</label>
<div class="col-sm-4"> <div class="col-sm-5">
<input class="form-control" type="number" min="1" max="31536000" id="failureFactor" name="failureFactor" data-ng-model="realm.failureFactor" autofocus <input class="form-control" type="number" min="1" max="31536000" id="failureFactor" name="failureFactor" data-ng-model="realm.failureFactor" autofocus
required> required>
</div> </div>
<span tooltip-placement="right" tooltip="How many failures before wait is triggered." class="pficon pficon-help"></span>
</div> </div>
<div class="form-group input-select" data-ng-show="realm.bruteForceProtected"> <div class="form-group input-select" data-ng-show="realm.bruteForceProtected">
<label class="col-sm-2 control-label" for="waitIncrement">Wait Increment</label> <label class="col-sm-2 control-label" for="waitIncrement">Wait Increment</label>
<div class="col-sm-10"> <div class="col-sm-5">
<div class="row"> <div class="row">
<div class="col-sm-2"> <div class="col-sm-4">
<input class="form-control" type="number" required min="1" <input class="form-control" type="number" required min="1"
max="31536000" data-ng-model="realm.waitIncrement" max="31536000" data-ng-model="realm.waitIncrement"
id="waitIncrement" name="waitIncrement"/> id="waitIncrement" name="waitIncrement"/>
</div> </div>
<div class="col-sm-2 select-kc"> <div class="col-sm-4 select-kc">
<select name="waitIncrementUnit" data-ng-model="realm.waitIncrementUnit" > <select name="waitIncrementUnit" data-ng-model="realm.waitIncrementUnit" >
<option data-ng-selected="!realm.waitIncrementUnit">Seconds</option> <option data-ng-selected="!realm.waitIncrementUnit">Seconds</option>
<option>Minutes</option> <option>Minutes</option>
@ -42,25 +43,27 @@
</div> </div>
</div> </div>
</div> </div>
<span tooltip-placement="right" tooltip="When failure threshold has been met, how much time should the user be locked out?" class="pficon pficon-help"></span>
</div> </div>
<div class="form-group" data-ng-show="realm.bruteForceProtected"> <div class="form-group" data-ng-show="realm.bruteForceProtected">
<label class="col-sm-2 control-label" for="quickLoginCheckMilliSeconds">Quick Login Check Milli Seconds</label> <label class="col-sm-2 control-label" for="quickLoginCheckMilliSeconds">Quick Login Check Milli Seconds</label>
<div class="col-sm-4"> <div class="col-sm-5">
<input class="form-control" type="number" min="1" max="31536000" id="quickLoginCheckMilliSeconds" name="quickLoginCheckMilliSeconds" data-ng-model="realm.quickLoginCheckMilliSeconds" autofocus <input class="form-control" type="number" min="1" max="31536000" id="quickLoginCheckMilliSeconds" name="quickLoginCheckMilliSeconds" data-ng-model="realm.quickLoginCheckMilliSeconds" autofocus
required> required>
</div> </div>
<span tooltip-placement="right" tooltip="If a failure happens concurrently too quickly, lock out the user." class="pficon pficon-help"></span>
</div> </div>
<div class="form-group input-select" data-ng-show="realm.bruteForceProtected"> <div class="form-group input-select" data-ng-show="realm.bruteForceProtected">
<label class="col-sm-2 control-label" for="minimumQuickLoginWait">Minimum Quick Login Wait</label> <label class="col-sm-2 control-label" for="minimumQuickLoginWait">Minimum Quick Login Wait</label>
<div class="col-sm-10"> <div class="col-sm-5">
<div class="row"> <div class="row">
<div class="col-sm-2"> <div class="col-sm-4">
<input class="form-control" type="number" required min="1" <input class="form-control" type="number" required min="1"
max="31536000" data-ng-model="realm.minimumQuickLoginWait" max="31536000" data-ng-model="realm.minimumQuickLoginWait"
id="minimumQuickLoginWait" name="minimumQuickLoginWait"/> id="minimumQuickLoginWait" name="minimumQuickLoginWait"/>
</div> </div>
<div class="col-sm-2 select-kc"> <div class="col-sm-4 select-kc">
<select name="minimumQuickLoginWaitUnit" data-ng-model="realm.minimumQuickLoginWaitUnit" > <select name="minimumQuickLoginWaitUnit" data-ng-model="realm.minimumQuickLoginWaitUnit" >
<option data-ng-selected="!realm.minimumQuickLoginWaitUnit">Seconds</option> <option data-ng-selected="!realm.minimumQuickLoginWaitUnit">Seconds</option>
<option>Minutes</option> <option>Minutes</option>
@ -70,17 +73,18 @@
</div> </div>
</div> </div>
</div> </div>
<span tooltip-placement="right" tooltip="How long to wait after a quick login failure." class="pficon pficon-help"></span>
</div> </div>
<div class="form-group input-select" data-ng-show="realm.bruteForceProtected"> <div class="form-group input-select" data-ng-show="realm.bruteForceProtected">
<label class="col-sm-2 control-label" for="maxFailureWait">Max Wait</label> <label class="col-sm-2 control-label" for="maxFailureWait">Max Wait</label>
<div class="col-sm-10"> <div class="col-sm-5">
<div class="row"> <div class="row">
<div class="col-sm-2"> <div class="col-sm-4">
<input class="form-control" type="number" required min="1" <input class="form-control" type="number" required min="1"
max="31536000" data-ng-model="realm.maxFailureWait" max="31536000" data-ng-model="realm.maxFailureWait"
id="maxFailureWait" name="maxFailureWait"/> id="maxFailureWait" name="maxFailureWait"/>
</div> </div>
<div class="col-sm-2 select-kc"> <div class="col-sm-4 select-kc">
<select name="maxFailureWaitUnit" data-ng-model="realm.maxFailureWaitUnit" > <select name="maxFailureWaitUnit" data-ng-model="realm.maxFailureWaitUnit" >
<option data-ng-selected="!realm.maxFailureWaitUnit">Seconds</option> <option data-ng-selected="!realm.maxFailureWaitUnit">Seconds</option>
<option>Minutes</option> <option>Minutes</option>
@ -90,17 +94,18 @@
</div> </div>
</div> </div>
</div> </div>
<span tooltip-placement="right" tooltip="Max time a user will be locked out." class="pficon pficon-help"></span>
</div> </div>
<div class="form-group input-select" data-ng-show="realm.bruteForceProtected"> <div class="form-group input-select" data-ng-show="realm.bruteForceProtected">
<label class="col-sm-2 control-label" for="maxDeltaTime">Failure Reset Time</label> <label class="col-sm-2 control-label" for="maxDeltaTime">Failure Reset Time</label>
<div class="col-sm-10"> <div class="col-sm-5">
<div class="row"> <div class="row">
<div class="col-sm-2"> <div class="col-sm-4">
<input class="form-control" type="number" required min="1" <input class="form-control" type="number" required min="1"
max="31536000" data-ng-model="realm.maxDeltaTime" max="31536000" data-ng-model="realm.maxDeltaTime"
id="maxDeltaTime" name="maxDeltaTime"/> id="maxDeltaTime" name="maxDeltaTime"/>
</div> </div>
<div class="col-sm-2 select-kc"> <div class="col-sm-4 select-kc">
<select name="maxDeltaTimeUnit" data-ng-model="realm.maxDeltaTimeUnit" > <select name="maxDeltaTimeUnit" data-ng-model="realm.maxDeltaTimeUnit" >
<option data-ng-selected="!realm.maxDeltaTimeUnit">Seconds</option> <option data-ng-selected="!realm.maxDeltaTimeUnit">Seconds</option>
<option>Minutes</option> <option>Minutes</option>
@ -110,6 +115,7 @@
</div> </div>
</div> </div>
</div> </div>
<span tooltip-placement="right" tooltip="When will failure count be reset?" class="pficon pficon-help"></span>
</div> </div>
</fieldset> </fieldset>
<div class="pull-right form-actions" data-ng-show="access.manageRealm"> <div class="pull-right form-actions" data-ng-show="access.manageRealm">

View file

@ -7,7 +7,7 @@
<h2></h2> <h2></h2>
<div id="content"> <div id="content">
<div data-ng-show="access.viewRealm"> <div data-ng-show="access.viewRealm">
<h2><span>{{realm.realm}}</span> Browser Security Headers</h2> <h2><span>{{realm.realm}}</span> Browser Security Headers <span tooltip-placement="right" tooltip="HTTP Response header values that you can set to help prevent clickjacking and XSS attacks." class="pficon pficon-help"></span></h2>
<form class="form-horizontal" name="realmForm" novalidate kc-read-only="!access.manageRealm"> <form class="form-horizontal" name="realmForm" novalidate kc-read-only="!access.manageRealm">
<fieldset class="border-top"> <fieldset class="border-top">
<div class="form-group"> <div class="form-group">
@ -15,12 +15,14 @@
<div class="col-sm-6"> <div class="col-sm-6">
<input class="form-control" id="xFrameOptions" type="text" ng-model="realm.browserSecurityHeaders.xFrameOptions"> <input class="form-control" id="xFrameOptions" type="text" ng-model="realm.browserSecurityHeaders.xFrameOptions">
</div> </div>
<span tooltip-placement="right" tooltip="Click on label link for more information. The default value prevents pages from being included via non-origin iframes." class="pficon pficon-help"></span>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-2 control-label" for="contentSecurityPolicy"><a href="http://www.w3.org/TR/CSP/">Content-Security-Policy</a></label> <label class="col-sm-2 control-label" for="contentSecurityPolicy"><a href="http://www.w3.org/TR/CSP/">Content-Security-Policy</a></label>
<div class="col-sm-6"> <div class="col-sm-6">
<input class="form-control" id="contentSecurityPolicy" type="text" ng-model="realm.browserSecurityHeaders.contentSecurityPolicy"> <input class="form-control" id="contentSecurityPolicy" type="text" ng-model="realm.browserSecurityHeaders.contentSecurityPolicy">
</div> </div>
<span tooltip-placement="right" tooltip="Click on label link for more information. The default value prevents pages from being included via non-origin iframes." class="pficon pficon-help"></span>
</div> </div>
</fieldset> </fieldset>
<div class="pull-right form-actions" data-ng-show="access.manageRealm"> <div class="pull-right form-actions" data-ng-show="access.manageRealm">

View file

@ -15,6 +15,7 @@
<div class="col-sm-4"> <div class="col-sm-4">
<input ng-disabled="true" class="form-control" type="text" id="notBefore" name="notBefore" data-ng-model="notBefore" autofocus> <input ng-disabled="true" class="form-control" type="text" id="notBefore" name="notBefore" data-ng-model="notBefore" autofocus>
</div> </div>
<span tooltip-placement="right" tooltip="Revoke any tokens issued before this date." class="pficon pficon-help"></span>
</div> </div>
</fieldset> </fieldset>
<div class="pull-right form-actions" data-ng-show="access.manageApplications"> <div class="pull-right form-actions" data-ng-show="access.manageApplications">
@ -22,7 +23,7 @@
</button> </button>
<button type="submit" data-ng-click="setNotBeforeNow()" class="btn btn-primary btn-lg">Set To Now <button type="submit" data-ng-click="setNotBeforeNow()" class="btn btn-primary btn-lg">Set To Now
</button> </button>
<button type="submit" data-ng-click="pushRevocation()" class="btn btn-primary btn-lg">Push <button type="submit" data-ng-click="pushRevocation()" class="btn btn-primary btn-lg" tooltip="For every application that has an admin URL, notify them of the new revocation policy." tooltip-placement="bottom">Push
</button> </button>
</div> </div>
</form> </form>