JavaTM Platform
Standard Ed. 6

클래스
java.security.ProtectionDomain 의 사용

ProtectionDomain 를 사용하고 있는 패키지
java.lang Java 프로그램 언어의 설계해 기본적인 클래스를 제공합니다.  
java.lang.instrument Java 프로그램 언어 에이전트가 JVM 상에서 실행되고 있는 프로그램을 계측 할 수 있도록(듯이) 하는 서비스를 제공합니다.  
java.security 시큐리티 시스템의 클래스와 인터페이스를 제공합니다.  
javax.security.auth 이 패키지는, 인증과 승인에 관한 시스템를 제공합니다.  
 

java.lang 에서의 ProtectionDomain 의 사용
 

ProtectionDomain 를 돌려주는 java.lang 의 메소드
 ProtectionDomain Class. getProtectionDomain ()
          이 클래스의 ProtectionDomain 를 돌려줍니다.
 

ProtectionDomain 형의 파라미터를 가지는 java.lang 의 메소드
protected  Class <? > ClassLoader. defineClass (String  name, byte[] b, int off, int len, ProtectionDomain  protectionDomain)
          옵션의 ProtectionDomain 를 사용해, 바이트의 배열을 Class 클래스의 인스턴스로 변환합니다.
protected  Class <? > ClassLoader. defineClass (String  name, ByteBuffer  b, ProtectionDomain  protectionDomain)
          옵션의 ProtectionDomain 를 사용해,ByteBufferClass 클래스의 인스턴스로 변환합니다.
 

java.lang.instrument 에서의 ProtectionDomain 의 사용
 

ProtectionDomain 형의 파라미터를 가지는 java.lang.instrument 의 메소드
 byte[] ClassFileTransformer. transform (ClassLoader  loader, String  className, Class <? > classBeingRedefined, ProtectionDomain  protectionDomain, byte[] classfileBuffer)
          이 메소드의 구현은, 제공된 클래스 파일을 변환해, 새로운 치환 클래스 파일을 돌려줄 수가 있습니다.
 

java.security 에서의 ProtectionDomain 의 사용
 

ProtectionDomain 를 돌려주는 java.security 의 메소드
 ProtectionDomain [] DomainCombiner. combine (ProtectionDomain [] currentDomains, ProtectionDomain [] assignedDomains)
          지정된 ProtectionDomains 를 변경 또는 갱신합니다.
 

ProtectionDomain 형의 파라미터를 가지는 java.security 의 메소드
 ProtectionDomain [] DomainCombiner. combine (ProtectionDomain [] currentDomains, ProtectionDomain [] assignedDomains)
          지정된 ProtectionDomains 를 변경 또는 갱신합니다.
 ProtectionDomain [] DomainCombiner. combine (ProtectionDomain [] currentDomains, ProtectionDomain [] assignedDomains)
          지정된 ProtectionDomains 를 변경 또는 갱신합니다.
protected  PermissionCollection PolicySpi. engineGetPermissions (ProtectionDomain  domain)
          지정된 ProtectionDomain 에 부여된 액세스권세트를 포함한 PermissionCollection 객체를 돌려줍니다.
protected abstract  boolean PolicySpi. engineImplies (ProtectionDomain  domain, Permission  permission)
          정책가 ProtectionDomain 의 Permission 가 부여되고 있는지 어떤지를 체크합니다.
 PermissionCollection Policy. getPermissions (ProtectionDomain  domain)
          지정된 ProtectionDomain 에 부여된 액세스권세트를 포함한 PermissionCollection 객체를 돌려줍니다.
 boolean Policy. implies (ProtectionDomain  domain, Permission  permission)
          ProtectionDomain 에 허가된 액세스권에 대해 글로벌 정책를 평가해, 그 액세스권이 허가되고 있는지 어떤지를 판정합니다.
 

ProtectionDomain 형의 파라미터를 가지는 java.security 의 생성자
AccessControlContext (ProtectionDomain [] context)
          지정된 ProtectionDomain 세트로 AccessControlContext 를 작성합니다.
 

javax.security.auth 에서의 ProtectionDomain 의 사용
 

ProtectionDomain 를 돌려주는 javax.security.auth 의 메소드
 ProtectionDomain [] SubjectDomainCombiner. combine (ProtectionDomain [] currentDomains, ProtectionDomain [] assignedDomains)
          이 SubjectDomainCombiner 에 관련지을 수 있었던 Subject 의 Principal 를 사용해, 관련하는 ProtectionDomains 를 갱신합니다.
 

ProtectionDomain 형의 파라미터를 가지는 javax.security.auth 의 메소드
 ProtectionDomain [] SubjectDomainCombiner. combine (ProtectionDomain [] currentDomains, ProtectionDomain [] assignedDomains)
          이 SubjectDomainCombiner 에 관련지을 수 있었던 Subject 의 Principal 를 사용해, 관련하는 ProtectionDomains 를 갱신합니다.
 ProtectionDomain [] SubjectDomainCombiner. combine (ProtectionDomain [] currentDomains, ProtectionDomain [] assignedDomains)
          이 SubjectDomainCombiner 에 관련지을 수 있었던 Subject 의 Principal 를 사용해, 관련하는 ProtectionDomains 를 갱신합니다.
 


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 도 참조해 주세요.