I want to get the userlogin and city attribute details of the (requester) logged in user raising the request in OIM.
I want to process the validation according to certain attributes of requester city attribute.
You can make use of oracle.iam.platform.context.ContextManager
class and call various methods available with it.
e.g. ContextManager.getOrigUser();
should give you requester's login.