Interface Owned
-
public interface Owned
Describes a method response object, or method parameter object, that can be validated for ownership against the currently logged in user. Generally, an identification authentication detail is compared against the identifier from the object for confirmation of ownership. This is generally enforced viaTrackablePolicyUtils.validateOwner(Object, IdentityType[], String)
.Common use-cases for this interface are generally customer owned data such as customer billing/shipping addresses, orders, etc.
- Author:
- Jeff Fischer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getOwnerIdentifier()
A unique identifier associating a business domain object to a user.
-
-
-
Method Detail
-
getOwnerIdentifier
String getOwnerIdentifier()
A unique identifier associating a business domain object to a user. Most commonly, this is a user id, customer id, etc.- Returns:
- A unique identifier associating a business domain object to a user.
-
-