本文整理了Java中java.lang.SecurityManager.checkConnect()
方法的一些代码示例,展示了SecurityManager.checkConnect()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SecurityManager.checkConnect()
方法的具体详情如下:
包路径:java.lang.SecurityManager
类名称:SecurityManager
方法名:checkConnect
暂无
代码示例来源:origin: wildfly/wildfly
public void checkConnect(final String host, final int port) {
if (doCheck()) {
super.checkConnect(host, port);
}
}
代码示例来源:origin: wildfly/wildfly
public void checkConnect(final String host, final int port, final Object context) {
if (doCheck()) {
super.checkConnect(host, port, context);
}
}
代码示例来源:origin: frohoff/ysoserial
@Override
public void checkConnect(String host, int port) {
getSecurityManager().checkConnect(host, port);
}
代码示例来源:origin: frohoff/ysoserial
@Override
public void checkConnect(String host, int port, Object context) {
getSecurityManager().checkConnect(host, port, context);
}
代码示例来源:origin: neo4j/neo4j
@Override
public void checkConnect( String host, int port )
{
if ( managerExists() )
{
securityManager.checkConnect( host, port );
}
else
{
super.checkConnect( host, port );
}
}
代码示例来源:origin: neo4j/neo4j
@Override
public void checkConnect( String host, int port, Object context )
{
if ( managerExists() )
{
securityManager.checkConnect( host, port, context );
}
else
{
super.checkConnect( host, port, context );
}
}
代码示例来源:origin: com.github.stefanbirkner/system-rules
@Override
public void checkConnect(String host, int port, Object context) {
if (originalSecurityManager != null)
originalSecurityManager.checkConnect(host, port, context);
}
代码示例来源:origin: org.eclipse/org.eclipse.ant.core
public void checkConnect(String host, int port, Object context) {
if (fSecurityManager != null) {
fSecurityManager.checkConnect(host, port, context);
}
}
代码示例来源:origin: com.github.stefanbirkner/system-rules
@Override
public void checkConnect(String host, int port) {
if (originalSecurityManager != null)
originalSecurityManager.checkConnect(host, port);
}
代码示例来源:origin: com.github.tcnh/fitnesse
@Override
public void checkConnect(String host, int port) {
if (delegate != null) {
delegate.checkConnect(host, port);
}
}
代码示例来源:origin: pentaho/big-data-plugin
@Override
public void checkConnect( String host, int port ) {
if ( decorated != null ) {
decorated.checkConnect( host, port );
}
}
代码示例来源:origin: Nextdoor/bender
@Override
public void checkConnect(String host, int port, Object context) {
if (originalSecurityManager != null)
originalSecurityManager.checkConnect(host, port, context);
}
代码示例来源:origin: freeplane/freeplane
@Override
public void checkConnect(String pHost, int pPort, Object pContext) {
if(pContext != null)
super.checkConnect(pHost, pPort, pContext);
else
super.checkConnect(pHost, pPort);
}
代码示例来源:origin: stefanbirkner/system-rules
@Override
public void checkConnect(String host, int port, Object context) {
if (originalSecurityManager != null)
originalSecurityManager.checkConnect(host, port, context);
}
代码示例来源:origin: stefanbirkner/system-rules
@Override
public void checkConnect(String host, int port) {
if (originalSecurityManager != null)
originalSecurityManager.checkConnect(host, port);
}
代码示例来源:origin: rythmengine/rythmengine
@Override
public void checkConnect(String host, int port) {
checkRythm();
if (null != csm) csm.checkConnect(host, port);
if (null != osm) osm.checkConnect(host, port);
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron
public void checkConnect(final String host, final int port) {
if (doCheck()) {
super.checkConnect(host, port);
}
}
代码示例来源:origin: org.wildfly.security/wildfly-security-manager
public void checkConnect(final String host, final int port) {
if (doCheck()) {
super.checkConnect(host, port);
}
}
代码示例来源:origin: freeplane/freeplane
@Override
public void checkConnect(final String pHost, final int pPort) {
try{
super.checkConnect(pHost, pPort);
}
catch(AccessControlException e){
throw getException(e, InternationalizedSecurityManager.PERM_GROUP_NETWORK, InternationalizedSecurityManager.PERM_Connect);
}
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron
public void checkConnect(final String host, final int port, final Object context) {
if (doCheck()) {
super.checkConnect(host, port, context);
}
}
内容来源于网络,如有侵权,请联系作者删除!