ASF Bugzilla – Attachment 14170 Details for
Bug 33363
Slide needs to allow client to set non-inheritable Ace programmatically
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Client patch
client_patch.txt (text/plain), 1.80 KB, created by
Nick Longinow
on 2005-02-03 16:55:34 UTC
(
hide
)
Description:
Client patch
Filename:
MIME Type:
Creator:
Nick Longinow
Created:
2005-02-03 16:55:34 UTC
Size:
1.80 KB
patch
obsolete
>Index: Ace.java >========================================================================================== >54a55,61 >> public Ace(String principal, boolean negative, boolean protectedAce, >> boolean inheritable) { >> this(principal, negative, protectedAce, false, null); >> this.inheritable = inheritable; >> } >> >> >87a95,98 >> /** >> * Inheritable. >> */ >> protected boolean inheritable = true; >107c118,119 >< public String getPrincipal() { >--- >> public String getPrincipal() >> { >166a179,192 >> /** >> * Inheritable mutator. >> */ >> public void setInheritable(boolean inheritable) { >> this.inheritable = inheritable; >> } >> >> /** >> * Inheritable accessor. >> */ >> public boolean isInheritable() >> { >> return inheritable; >> } >171c197,198 >< public String getInheritedFrom() { >--- >> public String getInheritedFrom() >> { > >Index: AclMethod.java >========================================================================================= >138a139,143 >> if (ace.isInheritable() != true) { >> printer.writeElement("S", "http://jakarta.apache.org/slide/", >> "non-inheritable", XMLPrinter.NO_CONTENT); >> } >> > >Index: AclProperty.java >======================================================================================== >183a184,189 >> child = DOMUtils.getFirstElement(element, "http://jakarta.apache.org/slide/", "non-inheritable"); >> if (child != null) >> { >> ace.setInheritable(false); >> } >>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 33363
:
14159
| 14170 |
14171