Extract security from agdroid

perhaps a bit of javadoc for the public methods ?