java.lang.SecurityManager.checkAccept()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(3.6k)|赞(0)|评价(0)|浏览(112)

本文整理了Java中java.lang.SecurityManager.checkAccept()方法的一些代码示例,展示了SecurityManager.checkAccept()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SecurityManager.checkAccept()方法的具体详情如下:
包路径:java.lang.SecurityManager
类名称:SecurityManager
方法名:checkAccept

SecurityManager.checkAccept介绍

暂无

代码示例

代码示例来源:origin: frohoff/ysoserial

@Override
public void checkAccept(String host, int port) {
  getSecurityManager().checkAccept(host, port);
}

代码示例来源:origin: wildfly/wildfly

public void checkAccept(final String host, final int port) {
  if (doCheck()) {
    super.checkAccept(host, port);
  }
}

代码示例来源:origin: neo4j/neo4j

@Override
public void checkAccept( String host, int port )
{
  if ( managerExists() )
  {
    securityManager.checkAccept( host, port );
  }
  else
  {
    super.checkAccept( host, port );
  }
}

代码示例来源:origin: com.github.stefanbirkner/system-rules

@Override
public void checkAccept(String host, int port) {
  if (originalSecurityManager != null)
    originalSecurityManager.checkAccept(host, port);
}

代码示例来源:origin: com.github.tcnh/fitnesse

@Override
public void checkAccept(String host, int port) {
 if (delegate != null) {
  delegate.checkAccept(host, port);
 }
}

代码示例来源:origin: stefanbirkner/system-rules

@Override
public void checkAccept(String host, int port) {
  if (originalSecurityManager != null)
    originalSecurityManager.checkAccept(host, port);
}

代码示例来源:origin: org.eclipse/org.eclipse.ant.core

public void checkAccept(String host, int port) {
  if (fSecurityManager != null) {
    fSecurityManager.checkAccept(host, port);
  }
}

代码示例来源:origin: nokia/Avro-Schema-Generator

@Override
public void checkAccept(String host, int port) {
  if (delegate != null) {
    delegate.checkAccept(host, port);
  }
}

代码示例来源:origin: poreid/poreid

@Override
public void checkAccept(final String host, final int port) {
  if (null!= securityManager){
    securityManager.checkAccept(host, port);
  }
}

代码示例来源:origin: org.fitnesse/fitnesse

@Override
public void checkAccept(String host, int port) {
 if (delegate != null) {
  delegate.checkAccept(host, port);
 }
}

代码示例来源:origin: pentaho/big-data-plugin

@Override
public void checkAccept( String host, int port ) {
 if ( decorated != null ) {
  decorated.checkAccept( host, port );
 }
}

代码示例来源:origin: Nextdoor/bender

@Override
public void checkAccept(String host, int port) {
  if (originalSecurityManager != null)
    originalSecurityManager.checkAccept(host, port);
}

代码示例来源:origin: rythmengine/rythmengine

@Override
public void checkAccept(String host, int port) {
  checkRythm();
  if (null != csm) csm.checkAccept(host, port);
  if (null != osm) osm.checkAccept(host, port);
}

代码示例来源:origin: org.rythmengine/rythm-engine

@Override
public void checkAccept(String host, int port) {
  checkRythm();
  if (null != csm) csm.checkAccept(host, port);
  if (null != osm) osm.checkAccept(host, port);
}

代码示例来源:origin: org.wildfly.security/wildfly-elytron-security-manager

public void checkAccept(final String host, final int port) {
  if (doCheck()) {
    super.checkAccept(host, port);
  }
}

代码示例来源:origin: freeplane/freeplane

@Override
public void checkAccept(final String pHost, final int pPort) {
  try{
    super.checkAccept(pHost, pPort);
  }
  catch(AccessControlException e){
    throw getException(e, InternationalizedSecurityManager.PERM_GROUP_NETWORK, InternationalizedSecurityManager.PERM_Accept);
  }
}

代码示例来源:origin: org.wildfly.security/wildfly-elytron

public void checkAccept(final String host, final int port) {
  if (doCheck()) {
    super.checkAccept(host, port);
  }
}

代码示例来源:origin: org.wildfly.security/wildfly-security-manager

public void checkAccept(final String host, final int port) {
  if (doCheck()) {
    super.checkAccept(host, port);
  }
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

public void checkAccept(final String host, final int port) {
  if (doCheck()) {
    super.checkAccept(host, port);
  }
}

代码示例来源:origin: net.sf.jstuff/jstuff-core

@Override
public void checkAccept(final String host, final int port) {
 if (wrapped == null) {
   super.checkAccept(host, port);
 } else {
   wrapped.checkAccept(host, port);
 }
}

相关文章