follow-up to dev call : ProfileInterceptorResult ?

Tom Zeller tzeller at dragonacea.biz
Fri Sep 19 13:26:12 EDT 2014


Scott,

Were you thinking that :

 ProfileInterceptorResult (which probably could loose the "Profile"
prefix) would be an interface ?

 The "master" post-authn-flow (in system/flows) would have actions to
read|write the result from|to storage ?

 ProfileInterceptorResult would be a field of the ProfileInterceptorContext ?

 Is the following class what you were thinking of generally, or something else ?

/**
 * Represents the result of a profile interceptor flow intended for storage by a
 * {@link org.opensaml.storage.StorageService}.
 */
@Context("storageContext")
@Key("storageKey")
@Value("storageValue")
@Expiration("storageExpiration")
public class ProfileInterceptorResult {

    /** The flow responsible for this result. */
    public ProfileInterceptorFlowDescriptor flowDescriptor;

    /** Storage context. */
    public String storageContext;

    /** Storage key. */
    public String storageKey;

    /** Storage value. */
    public String storageValue;

    /** Storage expiration. */
    public long storageExpiration;
}


More information about the dev mailing list