|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
public interface Owner
º¹¼öÀÇ ¾×¼¼½º Á¦¾î ¸®½ºÆ® (ACL)ÀÇ ¼ÒÀ¯ÀÚ ¶Ç´Â ACL
¼³Á¤À» °ü¸®Çϱâ À§ÇÑ ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù (java.security.acl
ÆÐŰÁöÀÇ Acl ÀÎÅÍÆäÀ̽º°¡ ÀÌ Owner ÀÎÅÍÆäÀ̽º¸¦ È®ÀåÇÏ´Â °Í¿¡ ÁÖÀÇ). Ãʱ⠼ÒÀ¯ÀÚ Principal´Â
ÀÌ ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇϴ Ŭ·¡½ºÀÇ »ý¼ºÀÚ¿¡ ´ëÇÑ Àμö·Î¼ ÁöÁ¤ÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.
Acl
¸Þ¼µå °³¿ä | |
---|---|
boolean |
addOwner (Principal caller,
Principal owner)
¼ÒÀ¯ÀÚ¸¦ Ãß°¡ÇÕ´Ï´Ù. |
boolean |
deleteOwner (Principal caller,
Principal owner)
¼ÒÀ¯ÀÚ¸¦ »èÁ¦ÇÕ´Ï´Ù. |
boolean |
isOwner (Principal owner)
ÁöÁ¤µÈ ÁÖü°¡ ACL ¼ÒÀ¯ÀÚÀÎ °æ¿ì¿¡ true¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
¸Þ¼µåÀÇ »ó¼¼ |
---|
boolean addOwner(Principal caller, Principal owner) throws NotOwnerException
caller
- ÀÌ ¸Þ¼µå¸¦ ½ÃÀÛÇÏ´Â ÁÖü. ÀÌ ACL
¼ÒÀ¯ÀÚ°¡ ¾Æ´Ï¸é ¾ÈµÇ´Âowner
- ¼ÒÀ¯ÀÚÀÇ ¸®½ºÆ®¿¡ Ãß°¡ÇØ¾ß ÇÒ ¼ÒÀ¯ÀÚ
NotOwnerException
- È£ÃâÇÏ´Â ÁÖü°¡ ÀÌ ACL
¼ÒÀ¯ÀÚ°¡ ¾Æ´Ñ °æ¿ìboolean deleteOwner(Principal caller, Principal owner) throws NotOwnerException, LastOwnerException
È£ÃâÃøÀÇ ÁÖü´Â ÀÌ ¸Þ¼µå¸¦ È£ÃâÇÏ·Á¸é ACL ¼ÒÀ¯ÀÚ°¡ ¾Æ´Ï¸é ¾ÈµË´Ï´Ù.
caller
- ÀÌ ¸Þ¼µå¸¦ ½ÃÀÛÇÏ´Â ÁÖü. ÀÌ ACL
¼ÒÀ¯ÀÚ°¡ ¾Æ´Ï¸é ¾ÈµÇ´Âowner
- ¼ÒÀ¯ÀÚÀÇ ¸®½ºÆ®·ÎºÎÅÍ »èÁ¦µÇ´Â ¼ÒÀ¯ÀÚ
NotOwnerException
- È£ÃâÇÏ´Â ÁÖü°¡ ÀÌ ACL
¼ÒÀ¯ÀÚ°¡ ¾Æ´Ñ °æ¿ì
LastOwnerException
- ¼ÒÀ¯ÀÚ°¡ ¸®½ºÆ®³»¿¡ 1°³
¹Û¿¡ ³²Áö ¾Ê°í, deleteOwner
°á°ú ACL¿¡ ¼ÒÀ¯ÀÚ°¡ Á¸ÀçÇÏÁö ¾Ê°Ô µÇ´Â °æ¿ìboolean isOwner(Principal owner)
owner
- ÁÖü°¡ ¼ÒÀ¯ÀÚÀÏÁö ¾î¶³Áö¸¦ ÆÇÁ¤ÇÏ´Â ÁÖü
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.