]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.common/src/org/simantics/db/common/auth/UserAuthenticationAgents.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.db.common / src / org / simantics / db / common / auth / UserAuthenticationAgents.java
index 8c4a408a1c68cac8f78b091c8ca18eedced82b37..7c900da74eb2e926910e8405c4e42e76c3ee1d1a 100644 (file)
@@ -1,39 +1,39 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.db.common.auth;\r
-\r
-import org.simantics.db.authentication.UserAuthenticationAgent;\r
-import org.simantics.db.authentication.UserAuthenticator;\r
-import org.simantics.db.service.ServerInformation;\r
-\r
-public class UserAuthenticationAgents {\r
-\r
-    private static class Static implements UserAuthenticationAgent {\r
-        \r
-        private final UserAuthenticator auth;\r
-\r
-        public Static(UserAuthenticator auth) {\r
-            this.auth = auth;\r
-        }\r
-\r
-        @Override\r
-        public UserAuthenticator getAuthenticator(ServerInformation information) {\r
-            return auth;\r
-        }\r
-        \r
-    }\r
-\r
-    public static UserAuthenticationAgent staticAgent(UserAuthenticator auth) {\r
-        return new Static(auth);\r
-    }\r
-\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2010 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.db.common.auth;
+
+import org.simantics.db.authentication.UserAuthenticationAgent;
+import org.simantics.db.authentication.UserAuthenticator;
+import org.simantics.db.service.ServerInformation;
+
+public class UserAuthenticationAgents {
+
+    private static class Static implements UserAuthenticationAgent {
+        
+        private final UserAuthenticator auth;
+
+        public Static(UserAuthenticator auth) {
+            this.auth = auth;
+        }
+
+        @Override
+        public UserAuthenticator getAuthenticator(ServerInformation information) {
+            return auth;
+        }
+        
+    }
+
+    public static UserAuthenticationAgent staticAgent(UserAuthenticator auth) {
+        return new Static(auth);
+    }
+
 }
\ No newline at end of file