[java-identity-provider COMMIT] /trunk/idp-authn-api/src/main/java/net/shibboleth/idp/session/IdPSession.java
noreply at shibboleth.net
noreply at shibboleth.net
Mon Aug 22 20:40:07 BST 2011
Author: lajoie
Date: Mon Aug 22 20:40:07 2011
New Revision: 4028
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4028&view=rev
Log:
Make IdPSession constructor protected in order to discourage direct instantiation
Modified:
trunk/idp-authn-api/src/main/java/net/shibboleth/idp/session/IdPSession.java
Modified: trunk/idp-authn-api/src/main/java/net/shibboleth/idp/session/IdPSession.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-api/src/main/java/net/shibboleth/idp/session/IdPSession.java?rev=4028&r1=4027&r2=4028&view=diff
==============================================================================
--- trunk/idp-authn-api/src/main/java/net/shibboleth/idp/session/IdPSession.java (original)
+++ trunk/idp-authn-api/src/main/java/net/shibboleth/idp/session/IdPSession.java Mon Aug 22 20:40:07 2011
@@ -61,7 +61,7 @@
* Creation and last activity instant are initialized to now. Authentication events collection is initialized to an
* empty {@link Vector}. Service session collection is initialized to an empty {@link ConcurrentHashMap}.
*/
- public IdPSession() {
+ protected IdPSession() {
super();
creationInstant = System.currentTimeMillis();
More information about the commits
mailing list