Adding Pre-Authentication rule in OAM 11gR2PS3
Hi All,
I have a use case in which if username consists 'dot(.)', the authentication scheme should change to AD.
The configuration is as follows,
1. Resource is protected and authentication is done through OUD.
2. if the username contains '.', i am trying to switch scheme to AD
I have tried adding pre-authentication rule as follows: user.userMap['samccountname'].contains('.')
but could not add the rule, as it said the rule condition is invalid.
OAM logs as follows:
File "<string>", line 1, in <module>
AttributeError: 'NoneType' object has no attribute 'contains'
at org.python.core.Py.AttributeError(Py.java:166)