Skip to content

Commit

Permalink
issue #25 : support layers model
Browse files Browse the repository at this point in the history
  • Loading branch information
OhadR committed Apr 29, 2014
1 parent 7ce9781 commit cdbf482
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
@RequestMapping(value = "/aa")
public class ActivateAccountEndpoint extends FlowsEndpointsCommon
{
@Autowired
private AuthenticationFlowsProcessor processor;


@RequestMapping
public View activateAccount(HttpServletRequest request) throws IOException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import com.ohadr.auth_flows.config.AuthFlowsProperties;
import com.ohadr.auth_flows.core.FlowsUtil;
import com.ohadr.auth_flows.interfaces.AuthenticationFlowsProcessor;
import com.ohadr.crypto.exception.CryptoException;
import com.ohadr.crypto.service.CryptoService;

Expand All @@ -20,6 +21,11 @@ public abstract class FlowsEndpointsCommon
@Autowired
private CryptoService cryptoService;

@Autowired
protected AuthenticationFlowsProcessor processor;




protected EmailExtractedData extractEmailData(HttpServletRequest request) throws CryptoException
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class RestorePasswordEndpoint extends FlowsEndpointsCommon
{
private static Logger log = Logger.getLogger(RestorePasswordEndpoint.class);

//TODO: use processor to delegate to repo
@Autowired
private AuthenticationAccountRepository repository;

Expand Down

0 comments on commit cdbf482

Please sign in to comment.