本文整理了Java中java.lang.SecurityManager.checkLink()
方法的一些代码示例,展示了SecurityManager.checkLink()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SecurityManager.checkLink()
方法的具体详情如下:
包路径:java.lang.SecurityManager
类名称:SecurityManager
方法名:checkLink
暂无
代码示例来源:origin: wildfly/wildfly
public void checkLink(final String lib) {
if (doCheck()) {
super.checkLink(lib);
}
}
代码示例来源:origin: frohoff/ysoserial
@Override
public void checkLink(String lib) {
getSecurityManager().checkLink(lib);
}
代码示例来源:origin: neo4j/neo4j
@Override
public void checkLink( String lib )
{
if ( managerExists() )
{
securityManager.checkLink( lib );
}
else
{
super.checkLink( lib );
}
}
代码示例来源:origin: org.eclipse/org.eclipse.ant.core
public void checkLink(String lib) {
if (fSecurityManager != null) {
fSecurityManager.checkLink(lib);
}
}
代码示例来源:origin: com.github.stefanbirkner/system-rules
@Override
public void checkLink(String lib) {
if (originalSecurityManager != null)
originalSecurityManager.checkLink(lib);
}
代码示例来源:origin: com.github.tcnh/fitnesse
@Override
public void checkLink(String lib) {
if (delegate != null) {
delegate.checkLink(lib);
}
}
代码示例来源:origin: org.fitnesse/fitnesse
@Override
public void checkLink(String lib) {
if (delegate != null) {
delegate.checkLink(lib);
}
}
代码示例来源:origin: pentaho/big-data-plugin
@Override
public void checkLink( String lib ) {
if ( decorated != null ) {
decorated.checkLink( lib );
}
}
代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub
/**
* Throws an {@link SecurityException} if an installed {@link SecurityManager}
* does not permit to dynamically link the given libName.
*/
public static final void checkLinkPermission(final String libName) throws SecurityException {
if( null != securityManager ) {
securityManager.checkLink(libName);
}
}
代码示例来源:origin: nokia/Avro-Schema-Generator
@Override
public void checkLink(String lib) {
if (delegate != null) {
delegate.checkLink(lib);
}
}
代码示例来源:origin: poreid/poreid
@Override
public void checkLink(final String lib) {
if (null != securityManager) {
securityManager.checkLink(lib);
}
}
代码示例来源:origin: stefanbirkner/system-rules
@Override
public void checkLink(String lib) {
if (originalSecurityManager != null)
originalSecurityManager.checkLink(lib);
}
代码示例来源:origin: org.rythmengine/rythm-engine
@Override
public void checkLink(String lib) {
checkRythm();
if (null != osm) osm.checkLink(lib);
if (null != csm) csm.checkLink(lib);
}
代码示例来源:origin: rythmengine/rythmengine
@Override
public void checkLink(String lib) {
checkRythm();
if (null != osm) osm.checkLink(lib);
if (null != csm) csm.checkLink(lib);
}
代码示例来源:origin: freeplane/freeplane
@Override
public void checkLink(final String pLib) {
try{
super.checkLink(pLib);
}
catch(AccessControlException e){
throw getException(e, InternationalizedSecurityManager.PERM_GROUP_EXEC, InternationalizedSecurityManager.PERM_Link);
}
}
代码示例来源:origin: org.wildfly.security/wildfly-security-manager
public void checkLink(final String lib) {
if (doCheck()) {
super.checkLink(lib);
}
}
代码示例来源:origin: ikkisoft/blazer
@Override
public void checkLink(String lib) {
detectException("checkLink");
super.checkLink(lib);
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron
public void checkLink(final String lib) {
if (doCheck()) {
super.checkLink(lib);
}
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
public void checkLink(final String lib) {
if (doCheck()) {
super.checkLink(lib);
}
}
代码示例来源:origin: net.sf.jstuff/jstuff-core
@Override
public void checkLink(final String lib) {
if (wrapped == null) {
super.checkLink(lib);
} else {
wrapped.checkLink(lib);
}
}
内容来源于网络,如有侵权,请联系作者删除!