From 20de91930de89797e629182c61bc81d28e57092f Mon Sep 17 00:00:00 2001 From: Christian Wagner Date: Thu, 22 Jan 2015 16:12:58 +0100 Subject: add 'getTimeStamp()' method --- .../moa/id/config/auth/NewAuthConfigurationProvider.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'id/server') diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/NewAuthConfigurationProvider.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/NewAuthConfigurationProvider.java index a667ff355..0be1dc94b 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/NewAuthConfigurationProvider.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/NewAuthConfigurationProvider.java @@ -8,6 +8,7 @@ import java.math.BigInteger; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; +import java.util.Date; import java.util.List; import java.util.Properties; @@ -907,6 +908,15 @@ public class NewAuthConfigurationProvider extends ConfigurationProvider implemen return null; } + /** + * Returns the current time. + * @return the time stamp + */ + public static Date getTimeStamp() { + + return new Date(); + } + /** * Returns a list of all {@link OnlineApplication}. * -- cgit v1.2.3