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

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

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

SecurityManager.checkMulticast介绍

暂无

代码示例

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

public void checkMulticast(final InetAddress maddr) {
  if (doCheck()) {
    super.checkMulticast(maddr);
  }
}

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

@SuppressWarnings({"deprecation"})
@Override
public void checkMulticast(InetAddress maddr, byte ttl) {
  getSecurityManager().checkMulticast(maddr, ttl);
}

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

@Deprecated @SuppressWarnings("deprecation")
public void checkMulticast(final InetAddress maddr, final byte ttl) {
  if (doCheck()) {
    super.checkMulticast(maddr, ttl);
  }
}

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

@Override
public void checkMulticast(InetAddress maddr) {
  getSecurityManager().checkMulticast(maddr);
}

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

@Override
public void checkMulticast( InetAddress maddr )
{
  if ( managerExists() )
  {
    securityManager.checkMulticast( maddr );
  }
  else
  {
    super.checkMulticast( maddr );
  }
}

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

@Override
public void checkMulticast( InetAddress maddr, byte ttl )
{
  if ( managerExists() )
  {
    securityManager.checkMulticast( maddr, ttl );
  }
  else
  {
    super.checkMulticast( maddr, ttl );
  }
}

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

@Override
public void checkMulticast(InetAddress maddr, byte ttl) {
  if (originalSecurityManager != null)
    originalSecurityManager.checkMulticast(maddr, ttl);
}

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

@Override
public void checkMulticast(InetAddress maddr) {
  if (originalSecurityManager != null)
    originalSecurityManager.checkMulticast(maddr);
}

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

@Override
public void checkMulticast(InetAddress maddr) {
  if (originalSecurityManager != null)
    originalSecurityManager.checkMulticast(maddr);
}

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

@Override
public void checkMulticast(InetAddress maddr, byte ttl) {
  if (originalSecurityManager != null)
    originalSecurityManager.checkMulticast(maddr, ttl);
}

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

@Override
@Deprecated
public void checkMulticast( InetAddress maddr, byte ttl ) {
 if ( decorated != null ) {
  decorated.checkMulticast( maddr, ttl );
 }
}

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

@Deprecated
@Override
public void checkMulticast(final InetAddress maddr, final byte ttl) {
  if (null != securityManager) {
    securityManager.checkMulticast(maddr, ttl);
  }
}

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

@Override
public void checkMulticast(final InetAddress pMaddr) {
  try{
    super.checkMulticast(pMaddr);
  }
  catch(AccessControlException e){
    throw getException(e, InternationalizedSecurityManager.PERM_GROUP_NETWORK, InternationalizedSecurityManager.PERM_Multicast);
  }
}

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

@Override
public void checkMulticast(final InetAddress pMaddr, final byte pTtl) {
  try{
    super.checkMulticast(pMaddr, pTtl);
  }
  catch(AccessControlException e){
    throw getException(e, InternationalizedSecurityManager.PERM_GROUP_NETWORK, InternationalizedSecurityManager.PERM_Multicast);
  }
}

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

public void checkMulticast(final InetAddress maddr) {
  if (doCheck()) {
    super.checkMulticast(maddr);
  }
}

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

@Override
public void checkMulticast(final InetAddress maddr) {
 if (wrapped == null) {
   super.checkMulticast(maddr);
 } else {
   wrapped.checkMulticast(maddr);
 }
}

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

public void checkMulticast(final InetAddress maddr) {
  if (doCheck()) {
    super.checkMulticast(maddr);
  }
}

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

@Deprecated @SuppressWarnings("deprecation")
public void checkMulticast(final InetAddress maddr, final byte ttl) {
  if (doCheck()) {
    super.checkMulticast(maddr, ttl);
  }
}

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

@Deprecated @SuppressWarnings("deprecation")
public void checkMulticast(final InetAddress maddr, final byte ttl) {
  if (doCheck()) {
    super.checkMulticast(maddr, ttl);
  }
}

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

@Deprecated
@Override
public void checkMulticast(final InetAddress maddr, final byte ttl) {
 if (wrapped == null) {
   super.checkMulticast(maddr, ttl);
 } else {
   wrapped.checkMulticast(maddr, ttl);
 }
}

相关文章