diff options
author | Christian Wagner <c.wagner@datentechnik-innovation.com> | 2015-01-22 16:12:58 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2015-06-19 11:09:21 +0200 |
commit | 20de91930de89797e629182c61bc81d28e57092f (patch) | |
tree | 0b32217b5a1840ee94d7095cc1b069885a3d753b /id/server | |
parent | e27e11fbf9003cc4cfb04b52b1acd18253ee5b93 (diff) | |
download | moa-id-spss-20de91930de89797e629182c61bc81d28e57092f.tar.gz moa-id-spss-20de91930de89797e629182c61bc81d28e57092f.tar.bz2 moa-id-spss-20de91930de89797e629182c61bc81d28e57092f.zip |
add 'getTimeStamp()' method
Diffstat (limited to 'id/server')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/NewAuthConfigurationProvider.java | 10 |
1 files changed, 10 insertions, 0 deletions
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; @@ -908,6 +909,15 @@ public class NewAuthConfigurationProvider extends ConfigurationProvider implemen } /** + * Returns the current time. + * @return the time stamp + */ + public static Date getTimeStamp() { + + return new Date(); + } + + /** * Returns a list of all {@link OnlineApplication}. * * @return list of all OnlineApplications |