JavaTM Platform
Standard Ed. 6

java.security
인터페이스 Guard

기존의 구현 클래스의 일람:
AllPermission , AudioPermission , AuthPermission , AWTPermission , BasicPermission , DelegationPermission , FilePermission , LoggingPermission , ManagementPermission , MBeanPermission , MBeanServerPermission , MBeanTrustPermission , NetPermission , Permission , PrivateCredentialPermission , PropertyPermission , ReflectPermission , RuntimePermission , SecurityPermission , SerializablePermission , ServicePermission , SocketPermission , SQLPermission , SSLPermission , SubjectDelegationPermission , UnresolvedPermission , WebServicePermission


public interface Guard

이 인터페이스는, 다른 객체에의 액세스로부터 보호하기 위한 객체인 가이드를 나타냅니다.

이 인터페이스에는,object 를 인수에 취하는 checkGuard 라고 하는 메소드가 있습니다. checkGuard 는, GuardedObject 의 getObject 메소드에 의해 불려 가 그 객체에의 액세스를 허가할지 어떨지를 결정합니다.

관련 항목:
GuardedObject

메소드의 개요
 void checkGuard (Object  object)
          가이드에 의해 보호된 객체인 object 에의 액세스를 허가할지 어떨지를 결정합니다.
 

메소드의 상세

checkGuard

void checkGuard(Object  object)
                throws SecurityException 
가이드에 의해 보호된 객체인 object 에의 액세스를 허가할지 어떨지를 결정합니다. 액세스가 허가되면(자), 아무것도 실시하지 않고 복귀합니다. 그렇지 않은 경우는, SecurityException 를 throw 합니다.

파라미터:
object - 가이드에 의해 보호되고 있는 객체
예외:
SecurityException - 액세스가 거부되었을 경우

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.