Page History
...
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
package ...; import com.blueriq.component.api.externalflow.data.mapping.AuthenticationMapper; // other imports ... @Component public class CustomAuthenticationMapper implements AuthenticationMapper { @Override public String authenticationType() { // add implementation here return null; } @Override public boolean supportsContract(ContractVersion contractVersion) { // add implementation here return false; } @Override public boolean canMap(Authentication authentication) { // add implementation here return false; } @Override public void fillModel(ObjectModelCreation objectModel, Authentication authentication) { // add implementation here } @Override public Authentication toAuthentication(ObjectModelRetrieval objectModel) { // add implementation here return null; } } |
Example CustomBlueriqAuthentication AuthenticationMapper
Adding the dependencies
The following dependencies are required in the pom.xml
...
Overview
Content Tools