欢迎光临
我们一直在努力

java.security.Guard翻译-JSP教程,Java技巧及代码

建站超值云服务器,限时71元/月

 

javatm 2 platform
std. ed. v1.4.2


java.security
interface guard

all known implementing classes:

permission

public interface guard

this interface represents a guard, which is an object that is used to protect access to another object. 该接口表示守卫,即用于保护对其它对象访问的对象。

this interface contains a single method, checkguard, with a single object argument. checkguard is invoked (by the guardedobject getobject method) to determine whether or not to allow access to the object. 该接口只包含一个checkguard方法,只有一个object参数。由guardedobject的getobject方法调用checkguard来确定是否允许访问该对象。

see also:

guardedobject

method summary
 void checkguard(object object)
          determines whether or not to allow access to the guarded object object. 确定是否允许访问受保护的对象object。

 

method detail

checkguard

public void checkguard(object object)
                throws securityexception
determines whether or not to allow access to the guarded object object. returns silently if access is allowed. otherwise, throws a securityexception. 确定是否允许访问受保护的对象object。如果访问允许,正常返回,否则抛出securityexception。

parameters:

object – the object being protected by the guard. 受保护的对象。

throws:

securityexception – if access is denied. 如果访问被拒绝抛出。


javatm 2 platform
std. ed. v1.4.2


submit a bug or feature
for further api reference and developer documentation, see java 2 sdk se developer documentation. that documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

copyright 2003 sun microsystems, inc. all rights reserved. use is subject to license terms. also see the documentation redistribution policy.

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » java.security.Guard翻译-JSP教程,Java技巧及代码
分享到: 更多 (0)

相关推荐

  • 暂无文章