Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Commit 0427c5f

Browse files
committed
Updated license and comments throughout spring tutorial.
1 parent b75d4ba commit 0427c5f

File tree

20 files changed

+170
-11
lines changed

20 files changed

+170
-11
lines changed

tutorials/spring/00-the-basics/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
~ Copyright 2015 Stormpath, Inc.
3+
~ Copyright 2016 Stormpath, Inc.
44
~
55
~ Licensed under the Apache License, Version 2.0 (the "License");
66
~ you may not use this file except in compliance with the License.

tutorials/spring/00-the-basics/src/main/java/com/stormpath/tutorial/HelloController.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2016 Stormpath, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.stormpath.tutorial;
217

318
import com.stormpath.sdk.application.Application;
@@ -7,6 +22,9 @@
722

823
import javax.servlet.http.HttpServletRequest;
924

25+
/**
26+
* @since 1.3.0
27+
*/
1028
@RestController
1129
public class HelloController {
1230

tutorials/spring/00-the-basics/src/main/java/com/stormpath/tutorial/WebAppConfig.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2016 Stormpath, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.stormpath.tutorial;
217

318
import com.stormpath.sdk.application.Application;
@@ -12,6 +27,9 @@
1227
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
1328
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
1429

30+
/**
31+
* @since 1.3.0
32+
*/
1533
@Configuration
1634
@EnableWebMvc
1735
@EnableStormpath //Stormpath base beans

tutorials/spring/00-the-basics/src/main/java/com/stormpath/tutorial/WebAppInitializer.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2016 Stormpath, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.stormpath.tutorial;
217

318
import org.springframework.web.WebApplicationInitializer;
@@ -13,6 +28,9 @@
1328
import javax.servlet.ServletRegistration;
1429
import java.util.EnumSet;
1530

31+
/**
32+
* @since 1.3.0
33+
*/
1634
public class WebAppInitializer implements WebApplicationInitializer {
1735

1836
@Override

tutorials/spring/00-the-basics/src/main/resources/logback.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
~ Copyright 2015 Stormpath, Inc.
3+
~ Copyright 2016 Stormpath, Inc.
44
~
55
~ Licensed under the Apache License, Version 2.0 (the "License");
66
~ you may not use this file except in compliance with the License.

tutorials/spring/00-the-basics/src/main/webapp/WEB-INF/web.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
<!--
2+
~ Copyright 2016 Stormpath, Inc.
3+
~
4+
~ Licensed under the Apache License, Version 2.0 (the "License");
5+
~ you may not use this file except in compliance with the License.
6+
~ You may obtain a copy of the License at
7+
~
8+
~ http://www.apache.org/licenses/LICENSE-2.0
9+
~
10+
~ Unless required by applicable law or agreed to in writing, software
11+
~ distributed under the License is distributed on an "AS IS" BASIS,
12+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
~ See the License for the specific language governing permissions and
14+
~ limitations under the License.
15+
-->
116
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
217
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
318
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"

tutorials/spring/01-some-access-controls/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
~ Copyright 2015 Stormpath, Inc.
3+
~ Copyright 2016 Stormpath, Inc.
44
~
55
~ Licensed under the Apache License, Version 2.0 (the "License");
66
~ you may not use this file except in compliance with the License.

tutorials/spring/01-some-access-controls/src/main/java/com/stormpath/tutorial/WebAppConfig.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2016 Stormpath, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.stormpath.tutorial;
217

318
import com.stormpath.sdk.application.Application;
@@ -12,6 +27,9 @@
1227
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
1328
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
1429

30+
/**
31+
* @since 1.3.0
32+
*/
1533
@Configuration
1634
@EnableWebMvc
1735
@EnableStormpath //Stormpath base beans

tutorials/spring/01-some-access-controls/src/main/java/com/stormpath/tutorial/WebAppInitializer.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2016 Stormpath, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.stormpath.tutorial;
217

318
import org.springframework.web.WebApplicationInitializer;
@@ -13,6 +28,9 @@
1328
import javax.servlet.ServletRegistration;
1429
import java.util.EnumSet;
1530

31+
/**
32+
* @since 1.3.0
33+
*/
1634
public class WebAppInitializer implements WebApplicationInitializer {
1735

1836
@Override

tutorials/spring/01-some-access-controls/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2015 Stormpath, Inc.
2+
# Copyright 2016 Stormpath, Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)