Added default constructor to ConnectAuthorizationRequestManager

pull/263/head
Amanda Anganes 12 years ago
parent af81e371fb
commit a1a117cfde

@ -34,10 +34,23 @@ public class ConnectAuthorizationRequestManager implements AuthorizationRequestM
//TODO how to specify this? Should use int "nonceValiditySeconds" instead?
private Period nonceStorageDuration = new Period(1, 0, 0, 0, 0, 0, 0, 0);
/**
* Constructor with arguments
*
* @param clientDetailsService
* @param nonceService
*/
public ConnectAuthorizationRequestManager(ClientDetailsService clientDetailsService, NonceService nonceService) {
this.clientDetailsService = clientDetailsService;
this.nonceService = nonceService;
}
/**
* Default empty constructor
*/
public ConnectAuthorizationRequestManager() {
}
@Override
public AuthorizationRequest createAuthorizationRequest(Map<String, String> parameters) {

Loading…
Cancel
Save