X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fauthentication%2FUserAuthenticationAgent.java;h=dbce5f88cf7f9165671b6df2d09cf9342ad4027d;hb=b2bb3ff110b5bf929b6d676f0122a15a43358440;hp=1b7adb450466af9a62a110445bbacbf33421809e;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db/src/org/simantics/db/authentication/UserAuthenticationAgent.java b/bundles/org.simantics.db/src/org/simantics/db/authentication/UserAuthenticationAgent.java index 1b7adb450..dbce5f88c 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/authentication/UserAuthenticationAgent.java +++ b/bundles/org.simantics.db/src/org/simantics/db/authentication/UserAuthenticationAgent.java @@ -1,27 +1,27 @@ -/******************************************************************************* - * 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.authentication; - -import java.io.IOException; - -import org.simantics.db.service.ServerInformation; - -public interface UserAuthenticationAgent { - - /** - * @param information - * @return null to proceed without authentication - * @throws IOException if something goes wrong with the authentication - */ - UserAuthenticator getAuthenticator(ServerInformation information) throws IOException; - -} +/******************************************************************************* + * 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.authentication; + +import java.io.IOException; + +import org.simantics.db.service.ServerInformation; + +public interface UserAuthenticationAgent { + + /** + * @param information + * @return null to proceed without authentication + * @throws IOException if something goes wrong with the authentication + */ + UserAuthenticator getAuthenticator(ServerInformation information) throws IOException; + +}