T
- The type of object which dictates the semantics/restrictions of shared
objects.public interface Shareable<T>
Modifier and Type | Method and Description |
---|---|
UserCredentials |
getSharingCredentials(String identifier)
Returns a full set of credentials which can be used to authenticate as a
user with access strictly to this object.
|
UserCredentials getSharingCredentials(String identifier) throws org.apache.guacamole.GuacamoleException
T
associated with the given
identifier and within the
Directory
<T
> of the same UserContext
that
this Shareable was retrieved from.identifier
- The identifier of a T
within the
Directory
<T
> of the same UserContext
that this Shareable was retrieved from.org.apache.guacamole.GuacamoleException
- If credentials could not be generated, or permission to share this
object is denied.Copyright © 2016. All rights reserved.