All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.picketlink.idm.spi.ContextInitializer Maven / Gradle / Ivy

There is a newer version: 5.0.0-2013Jan16
Show newest version
package org.picketlink.idm.spi;

/**
 * 

Context initializers can be used populate an specific {@link org.picketlink.idm.spi.IdentityContext} instance * with additional state.

* *

Usually, this is useful when a specific {@link org.picketlink.idm.spi.IdentityStore} requires a specific resource or state * in order to perform an identity operation.

* *

They can be provided at configuration time using the {@link org.picketlink.idm.config.IdentityStoreConfigurationBuilder#addContextInitializer(ContextInitializer)}.

* * @author Shane Bryzak * */ public interface ContextInitializer { /** *

This method is invoked once and right after the {@link org.picketlink.idm.spi.IdentityContext} is created.

* * @param context * @param store */ void initContextForStore(IdentityContext context, IdentityStore store); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy