-
<script id=«wpcp_disable_selection» type=«text/javascript»>
-
//<![CDATA[
-
var image_save_msg=’You Can Not Save images!’;
-
var no_menu_msg=’Context Menu disabled!’;
-
var smessage = «Content is protected !!»;
-
function disableEnterKey(e){
-
if (e.ctrlKey){
-
var key;
-
if(window.event)
-
key = window.event.keyCode; //IE
-
else
-
key = e.which; //firefox (97)
-
//if (key != 17) alert(key);
-
if (key == 97 || key == 65 || key == 67 || key == 99 || key == 88 || key == 120 || key == 26 || key == 85 || key == 86 || key == 83 || key == 43)
-
{
-
show_wpcp_message(‘You are not allowed to copy content or view source’);
-
return false;
-
}else
-
return true;
-
}
-
}
-
function disable_copy(e){
-
var elemtype = e.target.nodeName;
-
var isSafari = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor);
-
elemtype = elemtype.toUpperCase();
-
var checker_IMG = »;
-
if (elemtype == «IMG» && checker_IMG == ‘checked’ && e.detail >= 2) {show_wpcp_message(alertMsg_IMG);return false;}
-
if (elemtype != «TEXT» && elemtype != «TEXTAREA» && elemtype != «INPUT» && elemtype != «PASSWORD» && elemtype != «SELECT» && elemtype != «OPTION» && elemtype != «EMBED»)
-
{
-
if (smessage !== «» && e.detail == 2)
-
show_wpcp_message(smessage);
-
if (isSafari)
-
return true;
-
else
-
return false;
-
}
-
}
-
function disable_copy_ie(){
-
var elemtype = window.event.srcElement.nodeName;
-
elemtype = elemtype.toUpperCase();
-
if (elemtype == «IMG») {show_wpcp_message(alertMsg_IMG);return false;}
-
if (elemtype != «TEXT» && elemtype != «TEXTAREA» && elemtype != «INPUT» && elemtype != «PASSWORD» && elemtype != «SELECT» && elemtype != «OPTION» && elemtype != «EMBED»)
-
{
-
//alert(navigator.userAgent.indexOf(‘MSIE’));
-
//if (smessage !== «») show_wpcp_message(smessage);
-
return false;
-
}
-
}
-
function reEnable(){
-
return true;
-
}
-
document.onkeydown = disableEnterKey;
-
document.onselectstart = disable_copy_ie;
-
if(navigator.userAgent.indexOf(‘MSIE’)==-1){
-
document.onmousedown = disable_copy;
-
document.onclick = reEnable;
-
}
-
function disableSelection(target){
-
//For IE This code will work
-
if (typeof target.onselectstart!=»undefined»)
-
target.onselectstart = disable_copy_ie;
-
//For Firefox This code will work
-
else if (typeof target.style.MozUserSelect!=»undefined»)
-
{target.style.MozUserSelect=»none»;}
-
//All other (ie: Opera) This code will work
-
else
-
target.onmousedown=function(){return false}
-
target.style.cursor = «default»;
-
}
-
//Calling the JS function directly just after body load
-
window.onload = function(){disableSelection(document.body);};
-
//]]>
-
</script>
-
<script id=«wpcp_disable_Right_Click» type=«text/javascript»>
-
//<![CDATA[
-
document.ondragstart = function() { return false;}
-
/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
Disable context menu on images by GreenLava Version 1.0
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
-
function nocontext(e) {
-
return false;
-
}
-
document.oncontextmenu = nocontext;
-
//]]>
-
</script>
-
<style>
-
.unselectable {
-
-moz-user-select:none;
-
-webkit-user-select:none;
-
cursor: default;
-
}
-
html{
-
-webkit-touch-callout: none;
-
-webkit-user-select: none;
-
-khtml-user-select: none;
-
-moz-user-select: none;
-
-ms-user-select: none;
-
user-select: none;
-
-webkit-tap-highlight-color: rgba(0,0,0,0);
-
}
-
</style>
-
<script id=«wpcp_css_disable_selection» type=«text/javascript»>
-
var e = document.getElementsByTagName(‘body’)[0];
-
if(e) {
-
e.setAttribute(‘unselectable’,on);
-
}
-
</script>
-
<div id=«wpcp-error-message» class=«msgmsg-box-wpcp warning-wpcp hideme»><span>error: </span>Content is protected !!</div>
-
<script>
-
var timeout_result;
-
function show_wpcp_message(smessage)
-
{
-
if (smessage !== «»)
-
{
-
var smessage_text = ‘<span>Alert: </span>‘+smessage;
-
document.getElementById(«wpcp-error-message»).innerHTML = smessage_text;
-
document.getElementById(«wpcp-error-message»).className = «msgmsg-box-wpcp warning-wpcp showme»;
-
clearTimeout(timeout_result);
-
timeout_result = setTimeout(hide_message, 3000);
-
}
-
}
-
function hide_message()
-
{
-
document.getElementById(«wpcp-error-message»).className = «msgmsg-box-wpcp warning-wpcp hideme»;
-
}
-
</script>
-
<style type=«text/css»>
-
#wpcp-error-message {
-
direction: ltr;
-
text-align: center;
-
transition: opacity 900ms ease 0s;
-
z-index: 99999999;
-
}
-
.hideme {
-
opacity:0;
-
visibility: hidden;
-
}
-
.showme {
-
opacity:1;
-
visibility: visible;
-
}
-
.msgmsg-box-wpcp {
-
border-radius: 10px;
-
color: #555;
-
font-family: Tahoma;
-
font-size: 11px;
-
margin: 10px;
-
padding: 10px 36px;
-
position: fixed;
-
width: 255px;
-
top: 50%;
-
left: 50%;
-
margin-top: -10px;
-
margin-left: -130px;
-
-webkit-box-shadow: 0px 0px 34px 2px rgba(242,191,191,1);
-
-moz-box-shadow: 0px 0px 34px 2px rgba(242,191,191,1);
-
box-shadow: 0px 0px 34px 2px rgba(242,191,191,1);
-
}
-
.msgmsg-box-wpcp span {
-
font-weight:bold;
-
text-transform:uppercase;
-
}
-
.error-wpcp { background:#ffecec url(‘http://www.urbane.co.id/wp-content/plugins/wp-content-copy-protector/images/error.png’) no-repeat 10px 50%;
-
border:1px solid #f5aca6;
-
}
-
.success {
-
background:#e9ffd9 url(‘http://www.urbane.co.id/wp-content/plugins/wp-content-copy-protector/images/success.png’) no-repeat 10px 50%;
-
border:1px solid #a6ca8a;
-
}
-
.warning-wpcp {
-
background:#ffecec url(‘http://www.urbane.co.id/wp-content/plugins/wp-content-copy-protector/images/warning.png’) no-repeat 10px 50%;
-
border:1px solid #f5aca6;
-
}
-
.notice {
-
background:#e3f7fc url(‘http://www.urbane.co.id/wp-content/plugins/wp-content-copy-protector/images/notice.png’) no-repeat 10px 50%;
-
border:1px solid #8ed9f6;
-
}
-
</style>
Nikolai Iordanov
unread,
Jan 3, 2004, 8:53:30 PM1/3/04
to
After enable-security-ldap on WPS 5.0, using Domino 5.0.12 for LDAP and DB2
instead of cloudspace
all Content Publising pages give Error 403: AuthorizationFailed, when logged
in as wpsadmin.
Restarted servers, can login in to the Admin Console, SSO works fine and all
other pages including Documents are working.
Does anyone know how to solve it ?
Should LDAP look aside be enabled?
The WPCP Users, Project Lead, Domain Expert, WPCP Admins, Content
Contrubutor, Content Publisher gourps also disappeared, should they be
recreated in LDAP?
Did a serch on the support website and new group but could not find how to
resolve it.
In Log Analyser the only clue is:
RecordId: Rec_268
ComponentId: Application Server
ProcessId: 1976
ThreadId: 55732350
SourceId: com.ibm.ws.security.web.WebCollaborator
ClassName:
MethodName:
Manufacturer: IBM
Product: WebSphere
Version: Platform 5.0 [BASE 5.0.1 ptf1M0314.04] [PME 5.0.1
ptf10316.01]
ServerName: hostnamehostnameWebSphere_Portal
TimeStamp: 1/3/2004 16:14:34.875000000
UnitOfWork:
Severity: 3
Category: AUDIT
PrimaryMessage: SECJ0129E: Authorization failed for wpsadmin while invoking
GET on default_host:/wps/PA_1_0_4J/main/index_main.jsp, Authorization
failed, Not granted any of the required roles: All Role
ExtendedMessage:
RawData:
Regards,
Nikolai
Bill
unread,
Jan 5, 2004, 9:05:32 PM1/5/04
to
Nikolai,
I had the same error. This is direclty from IBM Portal Level 2
support:
«This is a common problem that I’ve seen with people who enable
security for their WAS/Portal Setups. The problem comes from Portal
creating the EAR file structure, and not including security mappings
for the authorportlets. Attached are two files, which should be
placed in your «<WAS>configcells<node>applicationsauthorportlets_PA_X_X_XX.eardeploymentsauthorportlets_PA_X_X_XXMETA-INF»
and
«<WPS>installedApps/authorportlets_PA_X_X_XX.earMETA-INF»
directories. Before you put them in there, however, edit the
application.xml file. In there, you’ll see a tag for the context
root, and the one in the file will literally say «wps/PA_X_X_XX». You
need to update that to have your real context root (this will be the
same as the X_X_XX’s in the directory names. Once that’s done,
restart your WebSphere_Portal application server and the portlets
should work.»
Bill
«Nikolai Iordanov» <nip…@blueyonder.co.uk> wrote in message news:<bt6vim$78r0$1…@news.boulder.ibm.com>…
Nikolai Iordanov
unread,
Jan 6, 2004, 1:10:00 AM1/6/04
to
Solved it. authorportlets_PA_1_0_4J didn’t have the security roles defined
in application.xml and was missing ibm-application-bnd.xmi, probably because
of a patch update, exported ear from was, added roles and copied the bnd
file from a previous install, redeployed, changed starting weight to 100 and
Class loader module to Parent Last and all is happy.
Regards,
Nikolai
JANS Daniel
unread,
Jan 26, 2004, 6:54:28 PM1/26/04
to
Thanks … Had the same problem and your solution fixes the problem …
���� ���� ���� �� � ������������ ���� � ������� � ��� — 5 +/-, ����� ���-7, 3, 1 ( �� �� ������ �� 1 ������ �������). ������ ���� ��������� �� ����� �� ����, � ������, �� �� ������ 8 �����. � ��� �� ���� 13 �����, ������ ���� ������. ������ ��������, ��� �� ���� ������ �����������? ��� � ����, �����, �� �����…. �������� ������ ��� ���������, ��� ����� ������� �� ������������ «�����». � ���� ��������� 74%.
�����-�� ���� ����������� �� ������ ����-������� ����� � «�����» �����. (�� ��� ������� ����� �������� ;-))
���� ������� ����������� ���������� ����� ������ ��� 100% ������������.
����������, �������� �� �����, ����� ������-��� ���� ������������ �� ��������� �������.
������ ������� ����
� ������������ «���������» ����� � ����������� ���������� ���� ���������….
� ����� �� ����� ��� �������� � ������������ ������?
��������, ����������
�� ������� ����, ���� ����������� ���������� ���������….
� ��� ��� ���� �����������….
��� ��� �� ����, ����� �� �� ���
��, �� � ����� ������� — �������…
� ������ ������� — ��������� ����� ���� ��� �� ������ �� �����…
� ��� � ���� ��-�� ���������� ��������� «� ��� �� ���� 13 �����, ������ ���� ������» ���������
����� ���.
��� �� ����.
1-2-3-4-5 ����� +-
����� ����� 9.11.16 ��� ���-1
18 ������ — 7
21 ������ — 8
22 ������ — 9
23 ������ — 12
24 ������ -15 !!!
�������� ������� �� �����. ���� ������������ — 78 %
19% ����� � ������� � ���������� ����� �������� � ������ ����� 1�1.
����� ������ — ������� ������ ��� �� �����, ��� ��� ��������� !!!
������ �� ����. ���� �� ������ �������� 13 ������ 2016 ����.
���� ������� ����������� ���������� ����� �� 100% ������������.
�������� � ���������� ������ � ��������� ��� ����� ��������� � �������.
��. ���������� ����������� ������� �� ���� ������� ���������
nnksa �����(�)
�������� � ���������� ������ � ��������� ��� ����� ��������� � �������.
�ģ�-� *drink*
nnksa �����(�)
��. ���������� ����������� ������� �� ���� ������� ���������
�� ��� ������ ������ ������ ���� ��� ��? … ��� ����� �������� �������� �ӣ ����� …
��� �������� new-jute (�����) ru �������� �� �����
nnksa �����(�)
��� �������� new-jute (�����) ru �������� �� �����
��������� F12 ��� ������ ���������� ��������� js � �������� � ��������� �ӣ, ��� ���� ))
��������, ������������� 100% ������ �� �����������, �� ����������.
��� ����� �� ���������� �����.
������, ��� �� ��� ��������� ����� �� � �����, ��� ���� ��.
� ��� �12 ���� �� �������…
� ��������� JS — ������ � �������� ������ �����
��� �� ������ �� ����������� — www.new-jute.ru/artmebius/content_defender/script.js
��� ����� ��� ���������� ���������:
——————————————
#wpcp-error-message {
direction: ltr;
text-align: center;
transition: opacity 900ms ease 0s;
z-index: 99999999;
}
.hideme {
opacity:0;
visibility: hidden;
}
.msgmsg-box-wpcp {
border-radius: 10px;
color: #555;
font-family: Tahoma;
font-size: 11px;
margin: 10px;
padding: 10px 36px;
position: fixed;
width: 255px;
top: 50%;
left: 50%;
margin-top: -10px;
margin-left: -130px;
-webkit-box-shadow: 0px 0px 34px 2px rgba(242,191,191,1);
-moz-box-shadow: 0px 0px 34px 2px rgba(242,191,191,1);
box-shadow: 0px 0px 34px 2px rgba(242,191,191,1);
}
.msgmsg-box-wpcp span {
font-weight:bold;
text-transform:uppercase;
}
.warning-wpcp {
background:#ffecec;
border:1px solid #f5aca6;
}
—————————-
������ � ���� ))
��� �������� ��� ��� ��������, ������ �� ������� ��� ��� ��� �������)
����� —
html
{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
�������, �� �������� �������..
�� �� ���-�� ����� abby fine reader ���������������, ���� ������ ��������� ������ =))
���� �� ������� �� ����� ������
�� ���
<script type=″text/javascript″>
document.ondragstart = noselect;
// ������ �� ��������������
document.onselectstart = noselect;
// ������ �� ��������� ��������� ��������
document.oncontextmenu = noselect;
// ������ �� ��������� ������������ ����
function noselect() {return false;}
</script>
nnksa �����(�)
���������� �����
�� �� ����� �������������. )
�� � ���� ���أ���, 22-23 ��� ������� ��. ��������� ����� �������, � ��� ����� ��������� �������� ������. � ��� ������� ���� ��������.