IBM BS029ML Self Help Guide - Page 126

userRegistryRealm, applicationLoginConfig, active

Page 126 highlights

The active user registry is highlighted and its ID is specified by the activeRegistry parameter at the beginning. People sometimes are confused about which registry is configured. In this example, we can see that WMMUR (CustomUserRegistry) is active. We can also find some configuration information in the LDAPUserRegistry section. This tells us that the administrator might have configured the LDAP without realm support before and the LDAP related configuration remains in the file. This may not be necessarily bad. We should simply be aware which registry is active. Note: Running the configuration task "disable-security" does not erase the configuration settings in the global security configuration of WebSphere Application Server. It simply sets enabled to false. The user registry realm and customer property userRegistryRealm defined in the WMMUR segment should point to the same LDAP server and port. These configurations are required to be manually added for working with other application servers, such as Domino, for single sign-on (SSO). Tip: Do not confuse the user registry realm with the WMM realm defined in wmmur.xml. The realm defined here is only to identify the LDAP realm for single sign-on. It has nothing to do with the separation of user populations used in WebSphere Portal's virtual portals. Tip: The location of the WMMUR configuration files in a cluster is different. It is based on the WebSphere variable ${WMM_CONFIG_PATH} created during cluster creation. Example 4-5 shows the third segment of the sample security.xml file. Example 4-5 Sample security.xml: the third segment ... 112 IBM WebSphere Portal V6 Self Help Guide

  • 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

112
IBM WebSphere Portal V6 Self Help Guide
<properties xmi:id="Property_1174328490172" name="wasAdminFileLoc"
value="C:/IBM/WEBSPH~1/PORTAL~1/wmm/wmmWASAdmin.xml" required="true"/>
<properties xmi:id="Property_1186336290766" name="
userRegistryRealm
"
value="corpldap.acme.com:389" required="false"/>
</userRegistries>
<userRegistries xmi:type="security:LDAPUserRegistry" xmi:id="LDAPUserRegistry_1"
serverId="uid=wasadmin,ou=people,ou=dept,o=acme.com" serverPassword="{xor}HB8rEW8aHy0\="
realm="corpldap.acme.com:389" ignoreCase="true" type="IBM_DIRECTORY_SERVER" sslEnabled="false"
sslConfig="wp6vm_n/DefaultSSLSettings" baseDN="uid=wasadmin,ou=people,ou=dept,o=acme.com"
bindDN="" bindPassword="{xor}HB8rEW8aHy0\=" searchTimeout="120" reuseConnection="true">
<searchFilter xmi:id="LDAPSearchFilter_1"
userFilter="(&amp;(uid=%v)(objectclass=inetOrgPerson))"
groupFilter="(&amp;(cn=%v)(objectclass=groupOfUniqueNames))" userIdMap="*:uid" groupIdMap="*:cn"
groupMemberIdMap="ibm-allGroups:uniqueMember" certificateMapMode="EXACT_DN"
certificateFilter=""/>
<hosts xmi:id="EndPoint_1" host="corpldap.acme.com" port="389"/>
</userRegistries>
The active
user registry is highlighted and its ID is specified by the activeRegistry parameter
at the beginning. People sometimes are confused about which registry is configured. In this
example, we can see that WMMUR (CustomUserRegistry) is active. We can also find some
configuration information in the LDAPUserRegistry section. This tells us that the administrator
might have configured the LDAP without realm support before and the LDAP related
configuration remains in the file. This may not be necessarily bad. We should simply be aware
which registry is
active
.
The user registry realm and customer property userRegistryRealm defined in the WMMUR
segment should point to the same LDAP server and port. These configurations are required
to be manually added for working with other application servers, such as Domino, for single
sign-on (SSO).
Example 4-5 shows the third segment of the sample security.xml file.
Example 4-5
Sample security.xml: the third segment
...
<
applicationLoginConfig
xmi:id="JAASConfiguration_1">
<entries xmi:id="JAASConfigurationEntry_1" alias="ClientContainer">
<loginModules xmi:id="JAASLoginModule_1"
moduleClassName="com.ibm.ws.security.common.auth.module.proxy.WSLoginModuleProxy"
authenticationStrategy="REQUIRED">
Note
: Running the configuration task “disable-security” does not erase the configuration
settings in the global security configuration of WebSphere Application Server. It simply sets
enabled to false.
Tip
: Do not confuse the user registry realm with the WMM realm defined in wmmur.xml.
The realm defined here is only to identify the LDAP realm for single sign-on. It has nothing
to do with the separation of user populations used in WebSphere Portal’s virtual portals.
Tip
: The location of the WMMUR configuration files in a cluster is different. It is based on
the WebSphere variable ${WMM_CONFIG_PATH} created during cluster creation.