在类com.sun.xml.wss.impl.misc.WSITProviderSecurityEnvironment
中定义了 fileld_handler = new PriviledgedHandler(handler);
PriviledgedHandler
类定义在哪里?
在类com.sun.xml.wss.impl.misc.WSITProviderSecurityEnvironment
中定义了 fileld_handler = new PriviledgedHandler(handler);
PriviledgedHandler
类定义在哪里?
您是否看到您提供的来源中的链接 ( WSITProviderSecurityEnvironment.java
)?
_handler = new PriviledgedHandler(handler);
它会带你到源头的底部:
class PriviledgedHandler implements CallbackHandler {
CallbackHandler delegate = null;
public PriviledgedHandler(CallbackHandler handler) {
delegate = handler;
}
public void handle(final Callback[] callbacks) throws IOException, UnsupportedCallbackException {
AccessController.doPrivileged(new PrivilegedAction() {
public Object run() {
try {
delegate.handle(callbacks);
return null;
} catch (Exception ex) {
throw new XWSSecurityRuntimeException(ex);
}
}
});
}
}
}
请注意,这PriviledgedHandler
是一个内部类WSITProviderSecurityEnvironment
链接页面上的源不完整(显示 3191 行中的 2515 行)。当我想看到整个班级时,我必须下载源代码。