Topic
  • No replies
SystemAdmin
SystemAdmin
6772 Posts

Pinned topic limit users access and display last login

‏2013-01-22T14:57:18Z |
I'm configuring security on datapower xi52, do anyone knows how I could limit users sessions, and also for the appliance to display last login notification when users login.

Also I have this script for a pre/post banner display and classification marking, but I'm getting error on the form, does any one know how I can fix this script to work.

######################script#########################################################################

<User-Interface
xmlns="http://www.datapower.com/schemas/user-interface/1.0">
<!-- Markup messages DoD warning Banner for the WebGUI interface -->
<MarkupBanner type="pre-login"
foreground-color=“yellow"
background-color="blue">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
<title>WHO WE ARE</title>
<style type="text/css">
ul,ol {text-align: left;}
li {list-style-type: circle; padding-top: 15px;}
.subcontent {width: 500px; margin: 0 auto;}
.domainName {color: Green; font-weight: bold;}
</style>
<script type="text/javascript">
function closePage() {
createCookie("TOU", "ACCEPTED");
window.close();
//window.frameElement.commitPopup();
}

function createCookie(name, value) {
var expires = "";
document.cookie = name + "=" + value + expires + "; path=/";
}
</script>
</head>
<body style="text-align: center;">

BANNER MESSAGE.

:

<input type="submit" name="btnAccept" value="I Accept" onclick="closePage();" id="btnAccept" title="Click to accept the Terms of Use" style="width:200px;" />

</body>
</html>
</MarkupBanner>
<MarkupBanner type="system-banner" location="header" foreground-color="green" background-color="red">
SENSITIVE
</MarkupBanner>
<MarkupBanner type="system-banner" location="footer" foreground-color="green" background-color="red">
SENSITIVE
</MarkupBanner>

<User-Interface>