You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
485 B

package com.gcc.communityHall;
import java.util.Optional;
import org.springframework.data.domain.AuditorAware;
import org.springframework.stereotype.Component;
@Component("auditAwareImpl")
public class AuditAwareImpl implements AuditorAware<String> {
/**
* Returns the current auditor of the application.
*
* @return the current auditor.
*/
@Override
public Optional<String> getCurrentAuditor() {
return Optional.of("ACCOUNTS_MS");
}
}