Uses of Interface
net.jini.core.constraint.InvocationConstraint

Packages that use InvocationConstraint
com.sun.jini.discovery Provides a set of constraints, low-level utility classes, and provider interfaces for participating in versions 1 and 2 of the multicast request, multicast announcement, and unicast discovery protocols. 
com.sun.jini.discovery.internal   
net.jini.core.constraint Defines constraints and collections of constraints that can be used to control method invocation, and an interface that proxies implement to allow clients to specify constraints for remote method calls. 
net.jini.jeri.http Provides implementations of the Endpoint and ServerEndpoint abstractions that use HTTP messages sent over TCP sockets as the underlying communication mechanism. 
net.jini.jeri.kerberos Provides implementations of Endpoint and ServerEndpoint that use Kerberos as the underlying network security protocol to support security related invocation constraints for remote requests. 
net.jini.jeri.ssl Provides implementations of Endpoint and ServerEndpoint that use TLS/SSL and HTTPS (HTTP over TLS/SSL) to support invocation constraints. 
net.jini.jeri.tcp Provides implementations of the Endpoint and ServerEndpoint abstractions that use TCP sockets as the underlying communication mechanism. 
 

Uses of InvocationConstraint in com.sun.jini.discovery
 

Classes in com.sun.jini.discovery that implement InvocationConstraint
 class DiscoveryProtocolVersion
          Represents a constraint on the version of the discovery protocol used to contact lookup services.
 class MulticastMaxPacketSize
          Represents a constraint on the size (in bytes) of multicast packets used in the multicast request and multicast announcement discovery protocols.
 class MulticastTimeToLive
          Represents a constraint on the time to live (TTL) value set on outgoing multicast request and multicast announcement packets.
 class UnicastSocketTimeout
          Represents a constraint on the timeout set on sockets used for unicast discovery.
 

Methods in com.sun.jini.discovery that return InvocationConstraint
(package private) abstract  InvocationConstraint DiscoveryConstraints.MaxValueReducer.getConstraintInstance(long value)
           
(package private)  InvocationConstraint DiscoveryConstraints.MulticastMaxPacketSizeReducer.getConstraintInstance(long value)
           
(package private)  InvocationConstraint DiscoveryConstraints.ConnectionAbsoluteTimeReducer.getConstraintInstance(long value)
           
 

Methods in com.sun.jini.discovery with parameters of type InvocationConstraint
(package private) abstract  long DiscoveryConstraints.MaxValueReducer.getValue(InvocationConstraint ic)
           
(package private)  long DiscoveryConstraints.MulticastMaxPacketSizeReducer.getValue(InvocationConstraint maxPacketSize)
           
(package private)  long DiscoveryConstraints.ConnectionAbsoluteTimeReducer.getValue(InvocationConstraint absTime)
           
 

Uses of InvocationConstraint in com.sun.jini.discovery.internal
 

Methods in com.sun.jini.discovery.internal with parameters of type InvocationConstraint
private static boolean X500Constraints.clientPrincipalSatisfies(X500Principal principal, InvocationConstraint constraint)
          Returns true if the specified client principal satisfies the given constraint; returns false otherwise.
private static Object X500Constraints.distill(InvocationConstraint constraint, boolean request)
          Returns distilled (principal-dependent) constraint, or SUPPORTED/UNSUPPORTED if the constraint is unconditionally supported or not supported.
private static boolean X500Constraints.serverPrincipalSatisfies(X500Principal principal, InvocationConstraint constraint)
          Returns true if the specified server principal satisfies the given constraint; returns false otherwise.
private static boolean Plaintext.supported(InvocationConstraint ic)
           
 

Uses of InvocationConstraint in net.jini.core.constraint
 

Subinterfaces of InvocationConstraint in net.jini.core.constraint
 interface RelativeTimeConstraint
          Implemented by constraints that are expressed in terms of relative time, to support conversion to absolute time constraints.
 

Classes in net.jini.core.constraint that implement InvocationConstraint
 class ClientAuthentication
          Represents a constraint on authentication of the client to the server.
 class ClientMaxPrincipal
          Represents a constraint on the client, such that if the client authenticates itself, then it may only authenticate itself as one or more of the specified principals.
 class ClientMaxPrincipalType
          Represents a constraint on the client, such that if the client authenticates itself, then it may only authenticate itself as principals that are instances of one or more of the specified classes.
 class ClientMinPrincipal
          Represents a constraint on the client, such that if the client authenticates itself, then it must authenticate itself as at least all of the specified principals.
 class ClientMinPrincipalType
          Represents a constraint on the client, such that if the client authenticates itself, then it must authenticate itself such that, for each specified class, at least one authenticated principal is an instance of that class.
 class Confidentiality
          Represents a constraint on the confidentiality of message contents.
 class ConnectionAbsoluteTime
          Represents a constraint on the absolute time by which a network connection must be established.
 class ConnectionRelativeTime
          Represents a constraint on the maximum amount of time to wait for a network connection to be established.
 class ConstraintAlternatives
          Combines two or more constraint alternatives into a single overall constraint.
 class Delegation
          Represents a constraint on delegation from the client to the server.
 class DelegationAbsoluteTime
          Represents a constraint on delegation, such that if delegation is permitted, it be permitted only for a range of absolute times.
 class DelegationRelativeTime
          Represents a constraint on delegation, such that if delegation is permitted, it be permitted only for a range of time measured relative to the start of the remote call.
 class Integrity
          Represents a constraint on the integrity of message contents, covering not only data transmitted in band as part of the remote call itself, but also out-of-band downloaded code.
 class ServerAuthentication
          Represents a constraint on authentication of the server to the client.
 class ServerMinPrincipal
          Represents a constraint on the server, such that if the server authenticates itself, then it must authenticate itself as at least all of the specified principals.
 

