# Re: sun.security.acl.*

Charlie Lai (Charlie.Lai@eng.sun.com)
Mon, 15 Mar 1999 12:50:07 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Charlie Lai: "Re: Information on ACL"
- Previous message: Zhang, Hua: "read certificate"

    From: Charlie.Lai@eng.sun.com (Charlie Lai)

    Message-Id: <199903152050.MAA07542@angeles.eng.sun.com>

    Subject: Re: sun.security.acl.*

    To: hintze@Siemens.MD.ST.Schule.DE (Tobias Hintze)

    Date: Mon, 15 Mar 1999 12:50:07 -0800 (PST)

    In-Reply-To: <19990311190854.A3038@siemens.siemens.md.st.schule.de> from "Tobias Hintze" at Mar 11, 99 07:08:54 pm

> i read about java.security.acl at
> http://java.sun.com/products/jdk/1.1/docs/guide/security/Acl.html
> unfortunately the example source code uses the sun.security.acl
> package.
> i would like to use this package too. but sun.* package is undocumented
> and may change...
> is the source of the sun.security.acl.* classes available. it would
> be a great help to learn how to implement the functionality used
> in the AclEx-example (at the above url) for my own uses.

actually, if it's possible, instead of using the ACL classes,
we prefer you to implement your own
permissions (based on java.security.Permission or
java.security.BasicPermission) and then piggyback off the
existing access control architecture implemented by
java.lang.SecurityManager. that way you can also use
the existing access control policy as well.
some tutorials which might help you get started
(and determine if this is feasible) are located at:
http://java.sun.com/docs/books/tutorial/security1.2/index.html
of particular interest would be the trail which teaches you how
to implement your own permission:
http://java.sun.com/docs/books/tutorial/security1.2/userperm/index.html

hopefully that is helpful.
thanks,
charlie

- Next message: Charlie Lai: "Re: Information on ACL"
- Previous message: Zhang, Hua: "read certificate"