I don't think we should be calling this LoginInterceptor since it actually doesn't intercept a login request. Its more of a login workflow, a function that executes after login.
Thanks, NuwanD. On Tue, Jan 13, 2015 at 1:22 PM, Lakshman Udayakantha <[email protected]> wrote: > Hi All, > > I am working on [1]. In that I have to implement the application and > subscription sharing capability based on the organisation of the login > user. I have to create a Login interceptor interface to determine the > organisation of login user. We have to extract the organisation identifier > from login response using login interceptor. below is a proposed login > interceptor interface. > > public interface LoginInterceptor { > > public String getOrganization(String response); > > } > > When using WSO2 identity server we can add organisation as an attribute to > SAML response and we can extract it in the implementation of the > interceptor in API Manager side. Appreciate your thought on this. > > [1]https://redmine.wso2.com/issues/2917 > > -- > Lakshman Udayakantha > WSO2 Inc. www.wso2.com > lean.enterprise.middleware > Mobile: *0711241005 <0711241005>* > > -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : [email protected] Phone : +94 777 775 729
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
