security domain commit
updated to security friendly api.
test fix.