V function ( Callable < V > arg0 ) { if ( ThreadContext . getSecurityManager ( ) == null ) { Subject loc0 = getSystemSubject ( ) ; if ( loc0 != null ) { return loc0 . execute ( arg0 ) ; } } else { return arg0 . call ( ) ; } return null ; }
runs the callable in the current thread . if no subject is available it will try to run the callable as the system subject . only call this method if using the system subject is the correct action when no other subject exists . concode_field_sep Logger LOGGER concode_elem_sep RolePrincipal ADMIN_ROLE concode_elem_sep Subject cachedSystemSubject concode_field_sep Subject getSubject concode_elem_sep boolean tokenAboutToExpire concode_elem_sep String getCertificateAlias concode_elem_sep BundleContext getBundleContext concode_elem_sep KeyStore getSystemKeyStore concode_elem_sep boolean javaSubjectHasAdminRole concode_elem_sep boolean authorizeCurrentUser concode_elem_sep PKIAuthenticationTokenFactory createPKITokenFactory concode_elem_sep Subject getSystemSubject concode_elem_sep SecurityManager getSecurityManager