Modified: airavata/trunk/modules/security/src/test/java/org/apache/airavata/security/configurations/TestDBAuthenticator1.java URL: http://svn.apache.org/viewvc/airavata/trunk/modules/security/src/test/java/org/apache/airavata/security/configurations/TestDBAuthenticator1.java?rev=1438310&r1=1438309&r2=1438310&view=diff ============================================================================== --- airavata/trunk/modules/security/src/test/java/org/apache/airavata/security/configurations/TestDBAuthenticator1.java (original) +++ airavata/trunk/modules/security/src/test/java/org/apache/airavata/security/configurations/TestDBAuthenticator1.java Fri Jan 25 03:43:20 2013 @@ -1,3 +1,24 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ + package org.apache.airavata.security.configurations; import org.apache.airavata.security.AbstractDatabaseAuthenticator; @@ -11,27 +32,26 @@ public class TestDBAuthenticator1 extend @Override public void onSuccessfulAuthentication(Object authenticationInfo) { - //To change body of implemented methods use File | Settings | File Templates. + // To change body of implemented methods use File | Settings | File Templates. } @Override public void onFailedAuthentication(Object authenticationInfo) { - //To change body of implemented methods use File | Settings | File Templates. + // To change body of implemented methods use File | Settings | File Templates. } @Override public boolean authenticate(Object credentials) throws AuthenticationException { - return false; //To change body of implemented methods use File | Settings | File Templates. + return false; // To change body of implemented methods use File | Settings | File Templates. } @Override protected boolean doAuthentication(Object credentials) throws AuthenticationException { - return false; //To change body of implemented methods use File | Settings | File Templates. + return false; // To change body of implemented methods use File | Settings | File Templates. } @Override public boolean isAuthenticated(Object credentials) { - return false; //To change body of implemented methods use File | Settings | File Templates. + return false; // To change body of implemented methods use File | Settings | File Templates. } } -
Modified: airavata/trunk/modules/security/src/test/java/org/apache/airavata/security/configurations/TestDBAuthenticator2.java URL: http://svn.apache.org/viewvc/airavata/trunk/modules/security/src/test/java/org/apache/airavata/security/configurations/TestDBAuthenticator2.java?rev=1438310&r1=1438309&r2=1438310&view=diff ============================================================================== --- airavata/trunk/modules/security/src/test/java/org/apache/airavata/security/configurations/TestDBAuthenticator2.java (original) +++ airavata/trunk/modules/security/src/test/java/org/apache/airavata/security/configurations/TestDBAuthenticator2.java Fri Jan 25 03:43:20 2013 @@ -1,16 +1,30 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ + package org.apache.airavata.security.configurations; import org.apache.airavata.security.AbstractAuthenticator; import org.apache.airavata.security.AuthenticationException; import org.w3c.dom.Node; -/** - * Created with IntelliJ IDEA. - * User: thejaka - * Date: 9/6/12 - * Time: 6:30 PM - * To change this template use File | Settings | File Templates. - */ public class TestDBAuthenticator2 extends AbstractAuthenticator { public TestDBAuthenticator2() { @@ -19,27 +33,26 @@ public class TestDBAuthenticator2 extend @Override protected boolean doAuthentication(Object credentials) throws AuthenticationException { - return false; //To change body of implemented methods use File | Settings | File Templates. + return false; // To change body of implemented methods use File | Settings | File Templates. } @Override public void onSuccessfulAuthentication(Object authenticationInfo) { - //To change body of implemented methods use File | Settings | File Templates. + // To change body of implemented methods use File | Settings | File Templates. } @Override public void onFailedAuthentication(Object authenticationInfo) { - //To change body of implemented methods use File | Settings | File Templates. + // To change body of implemented methods use File | Settings | File Templates. } - @Override public boolean isAuthenticated(Object credentials) { - return false; //To change body of implemented methods use File | Settings | File Templates. + return false; // To change body of implemented methods use File | Settings | File Templates. } @Override public void configure(Node node) throws RuntimeException { - //To change body of implemented methods use File | Settings | File Templates. + // To change body of implemented methods use File | Settings | File Templates. } } Modified: airavata/trunk/modules/security/src/test/java/org/apache/airavata/security/configurations/TestDBAuthenticator3.java URL: http://svn.apache.org/viewvc/airavata/trunk/modules/security/src/test/java/org/apache/airavata/security/configurations/TestDBAuthenticator3.java?rev=1438310&r1=1438309&r2=1438310&view=diff ============================================================================== --- airavata/trunk/modules/security/src/test/java/org/apache/airavata/security/configurations/TestDBAuthenticator3.java (original) +++ airavata/trunk/modules/security/src/test/java/org/apache/airavata/security/configurations/TestDBAuthenticator3.java Fri Jan 25 03:43:20 2013 @@ -1,15 +1,29 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ + package org.apache.airavata.security.configurations; import org.apache.airavata.security.AbstractDatabaseAuthenticator; import org.apache.airavata.security.AuthenticationException; -/** - * Created with IntelliJ IDEA. - * User: thejaka - * Date: 9/6/12 - * Time: 6:30 PM - * To change this template use File | Settings | File Templates. - */ public class TestDBAuthenticator3 extends AbstractDatabaseAuthenticator { public TestDBAuthenticator3() { @@ -18,26 +32,26 @@ public class TestDBAuthenticator3 extend @Override public void onSuccessfulAuthentication(Object authenticationInfo) { - //To change body of implemented methods use File | Settings | File Templates. + // To change body of implemented methods use File | Settings | File Templates. } @Override public void onFailedAuthentication(Object authenticationInfo) { - //To change body of implemented methods use File | Settings | File Templates. + // To change body of implemented methods use File | Settings | File Templates. } @Override public boolean authenticate(Object credentials) throws AuthenticationException { - return false; //To change body of implemented methods use File | Settings | File Templates. + return false; // To change body of implemented methods use File | Settings | File Templates. } @Override protected boolean doAuthentication(Object credentials) throws AuthenticationException { - return false; //To change body of implemented methods use File | Settings | File Templates. + return false; // To change body of implemented methods use File | Settings | File Templates. } @Override public boolean isAuthenticated(Object credentials) { - return false; //To change body of implemented methods use File | Settings | File Templates. + return false; // To change body of implemented methods use File | Settings | File Templates. } }
