Policy function ( ) { java . lang . SecurityManager loc0 = System . getSecurityManager ( ) ; if ( loc0 != null ) loc0 . checkPermission ( new AuthPermission ( "srini_string" ) ) ; return getPolicyNoCheck ( ) ; }
returns the installed policy object . this method first calls securitymanager.checkpermission with the authpermission `` getpolicy '' permissionto ensure the caller has permission to get the policy object . concode_field_sep String AUTH_POLICY concode_elem_sep java.security.AccessControlContext acc concode_elem_sep boolean isCustomPolicy concode_elem_sep Policy policy concode_field_sep boolean isCustomPolicySet concode_elem_sep Policy getPolicyNoCheck concode_elem_sep java.security.PermissionCollection getPermissions concode_elem_sep void refresh concode_elem_sep void setPolicy