Microsoft SDK for Java

getSecurityContext

This method of the StandardSecurityManager Class retrieves the codebase URL associated with the nearest SecurityClassLoader instance found on the call stack. The SecurityClassLoader instance is found by examining the classes associated with each stack frame, and then examining the class loader associated with each class.

Syntax

public Object getSecurityContext();

Return Value

Returns the URL associated with the nearest SecurityClassLoader instance.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.