/** * <p>Configures a specific {@link org.picketlink.http.authentication.HttpAuthenticationScheme}.</p> * * <p>You may use this method to provide your own authentication scheme.</p> * * @return */ public CustomAuthenticationConfigurationBuilder scheme(Class<? extends HttpAuthenticationScheme> schemeType) { this.authenticationMethodConfigurationBuilder = new CustomAuthenticationConfigurationBuilder(schemeType, this.parentBuilder); return (CustomAuthenticationConfigurationBuilder) this.authenticationMethodConfigurationBuilder; }
/** * <p>Configures a specific {@link org.picketlink.http.authentication.HttpAuthenticationScheme}.</p> * * <p>You may use this method to provide your own authentication scheme.</p> * * @return */ public CustomAuthenticationConfigurationBuilder scheme(Class<? extends HttpAuthenticationScheme> schemeType) { this.authenticationMethodConfigurationBuilder = new CustomAuthenticationConfigurationBuilder(schemeType, this.parentBuilder); return (CustomAuthenticationConfigurationBuilder) this.authenticationMethodConfigurationBuilder; }
/** * <p>Configures a specific {@link org.picketlink.http.authentication.HttpAuthenticationScheme}.</p> * * <p>You may use this method to provide your own authentication scheme.</p> * * @return */ public CustomAuthenticationConfigurationBuilder scheme(Class<? extends HttpAuthenticationScheme> schemeType) { this.authenticationMethodConfigurationBuilder = new CustomAuthenticationConfigurationBuilder(schemeType, this.parentBuilder); return (CustomAuthenticationConfigurationBuilder) this.authenticationMethodConfigurationBuilder; }