IBM BS029ML Self Help Guide - Page 123

Tools for troubleshooting security problems, Access Control PAC related issues.

Page 123 highlights

When the traces are enabled statically, the trace specification should be shown at the top of the log: [8/2/07 11:51:32:609 EDT] 0000000a ManagerAdmin I TRAS0017I: The startup trace state is *=info:com.ibm.ws.wmm.*=all:com.ibm.websphere.wmm.*=all:WSMM=all:com.ibm.ws.securi ty.*=all:com.ibm.wps.engine.commands.*=all:com.ibm.wps.puma.*=all:com.ibm.wps.serv ices.puma.*=all:com.ibm.wps.services.authentication.*=all:com.ibm.wps.sso.*=all. When the traces are enabled dynamically, there should be a line like the following: [8/21/07 9:39:14:656 EDT] 00000046 ManagerAdmin I TRAS0018I: The trace state has changed. The new trace state is *=info:com.ibm.ws.wmm.*=all:com.ibm.websphere.wmm.*=all:WSMM=all:com.ibm.wps.ac.*= all. Tip: The traces enabled statically can also be disabled at runtime using the admin console or the Enable Tracing portlet. 4.3.3 Tools for troubleshooting security problems WebSphere Portal is a complex product set. To administer a site based on Portal, we assume administrators are equipped with basic LDAP knowledge: Understanding the basic LDAP directory structure. Being able to use LDAP tools, such as ldapsearch or LDAP browser, to verify user and groups, and to generate the output of a subtree, a user, or a group in LDAP Data Interchange Format (LDIF). Understanding the meaning and implication of the common LDAP server return codes, or at least being able to search them on the internet, such as: - 4 - Sizelimit exceeded - 10 - Referral - 6 - No such attribute - 32 - No such object - 49 - Invalid credentials - 50 - Insufficient access rights - 53 - Unwilling to perform. XMLaccess is a configuration and deployment tool provided only in WebSphere Portal. Under certain circumstances, we recommend a full export using XMLaccess, especially for Portal Access Control (PAC) related issues. To debug single sign-on or session related problems, we frequently refer to the HTTP header and cookie information. LiveHttpHeaders is a Firefox extension. It shows detailed data of what comes into the browser and what goes out. The data captured by the tool would give us a lot of debugging information about clients, cookies, protocols, URLs, and so on. Chapter 4. WebSphere Portal security 109

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242

Chapter 4. WebSphere Portal security
109
When the traces are enabled statically, the trace specification should be shown at the top of
the log:
[8/2/07 11:51:32:609 EDT] 0000000a ManagerAdmin
I
TRAS0017I: The startup trace
state is
*=info:com.ibm.ws.wmm.*=all:com.ibm.websphere.wmm.*=all:WSMM=all:com.ibm.ws.securi
ty.*=all:com.ibm.wps.engine.commands.*=all:com.ibm.wps.puma.*=all:com.ibm.wps.serv
ices.puma.*=all:com.ibm.wps.services.authentication.*=all:com.ibm.wps.sso.*=all.
When the traces are enabled dynamically, there should be a line like the following:
[8/21/07 9:39:14:656 EDT] 00000046 ManagerAdmin
I
TRAS0018I: The trace state
has changed. The new trace state is
*=info:com.ibm.ws.wmm.*=all:com.ibm.websphere.wmm.*=all:WSMM=all:com.ibm.wps.ac.*=
all.
4.3.3
Tools for troubleshooting security problems
WebSphere Portal is a complex product set. To administer a site based on Portal, we assume
administrators are equipped with basic LDAP knowledge:
±
Understanding the basic LDAP directory structure.
±
Being able to use LDAP tools, such as ldapsearch or LDAP browser, to verify user and
groups, and to generate the output of a subtree, a user, or a group in LDAP Data
Interchange Format (LDIF).
±
Understanding the meaning and implication of the common LDAP server return codes, or
at least being able to search them on the internet, such as:
4 - Sizelimit exceeded
10 - Referral
6 - No such attribute
32 - No such object
49 - Invalid credentials
50 - Insufficient access rights
53 - Unwilling to perform.
XMLaccess is a configuration and deployment tool provided only in WebSphere Portal. Under
certain circumstances, we recommend a full export using XMLaccess, especially for Portal
Access Control (PAC) related issues.
To debug single sign-on or session related problems, we frequently refer to the HTTP header
and cookie information. LiveHttpHeaders is a Firefox extension. It shows detailed data of what
comes into the browser and what goes out. The data captured by the tool would give us a lot
of debugging information about clients, cookies, protocols, URLs, and so on.
Tip:
The traces enabled statically can also be disabled at runtime using the admin console
or the Enable Tracing portlet.