Fields in net.jini.core.constraint declared as InvocationConstraint
private  InvocationConstraint[] ConstraintAlternatives.constraints
          The alternative constraints.
private static InvocationConstraint[] InvocationConstraints.empty
          An empty array
private  InvocationConstraint[] InvocationConstraints.prefs
          The preferences.
private  InvocationConstraint[] InvocationConstraints.reqs
          The requirements.
 

Methods in net.jini.core.constraint that return InvocationConstraint
private static InvocationConstraint[] InvocationConstraints.concat(InvocationConstraint[] arr1, InvocationConstraint[] arr2)
          Returns a new array containing the elements of both arguments.
static InvocationConstraint ConstraintAlternatives.create(Collection c)
          Returns a constraint representing the specified alternative constraints, with duplicate constraints removed.
static InvocationConstraint ConstraintAlternatives.create(InvocationConstraint[] constraints)
          Returns a constraint representing the specified alternative constraints, with duplicate constraints removed.
(package private)  InvocationConstraint[] ConstraintAlternatives.getConstraints()
          Returns the elements, without copying.
private static InvocationConstraint[] InvocationConstraints.makeAbsolute(InvocationConstraint[] arr, long baseTime)
          Converts any relative constraints to absolute time.
 InvocationConstraint ConnectionRelativeTime.makeAbsolute(long baseTime)
          Returns a ConnectionAbsoluteTime instance with time obtained by adding the specified base time argument to the duration value from this instance.
 InvocationConstraint RelativeTimeConstraint.makeAbsolute(long baseTime)
          Converts this constraint to absolute time.
 InvocationConstraint DelegationRelativeTime.makeAbsolute(long baseTime)
          Returns a DelegationAbsoluteTime instance with times obtained by adding the specified base time argument to the duration values from this instance.
 InvocationConstraint ConstraintAlternatives.makeAbsolute(long baseTime)
          Returns a constraint equal to the result of taking the constraints in this instance, replacing each constraint that is an instance of RelativeTimeConstraint with the result of invoking that constraint's makeAbsolute method with the specified base time, and invoking the create method of this class with the revised collection of constraints.
private static InvocationConstraint[] ConstraintAlternatives.reduce(InvocationConstraint[] constraints)
          Verifies that the array has at least 2 elements, and that the elements are all non-null and not ConstraintAlternatives instances, removes duplicates, modifying the array in place, verifies that there are still at least 2 elements, and returns an array containing the remaining elements.
private static InvocationConstraint ConstraintAlternatives.reduce(InvocationConstraint[] constraints, boolean allAbs)
          Verifies that the array is non-empty, and that the elements are all non-null and not ConstraintAlternatives instances.
 

Methods in net.jini.core.constraint with parameters of type InvocationConstraint
private static InvocationConstraint[] InvocationConstraints.concat(InvocationConstraint[] arr1, InvocationConstraint[] arr2)
          Returns a new array containing the elements of both arguments.
private static InvocationConstraint[] InvocationConstraints.concat(InvocationConstraint[] arr1, InvocationConstraint[] arr2)
          Returns a new array containing the elements of both arguments.
static InvocationConstraint ConstraintAlternatives.create(InvocationConstraint[] constraints)
          Returns a constraint representing the specified alternative constraints, with duplicate constraints removed.
private static InvocationConstraint[] InvocationConstraints.makeAbsolute(InvocationConstraint[] arr, long baseTime)
          Converts any relative constraints to absolute time.
private static InvocationConstraint[] ConstraintAlternatives.reduce(InvocationConstraint[] constraints)
          Verifies that the array has at least 2 elements, and that the elements are all non-null and not ConstraintAlternatives instances, removes duplicates, modifying the array in place, verifies that there are still at least 2 elements, and returns an array containing the remaining elements.
private static InvocationConstraint ConstraintAlternatives.reduce(InvocationConstraint[] constraints, boolean allAbs)
          Verifies that the array is non-empty, and that the elements are all non-null and not ConstraintAlternatives instances.
private static int ConstraintAlternatives.reduce0(InvocationConstraint[] constraints)
          Eliminates duplicates, modifying the array in place, and returns the resulting number of elements.
private static boolean InvocationConstraints.relative(InvocationConstraint c)
          Returns true if the specified constraint either implements RelativeTimeConstraint or is an instance of ConstraintAlternatives with elements that implement RelativeTimeConstraint, and false otherwise.
