package at.ac.tuwien.inso.service;

import at.ac.tuwien.inso.entity.*;

public interface UserCreationService {

    PendingAccountActivation create(UisUser user);
}

@@ -29,16 +29,82 @@
 rvice;%0A%0A
+import org.springframework.security.access.prepost.PreAuthorize;%0A%0A
 import a
@@ -171,16 +171,54 @@
 vice %7B%0A%0A
+    @PreAuthorize(%22hasRole('ADMIN')%22)%0A
     Pend

Add method security for UserCreationService