private  void InvocationConstraints.setRelative(InvocationConstraint[] constraints, int flag)
          Sets the given flag in the rel field if any if the specified constraints are relative.
private static void InvocationConstraints.verify(InvocationConstraint[] constraints)
          Verifies that the array is non-null, the elements are all non-null, and there are no duplicates.
private static void ConstraintAlternatives.verify(InvocationConstraint[] constraints, int min)
          Verifies that the array has at least min elements, and that the elements are all non-null and not ConstraintAlternatives instances.
 

Constructors in net.jini.core.constraint with parameters of type InvocationConstraint
ConstraintAlternatives(InvocationConstraint[] constraints)
          Creates an instance containing the specified alternative constraints, with duplicate constraints removed.
ConstraintAlternatives(InvocationConstraint[] constraints, boolean allAbs)
          Creates a constraint containing the specified alternative constraints, and computes the rel field if allAbs is false.
InvocationConstraints(InvocationConstraint[] reqs, int reqidx, InvocationConstraint[] prefs, int prefidx, int rel)
          Creates an instance containing the specified requirements and preferences.
InvocationConstraints(InvocationConstraint[] reqs, int reqidx, InvocationConstraint[] prefs, int prefidx, int rel)
          Creates an instance containing the specified requirements and preferences.
InvocationConstraints(InvocationConstraint[] reqs, InvocationConstraint[] prefs)
          Creates an instance that has all of the constraints from the first array, reqs, added as requirements if the array is a non-null value, and has all of the constraints from the second array, prefs, added as preferences if the array is a non-null value.
InvocationConstraints(InvocationConstraint[] reqs, InvocationConstraint[] prefs)
          Creates an instance that has all of the constraints from the first array, reqs, added as requirements if the array is a non-null value, and has all of the constraints from the second array, prefs, added as preferences if the array is a non-null value.
InvocationConstraints(InvocationConstraint req, InvocationConstraint pref)
          Creates an instance that has the first constraint, req, added as a requirement if it is a non-null value, and has the second constraint, pref, added as a preference if it is a non-null value and is not a duplicate of the requirement.
 

Uses of InvocationConstraint in net.jini.jeri.http
 

Methods in net.jini.jeri.http with parameters of type InvocationConstraint
private  void Constraints.Distilled.addConstraint(InvocationConstraint constraint, boolean isRequirement)
          If "isRequirement" is true, throws an UnsupportedConstraintException if we do not support at least the transport layer aspects of the given constraint.
private static int Constraints.getSupport(InvocationConstraint c)
          Returns this provider's general support for the given constraint.
 

Uses of InvocationConstraint in net.jini.jeri.kerberos
 

Methods in net.jini.jeri.kerberos with parameters of type InvocationConstraint
(package private) static boolean KerberosUtil.collectCpCandidates(InvocationConstraint c, Set cpCandidates)
          Collect all client principal candidates from the given constraint.
(package private) static boolean KerberosUtil.containsConstraint(Set constraints, InvocationConstraint candidate)
          Check whether the given set of constraints contains the candidate constraint.
(package private) static boolean KerberosUtil.isSatisfiable(KerberosUtil.Config config, InvocationConstraint c)
          Test whether the specified configuration is satisfiable by the given constraint.
(package private) static boolean KerberosUtil.isSupportableConstraint(InvocationConstraint c)
          Test whether the specified constraint can possibly be supported by this provider.
(package private) static boolean KerberosUtil.isSupportedConstraintType(InvocationConstraint c)
          Check whether the type of the specified constraint is supported by this provider.
 

Uses of InvocationConstraint in net.jini.jeri.ssl
 

Classes in net.jini.jeri.ssl that implement InvocationConstraint
 class ConfidentialityStrength
          Represents a constraint that, if confidentiality of message contents is ensured, the specified strength of confidentiality be used.
 

Methods in net.jini.jeri.ssl with parameters of type InvocationConstraint
private static Set Utilities.getPrincipals(InvocationConstraint constraint, boolean client)
          Returns the principals specified by a ClientMinPrincipal, ClientMaxPrincipal, or ServerMinPrincipal constraint, or an alternatives of one of those types.
private  long ConnectionContext.supported(InvocationConstraint constraint)
          Checks if the constraint is supported, returning NOT_SUPPORTED if it is not supported, INTEGRITY if the constraint is Integrity.YES or constraint alternatives with elements of type Integrity, the connection time if the constraint is an instance of ConnectionAbsoluteTime or constraint alternatives of them, and otherwise OK.
 

Uses of InvocationConstraint in net.jini.jeri.tcp
 

Methods in net.jini.jeri.tcp with parameters of type InvocationConstraint
private  void Constraints.Distilled.addConstraint(InvocationConstraint constraint, boolean isRequirement)
          If "isRequirement" is true, throws an UnsupportedConstraintException if we do not support at least the transport layer aspects of the given constraint.
private static int Constraints.getSupport(InvocationConstraint c)
          Returns this provider's general support for the given constraint.
 



Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.