Version: 1.0
11 | */
12 | public interface UserDao {
13 |
14 | public User createUser(User user);
15 | public void updateUser(User user);
16 | public void deleteUser(Long userId);
17 |
18 | public void correlationRoles(Long userId, Long... roleIds);
19 | public void uncorrelationRoles(Long userId, Long... roleIds);
20 |
21 | User findOne(Long userId);
22 |
23 | User findByUsername(String username);
24 |
25 | Set findRoles(String username);
26 |
27 | Set findPermissions(String username);
28 | }
29 |
--------------------------------------------------------------------------------
/client/src/main/java/com/github/zhangkaitao/shiro/chapter15/service/PermissionServiceImpl.java:
--------------------------------------------------------------------------------
1 | package com.github.zhangkaitao.shiro.chapter15.service;
2 |
3 | import com.github.zhangkaitao.shiro.chapter15.dao.PermissionDao;
4 | import com.github.zhangkaitao.shiro.chapter15.entity.Permission;
5 |
6 | /**
7 | *
User: Zhang Kaitao
8 | *
Date: 14-1-28
9 | *
Version: 1.0
10 | */
11 | public class PermissionServiceImpl implements PermissionService {
12 |
13 | private PermissionDao permissionDao;
14 |
15 | public void setPermissionDao(PermissionDao permissionDao) {
16 | this.permissionDao = permissionDao;
17 | }
18 |
19 | public Permission createPermission(Permission permission) {
20 | return permissionDao.createPermission(permission);
21 | }
22 |
23 | public void deletePermission(Long permissionId) {
24 | permissionDao.deletePermission(permissionId);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/client/src/main/java/io/github/howiefh/cas/session/HashMapBackedSessionMappingStorage.java:
--------------------------------------------------------------------------------
1 | package io.github.howiefh.cas.session;
2 |
3 | import org.apache.shiro.session.Session;
4 |
5 | import java.io.Serializable;
6 | import java.util.HashMap;
7 | import java.util.Map;
8 |
9 | /**
10 | * 存储ticket到sessionID的映射
11 | */
12 | public final class HashMapBackedSessionMappingStorage {
13 |
14 | /**
15 | * Maps the ID from the CAS server to the Session ID.
16 | */
17 | private final Map MANAGED_SESSIONS_ID = new HashMap();
18 |
19 | public synchronized void addSessionById(String mappingId, Session session) {
20 | MANAGED_SESSIONS_ID.put(mappingId, session.getId());
21 |
22 | }
23 |
24 | public synchronized Serializable getSessionIDByMappingId(String mappingId) {
25 | return MANAGED_SESSIONS_ID.get(mappingId);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/server/src/test/webtest/modules/getLogout.xml:
--------------------------------------------------------------------------------
1 |
21 |
22 |
--------------------------------------------------------------------------------
/server/src/test/webtest/properties/local.properties:
--------------------------------------------------------------------------------
1 | #Place here your WEBTEST_HOME
2 |
3 | #
4 | # Licensed to Jasig under one or more contributor license
5 | # agreements. See the NOTICE file distributed with this work
6 | # for additional information regarding copyright ownership.
7 | # Jasig licenses this file to you under the Apache License,
8 | # Version 2.0 (the "License"); you may not use this file
9 | # except in compliance with the License. You may obtain a
10 | # copy of the License at the following location:
11 | #
12 | # http://www.apache.org/licenses/LICENSE-2.0
13 | #
14 | # Unless required by applicable law or agreed to in writing,
15 | # software distributed under the License is distributed on an
16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | # KIND, either express or implied. See the License for the
18 | # specific language governing permissions and limitations
19 | # under the License.
20 | #
21 |
22 | webtest.home=C:/Program Files/Canoo/
23 |
--------------------------------------------------------------------------------
/client/src/main/resources/resources.properties:
--------------------------------------------------------------------------------
1 | ## shiro
2 | shiro.session.timeout=1800000
3 | shiro.session.validate.timespan=1800000
4 | # cas\u767B\u5F55URL
5 | shiro.login.url=https://localhost:8443/cas-server/login?service=https://localhost:8443/cas-client/cas
6 | # cas logout
7 | shiro.logout.url=https://localhost:8443/cas-server/logout?service=https://localhost:8443/cas-client
8 | # cas\u767B\u5F55\u6210\u529F\u8DF3\u8F6CURL
9 | shiro.login.success.url=https://localhost:8443/cas-client
10 | # cas\u670D\u52A1\u5668URL
11 | shiro.casServer.url=https://localhost:8443/cas-server
12 | # \u5BA2\u6237\u7AEFCAS\u767B\u5F55URL
13 | shiro.client.cas=https://localhost:8443/cas-client/cas
14 | # \u5BA2\u6237\u7AEFCAS\u9A8C\u8BC1\u5931\u8D25\u8DF3\u8F6CURL
15 | shiro.failureUrl=/casFailure.jsp
16 |
17 | ## dataSource
18 | dataSource.driver=com.mysql.jdbc.Driver
19 | dataSource.url=jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8
20 | dataSource.username=root
21 | dataSource.password=123456
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/openid/casOpenIdAssociationFailureView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%= "openid.mode:cancel\n" %>
--------------------------------------------------------------------------------
/server/src/test/webtest/modules/checkLoginSuccess.xml:
--------------------------------------------------------------------------------
1 |
21 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/openid/casOpenIdServiceFailureView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%= "openid.mode:id_res\nis_valid:false\n" %>
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/openid/casOpenIdServiceSuccessView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%= "openid.mode:id_res\nis_valid:true\n" %>
--------------------------------------------------------------------------------
/server/src/test/webtest/modules/checkWarnPage.xml:
--------------------------------------------------------------------------------
1 |
21 |
--------------------------------------------------------------------------------
/server/src/test/webtest/modules/getLoginFormWithoutService.xml:
--------------------------------------------------------------------------------
1 |
21 |
22 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/openid/user.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/server/src/test/webtest/modules/getLoginFormWithService.xml:
--------------------------------------------------------------------------------
1 |
21 |
22 |
--------------------------------------------------------------------------------
/server/src/main/resources/cas-theme-default.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to Jasig under one or more contributor license
3 | # agreements. See the NOTICE file distributed with this work
4 | # for additional information regarding copyright ownership.
5 | # Jasig licenses this file to you under the Apache License,
6 | # Version 2.0 (the "License"); you may not use this file
7 | # except in compliance with the License. You may obtain a
8 | # copy of the License at the following location:
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing,
13 | # software distributed under the License is distributed on an
14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | # KIND, either express or implied. See the License for the
16 | # specific language governing permissions and limitations
17 | # under the License.
18 | #
19 |
20 | #standard.custom.css.file=/css/cas.css
21 | #cas.javascript.file=/js/cas.js
22 | standard.custom.css.file=/css/custom-cas.css
23 | cas.javascript.file=/js/custom-cas.js
24 |
--------------------------------------------------------------------------------
/server/src/test/webtest/modules/checkBadCredentials.xml:
--------------------------------------------------------------------------------
1 |
21 |
--------------------------------------------------------------------------------
/server/src/test/webtest/modules/extractServiceTicket.xml:
--------------------------------------------------------------------------------
1 |
21 |
22 | def m = step.webtestProperties.location;
23 | step.setWebtestProperty('serviceTicket',m.substring(m.indexOf("ST-")),'dynamic');
24 |
--------------------------------------------------------------------------------
/server/src/main/resources/saml_views.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to Jasig under one or more contributor license
3 | # agreements. See the NOTICE file distributed with this work
4 | # for additional information regarding copyright ownership.
5 | # Jasig licenses this file to you under the Apache License,
6 | # Version 2.0 (the "License"); you may not use this file
7 | # except in compliance with the License. You may obtain a
8 | # copy of the License at the following location:
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing,
13 | # software distributed under the License is distributed on an
14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | # KIND, either express or implied. See the License for the
16 | # specific language governing permissions and limitations
17 | # under the License.
18 | #
19 |
20 | ### SAML Views
21 | casSamlServiceSuccessView.(class)=org.jasig.cas.support.saml.web.view.Saml10SuccessResponseView
22 | casSamlServiceSuccessView.issuer=localhost
23 |
24 | casSamlServiceFailureView.(class)=org.jasig.cas.support.saml.web.view.Saml10FailureResponseView
25 |
--------------------------------------------------------------------------------
/server/src/test/webtest/modules/verifyLoginForm.xml:
--------------------------------------------------------------------------------
1 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/server/src/main/webapp/index.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@ page language="java" session="false" %>
22 |
23 | <%
24 | final String queryString = request.getQueryString();
25 | final String url = request.getContextPath() + "/login" + (queryString != null ? "?" + queryString : "");
26 | response.sendRedirect(response.encodeURL(url));%>
27 |
--------------------------------------------------------------------------------
/server/src/site/site.xml:
--------------------------------------------------------------------------------
1 |
2 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/client/src/main/java/com/github/zhangkaitao/shiro/chapter15/realm/MyCasRealm.java:
--------------------------------------------------------------------------------
1 | package com.github.zhangkaitao.shiro.chapter15.realm;
2 |
3 | import com.github.zhangkaitao.shiro.chapter15.service.UserService;
4 | import org.apache.shiro.authz.AuthorizationInfo;
5 | import org.apache.shiro.authz.SimpleAuthorizationInfo;
6 | import org.apache.shiro.cas.CasRealm;
7 | import org.apache.shiro.subject.PrincipalCollection;
8 |
9 | /**
10 | *
User: Zhang Kaitao
11 | *
Date: 14-2-13
12 | *
Version: 1.0
13 | */
14 | public class MyCasRealm extends CasRealm {
15 |
16 | private UserService userService;
17 |
18 | public void setUserService(UserService userService) {
19 | this.userService = userService;
20 | }
21 |
22 | @Override
23 | protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) {
24 | String username = (String)principals.getPrimaryPrincipal();
25 |
26 | SimpleAuthorizationInfo authorizationInfo = new SimpleAuthorizationInfo();
27 | authorizationInfo.setRoles(userService.findRoles(username));
28 | authorizationInfo.setStringPermissions(userService.findPermissions(username));
29 |
30 | return authorizationInfo;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/server/src/test/webtest/includes/definition.xml:
--------------------------------------------------------------------------------
1 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/casBadHoursView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/casBadHoursView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/serviceErrorView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/serviceErrorView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/errors.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/casAccountLockedView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/casBadWorkstationView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/casAccountLockedView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/casAccountDisabledView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/casAccountDisabledView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/casBadWorkstationView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/test/webtest/modules/verifyCookie.xml:
--------------------------------------------------------------------------------
1 |
21 |
23 |
25 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/clearPass/clearPassFailure.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@ page session="false" contentType="application/xml; charset=UTF-8" %>
22 | <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
23 |
24 | ${fn:escapeXml(description)}
25 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/casExpiredPassView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/casExpiredPassView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/casConfirmView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/casConfirmView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/casLogoutView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/casMustChangePassView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/casMustChangePassView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/2.0/casProxyFailureView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@ page session="false" contentType="application/xml; charset=UTF-8" %>
22 | <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
23 |
24 |
25 | ${fn:escapeXml(description)}
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/casLogoutView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/2.0/casProxySuccessView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@ page session="false" contentType="application/xml; charset=UTF-8" %>
22 | <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
23 |
24 |
25 | ${fn:escapeXml(ticket)}
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/casGenericSuccess.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/casGenericSuccess.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/server/src/test/webtest/proxyCallBackTest/index.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%
22 | if( request.getParameter("pgtId") != null ) {
23 | System.out.println("Set PGT : #" + request.getParameter("pgtId") + "#");
24 | application.setAttribute("pgtId",request.getParameter("pgtId"));
25 | } else {
26 | System.out.println("Get PGT : #" + application.getAttribute("pgtId") + "#");
27 | out.println("PGT: #" + application.getAttribute("pgtId") + "#");
28 | }
29 | %>
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/2.0/casServiceValidationFailure.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@ page session="false" contentType="application/xml; charset=UTF-8" %>
22 | <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
23 |
24 |
25 | ${fn:escapeXml(description)}
26 |
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/3.0/casServiceValidationFailure.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@ page session="false" contentType="application/xml; charset=UTF-8" %>
22 | <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
23 |
24 |
25 | ${fn:escapeXml(description)}
26 |
27 |
--------------------------------------------------------------------------------
/server/src/test/webtest/modules/verifyRedirect.xml:
--------------------------------------------------------------------------------
1 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/client/src/main/resources/ehcache.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
14 |
15 |
16 |
23 |
24 |
25 |
32 |
33 |
34 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/server/src/test/webtest/proxyCallBackTest/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
22 |
26 |
27 | Welcome to PGTest
28 |
29 | PGTest
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/openid/casOpenIdAssociationSuccessView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@ page import="java.util.Set, java.util.Map, java.util.Iterator" %>
22 | <%
23 | Map parameters = (Map)request.getAttribute("parameters");
24 | Iterator iterator = parameters.keySet().iterator();
25 | while (iterator.hasNext()) {
26 | String key = (String)iterator.next();
27 | String parameter = (String)parameters.get(key);
28 | out.print(key+":"+parameter+"\n");
29 | }
30 | %>
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/clearPass/clearPassSuccess.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@ page session="false" contentType="application/xml; charset=UTF-8" %>
22 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
23 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
24 |
25 |
26 | ${fn:escapeXml(credentials)}
27 |
28 |
--------------------------------------------------------------------------------
/server/src/test/webtest/properties/canoo.properties:
--------------------------------------------------------------------------------
1 | #Option for canoo web test
2 |
3 | #
4 | # Licensed to Jasig under one or more contributor license
5 | # agreements. See the NOTICE file distributed with this work
6 | # for additional information regarding copyright ownership.
7 | # Jasig licenses this file to you under the Apache License,
8 | # Version 2.0 (the "License"); you may not use this file
9 | # except in compliance with the License. You may obtain a
10 | # copy of the License at the following location:
11 | #
12 | # http://www.apache.org/licenses/LICENSE-2.0
13 | #
14 | # Unless required by applicable law or agreed to in writing,
15 | # software distributed under the License is distributed on an
16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | # KIND, either express or implied. See the License for the
18 | # specific language governing permissions and limitations
19 | # under the License.
20 | #
21 |
22 | host=localhost
23 | port=8443
24 | protocol=https
25 | basepath=cas
26 | haltonfailure=true
27 | haltonerror=true
28 | showhtmlparseroutput=true
29 | autorefresh=true
30 | saveresponse=true
31 | resultpath=${basedir}/../../../target/webtest
32 | resultfile=webtest-raw-report.xml
33 | summary=true
34 |
35 | #Proxy Call Back Test Application
36 | proxyCallBackURL1=https://localhost/proxyCallBackTest1/index.jsp
37 | proxyCallBackURL2=https://localhost/proxyCallBackTest2/index.jsp
--------------------------------------------------------------------------------
/client/src/main/java/com/github/zhangkaitao/shiro/chapter15/service/RoleServiceImpl.java:
--------------------------------------------------------------------------------
1 | package com.github.zhangkaitao.shiro.chapter15.service;
2 |
3 | import com.github.zhangkaitao.shiro.chapter15.dao.RoleDao;
4 | import com.github.zhangkaitao.shiro.chapter15.entity.Role;
5 |
6 | /**
7 | *
User: Zhang Kaitao
8 | *
Date: 14-1-28
9 | *
Version: 1.0
10 | */
11 | public class RoleServiceImpl implements RoleService {
12 |
13 | private RoleDao roleDao;
14 |
15 | public RoleDao getRoleDao() {
16 | return roleDao;
17 | }
18 |
19 | public void setRoleDao(RoleDao roleDao) {
20 | this.roleDao = roleDao;
21 | }
22 |
23 | public Role createRole(Role role) {
24 | return roleDao.createRole(role);
25 | }
26 |
27 | public void deleteRole(Long roleId) {
28 | roleDao.deleteRole(roleId);
29 | }
30 |
31 | /**
32 | * 添加角色-权限之间关系
33 | * @param roleId
34 | * @param permissionIds
35 | */
36 | public void correlationPermissions(Long roleId, Long... permissionIds) {
37 | roleDao.correlationPermissions(roleId, permissionIds);
38 | }
39 |
40 | /**
41 | * 移除角色-权限之间关系
42 | * @param roleId
43 | * @param permissionIds
44 | */
45 | public void uncorrelationPermissions(Long roleId, Long... permissionIds) {
46 | roleDao.uncorrelationPermissions(roleId, permissionIds);
47 | }
48 |
49 | }
50 |
--------------------------------------------------------------------------------
/server/src/test/webtest/build.xml:
--------------------------------------------------------------------------------
1 |
2 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/serviceErrorSsoView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/serviceErrorSsoView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/spring-configuration/README.txt:
--------------------------------------------------------------------------------
1 | INTRODUCTION
2 | The spring-configuration directory is a "convention-over-configuration" option
3 | for CAS deployers. It allows you to drop a Spring XML configuration file into
4 | this directory and have CAS automatically find it (after the typical application
5 | restart). It eliminates the need for you to register that file in the web.xml
6 |
7 | ADVANTAGES
8 | By automatically breaking the configuration into smaller "bite-sized" pieces
9 | you can easily override small components of CAS without worrying about merging
10 | huge pieces of configurations files together later.
11 |
12 | The configuration-over-convention option also allows you to add new configuration
13 | options without editing existing configuration files.
14 |
15 | This should make tracking changes and maintaining local modifications easier.
16 |
17 | GOTCHAS AND THINGS TO WATCH OUT FOR
18 | If you name a local bean and an existing bean the same thing, there will be a major
19 | collision. Deployment will fail. The sky will fall! (okay that last part isn't
20 | true). Spring will be merging all of these files together so every bean must
21 | have unique names. The only way around this is if you override the file completely.
22 | i.e. override the ticketRegistry.xml allows you to re-use the "ticketRegistry"
23 | id.
24 |
25 | In addition, if there is a typographical/XML parsing error in a file, the
26 | application will not deploy.
27 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/oauth/confirm.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/casLoginMessageView.jsp:
--------------------------------------------------------------------------------
1 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
2 | <%--
3 |
4 | Licensed to Jasig under one or more contributor license
5 | agreements. See the NOTICE file distributed with this work
6 | for additional information regarding copyright ownership.
7 | Jasig licenses this file to you under the Apache License,
8 | Version 2.0 (the "License"); you may not use this file
9 | except in compliance with the License. You may obtain a
10 | copy of the License at the following location:
11 |
12 | http://www.apache.org/licenses/LICENSE-2.0
13 |
14 | Unless required by applicable law or agreed to in writing,
15 | software distributed under the License is distributed on an
16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | KIND, either express or implied. See the License for the
18 | specific language governing permissions and limitations
19 | under the License.
20 |
21 | --%>
22 |
23 |
24 |
Version: 1.0
10 | */
11 | public class UserRole implements Serializable {
12 |
13 | private Long userId;
14 | private Long roleId;
15 |
16 | public Long getUserId() {
17 | return userId;
18 | }
19 |
20 | public void setUserId(Long userId) {
21 | this.userId = userId;
22 | }
23 |
24 | public Long getRoleId() {
25 | return roleId;
26 | }
27 |
28 | public void setRoleId(Long roleId) {
29 | this.roleId = roleId;
30 | }
31 |
32 | @Override
33 | public boolean equals(Object o) {
34 | if (this == o) return true;
35 | if (o == null || getClass() != o.getClass()) return false;
36 |
37 | UserRole userRole = (UserRole) o;
38 |
39 | if (roleId != null ? !roleId.equals(userRole.roleId) : userRole.roleId != null) return false;
40 | if (userId != null ? !userId.equals(userRole.userId) : userRole.userId != null) return false;
41 |
42 | return true;
43 | }
44 |
45 | @Override
46 | public int hashCode() {
47 | int result = userId != null ? userId.hashCode() : 0;
48 | result = 31 * result + (roleId != null ? roleId.hashCode() : 0);
49 | return result;
50 | }
51 |
52 | @Override
53 | public String toString() {
54 | return "UserRole{" +
55 | "userId=" + userId +
56 | ", roleId=" + roleId +
57 | '}';
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/server/src/main/webapp/js/cas.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to Jasig under one or more contributor license
3 | * agreements. See the NOTICE file distributed with this work
4 | * for additional information regarding copyright ownership.
5 | * Jasig licenses this file to you under the Apache License,
6 | * Version 2.0 (the "License"); you may not use this file
7 | * except in compliance with the License. You may obtain a
8 | * copy of the License at the following location:
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | $(document).ready(function(){
21 | //focus username field
22 | $("input:visible:enabled:first").focus();
23 | //flash error box
24 | $('#msg.errors').animate({ backgroundColor: 'rgb(187,0,0)' }, 30).animate({ backgroundColor: 'rgb(255,238,221)' }, 500);
25 |
26 | //flash success box
27 | $('#msg.success').animate({ backgroundColor: 'rgb(51,204,0)' }, 30).animate({ backgroundColor: 'rgb(221,255,170)' }, 500);
28 |
29 | //flash confirm box
30 | $('#msg.question').animate({ backgroundColor: 'rgb(51,204,0)' }, 30).animate({ backgroundColor: 'rgb(221,255,170)' }, 500);
31 |
32 | /*
33 | * Using the JavaScript Debug library, you may issue log messages such as:
34 | * debug.log("Welcome to Central Authentication Service");
35 | */
36 | });
37 |
--------------------------------------------------------------------------------
/server/src/main/webapp/js/custom-cas.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to Jasig under one or more contributor license
3 | * agreements. See the NOTICE file distributed with this work
4 | * for additional information regarding copyright ownership.
5 | * Jasig licenses this file to you under the Apache License,
6 | * Version 2.0 (the "License"); you may not use this file
7 | * except in compliance with the License. You may obtain a
8 | * copy of the License at the following location:
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | $(document).ready(function(){
21 | //focus username field
22 | $("input:visible:enabled:first").focus();
23 | //flash error box
24 | $('#msg.errors').animate({ backgroundColor: 'rgb(187,0,0)' }, 30).animate({ backgroundColor: 'rgb(255,238,221)' }, 500);
25 |
26 | //flash success box
27 | $('#msg.success').animate({ backgroundColor: 'rgb(51,204,0)' }, 30).animate({ backgroundColor: 'rgb(221,255,170)' }, 500);
28 |
29 | //flash confirm box
30 | $('#msg.question').animate({ backgroundColor: 'rgb(51,204,0)' }, 30).animate({ backgroundColor: 'rgb(221,255,170)' }, 500);
31 |
32 | /*
33 | * Using the JavaScript Debug library, you may issue log messages such as:
34 | * debug.log("Welcome to Central Authentication Service");
35 | */
36 | });
37 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/casPostResponseView.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@ page language="java" session="false"%>
22 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
23 |
24 |
51 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/default/ui/includes/bottom.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
35 |
36 |
37 | <%--
38 | JavaScript Debug: A simple wrapper for console.log
39 | See this link for more info: http://benalman.com/projects/javascript-debug-console-log/
40 | --%>
41 |
42 |
43 |
44 | ">
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/includes/top.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 |
22 |
23 | <%@ page pageEncoding="UTF-8" %>
24 | <%@ page contentType="text/html; charset=UTF-8" %>
25 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
26 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
27 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
28 | <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
29 |
30 |
31 |
32 |
33 |
34 | CAS – Central Authentication Service
35 |
36 |
37 | " />
38 | " type="image/x-icon" />
39 |
40 |
43 |
44 |
45 |
Version: 1.0
16 | */
17 | public class UserRealm extends AuthorizingRealm {
18 |
19 | private UserService userService;
20 |
21 | public void setUserService(UserService userService) {
22 | this.userService = userService;
23 | }
24 |
25 | @Override
26 | protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) {
27 | String username = (String)principals.getPrimaryPrincipal();
28 |
29 | SimpleAuthorizationInfo authorizationInfo = new SimpleAuthorizationInfo();
30 | authorizationInfo.setRoles(userService.findRoles(username));
31 | authorizationInfo.setStringPermissions(userService.findPermissions(username));
32 |
33 | return authorizationInfo;
34 | }
35 |
36 | @Override
37 | protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token) throws AuthenticationException {
38 |
39 | String username = (String)token.getPrincipal();
40 |
41 | User user = userService.findByUsername(username);
42 |
43 | if(user == null) {
44 | throw new UnknownAccountException();//没找到帐号
45 | }
46 |
47 | if(Boolean.TRUE.equals(user.getLocked())) {
48 | throw new LockedAccountException(); //帐号锁定
49 | }
50 |
51 | //交给AuthenticatingRealm使用CredentialsMatcher进行密码匹配,如果觉得人家的不好可以自定义实现
52 | SimpleAuthenticationInfo authenticationInfo = new SimpleAuthenticationInfo(
53 | user.getUsername(), //用户名
54 | user.getPassword(), //密码
55 | ByteSource.Util.bytes(user.getCredentialsSalt()),//salt=username+salt
56 | getName() //realm name
57 | );
58 | return authenticationInfo;
59 | }
60 |
61 | @Override
62 | public void clearCachedAuthorizationInfo(PrincipalCollection principals) {
63 | super.clearCachedAuthorizationInfo(principals);
64 | }
65 |
66 | @Override
67 | public void clearCachedAuthenticationInfo(PrincipalCollection principals) {
68 | super.clearCachedAuthenticationInfo(principals);
69 | }
70 |
71 | @Override
72 | public void clearCache(PrincipalCollection principals) {
73 | super.clearCache(principals);
74 | }
75 |
76 | public void clearAllCachedAuthorizationInfo() {
77 | getAuthorizationCache().clear();
78 | }
79 |
80 | public void clearAllCachedAuthenticationInfo() {
81 | getAuthenticationCache().clear();
82 | }
83 |
84 | public void clearAllCache() {
85 | clearAllCachedAuthenticationInfo();
86 | clearAllCachedAuthorizationInfo();
87 | }
88 |
89 | }
90 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/spring-configuration/ticketExpirationPolicies.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
19 |
20 | Assignment of expiration policies for the different tickets generated by CAS
21 | including ticket granting ticket
22 | (TGT), service ticket (ST), proxy granting ticket (PGT), and proxy ticket
23 | (PT).
24 | These expiration policies determine how long the ticket they are assigned
25 | to can be used and even how often they
26 | can be used before becoming expired / invalid.
27 |
28 |
29 |
30 |
31 |
35 |
36 |
38 |
42 |
43 |
45 |
47 |
48 |
52 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/monitoring/viewStatistics.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@include file="/WEB-INF/view/jsp/default/ui/includes/top.jsp"%>
22 |
23 |
Runtime Statistics
24 |
25 |
26 |
27 |
Property
28 |
Value
29 |
30 |
31 |
32 |
33 |
Server
34 |
${serverIpAddress} (${serverHostName})
35 |
36 |
37 |
CAS Ticket Suffix
38 |
${casTicketSuffix}
39 |
40 |
41 |
Server Start Time
42 |
${startTime}
43 |
44 |
45 |
Uptime
46 |
${upTime}
47 |
48 |
49 |
Memory
50 |
${freeMemory} MB free ${totalMemory} MB total
51 |
52 |
53 |
Maximum Memory
54 |
${maxMemory} MB
55 |
56 |
57 |
Available Processors
58 |
${availableProcessors}
59 |
60 |
61 |
62 |
63 |
64 |
65 |
Ticket Registry Statistics
66 |
67 |
68 |
69 |
Property
70 |
Value
71 |
72 |
73 |
74 |
75 |
Unexpired TGTs
76 |
${unexpiredTgts}
77 |
78 |
79 |
Unexpired STs
80 |
${unexpiredSts}
81 |
82 |
83 |
Expired TGTs
84 |
${expiredTgts}
85 |
86 |
87 |
Expired STs
88 |
${expiredSts}
89 |
90 |
91 |
92 |
93 |
Performance Statistics
94 |
95 |
96 |
${appender.name}
97 |
98 |
99 |
100 |
101 |
102 | <%@include file="/WEB-INF/view/jsp/default/ui/includes/bottom.jsp" %>
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/custom/ui/includes/bottom.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
22 |
23 |
24 |
25 |
26 |
58 |
59 |
60 |
61 |
62 |
63 |
64 | <%--
65 | JavaScript Debug: A simple wrapper for console.log
66 | See this link for more info: http://benalman.com/projects/javascript-debug-console-log/
67 | --%>
68 |
69 |
70 |
71 | ">
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/server/src/main/resources/custom_views.properties:
--------------------------------------------------------------------------------
1 | ### Login view (/login)
2 |
3 | #
4 | # Licensed to Jasig under one or more contributor license
5 | # agreements. See the NOTICE file distributed with this work
6 | # for additional information regarding copyright ownership.
7 | # Jasig licenses this file to you under the Apache License,
8 | # Version 2.0 (the "License"); you may not use this file
9 | # except in compliance with the License. You may obtain a
10 | # copy of the License at the following location:
11 | #
12 | # http://www.apache.org/licenses/LICENSE-2.0
13 | #
14 | # Unless required by applicable law or agreed to in writing,
15 | # software distributed under the License is distributed on an
16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | # KIND, either express or implied. See the License for the
18 | # specific language governing permissions and limitations
19 | # under the License.
20 | #
21 |
22 | casLoginView.(class)=org.springframework.web.servlet.view.JstlView
23 | casLoginView.url=/WEB-INF/view/jsp/custom/ui/casLoginView.jsp
24 |
25 | ### Display login (warning) messages
26 | casLoginMessageView.(class)=org.springframework.web.servlet.view.JstlView
27 | casLoginMessageView.url=/WEB-INF/view/jsp/custom/ui/casLoginMessageView.jsp
28 |
29 | ### Login confirmation view (logged in, warn=true)
30 | casLoginConfirmView.(class)=org.springframework.web.servlet.view.JstlView
31 | casLoginConfirmView.url=/WEB-INF/view/jsp/custom/ui/casConfirmView.jsp
32 |
33 | ### Logged-in view (logged in, no service provided)
34 | casLoginGenericSuccessView.(class)=org.springframework.web.servlet.view.JstlView
35 | casLoginGenericSuccessView.url=/WEB-INF/view/jsp/custom/ui/casGenericSuccess.jsp
36 |
37 | ### Logout view (/logout)
38 | casLogoutView.(class)=org.springframework.web.servlet.view.JstlView
39 | casLogoutView.url=/WEB-INF/view/jsp/custom/ui/casLogoutView.jsp
40 |
41 | ### CAS error view
42 | viewServiceErrorView.(class)=org.springframework.web.servlet.view.JstlView
43 | viewServiceErrorView.url=/WEB-INF/view/jsp/custom/ui/serviceErrorView.jsp
44 |
45 | viewServiceSsoErrorView.(class)=org.springframework.web.servlet.view.JstlView
46 | viewServiceSsoErrorView.url=/WEB-INF/view/jsp/custom/ui/serviceErrorSsoView.jsp
47 |
48 | ### CAS statistics view
49 | viewStatisticsView.(class)=org.springframework.web.servlet.view.JstlView
50 | viewStatisticsView.url=/WEB-INF/view/jsp/monitoring/viewStatistics.jsp
51 |
52 | ### Expired Password Error message
53 | casExpiredPassView.(class)=org.springframework.web.servlet.view.JstlView
54 | casExpiredPassView.url=/WEB-INF/view/jsp/custom/ui/casExpiredPassView.jsp
55 |
56 | ### Locked Account Error message
57 | casAccountLockedView.(class)=org.springframework.web.servlet.view.JstlView
58 | casAccountLockedView.url=/WEB-INF/view/jsp/custom/ui/casAccountLockedView.jsp
59 |
60 | ### Disabled Account Error message
61 | casAccountDisabledView.(class)=org.springframework.web.servlet.view.JstlView
62 | casAccountDisabledView.url=/WEB-INF/view/jsp/custom/ui/casAccountDisabledView.jsp
63 |
64 | ### Must Change Password Error message
65 | casMustChangePassView.(class)=org.springframework.web.servlet.view.JstlView
66 | casMustChangePassView.url=/WEB-INF/view/jsp/custom/ui/casMustChangePassView.jsp
67 |
68 | ### Bad Hours Error message
69 | casBadHoursView.(class)=org.springframework.web.servlet.view.JstlView
70 | casBadHoursView.url=/WEB-INF/view/jsp/custom/ui/casBadHoursView.jsp
71 |
72 | ### Bad Workstation Error message
73 | casBadWorkstationView.(class)=org.springframework.web.servlet.view.JstlView
74 | casBadWorkstationView.url=/WEB-INF/view/jsp/custom/ui/casBadWorkstationView.jsp
75 |
76 |
--------------------------------------------------------------------------------
/server/src/main/resources/default_views.properties:
--------------------------------------------------------------------------------
1 | ### Login view (/login)
2 |
3 | #
4 | # Licensed to Jasig under one or more contributor license
5 | # agreements. See the NOTICE file distributed with this work
6 | # for additional information regarding copyright ownership.
7 | # Jasig licenses this file to you under the Apache License,
8 | # Version 2.0 (the "License"); you may not use this file
9 | # except in compliance with the License. You may obtain a
10 | # copy of the License at the following location:
11 | #
12 | # http://www.apache.org/licenses/LICENSE-2.0
13 | #
14 | # Unless required by applicable law or agreed to in writing,
15 | # software distributed under the License is distributed on an
16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | # KIND, either express or implied. See the License for the
18 | # specific language governing permissions and limitations
19 | # under the License.
20 | #
21 |
22 | casLoginView.(class)=org.springframework.web.servlet.view.JstlView
23 | casLoginView.url=/WEB-INF/view/jsp/default/ui/casLoginView.jsp
24 |
25 | ### Display login (warning) messages
26 | casLoginMessageView.(class)=org.springframework.web.servlet.view.JstlView
27 | casLoginMessageView.url=/WEB-INF/view/jsp/default/ui/casLoginMessageView.jsp
28 |
29 | ### Login confirmation view (logged in, warn=true)
30 | casLoginConfirmView.(class)=org.springframework.web.servlet.view.JstlView
31 | casLoginConfirmView.url=/WEB-INF/view/jsp/default/ui/casConfirmView.jsp
32 |
33 | ### Logged-in view (logged in, no service provided)
34 | casLoginGenericSuccessView.(class)=org.springframework.web.servlet.view.JstlView
35 | casLoginGenericSuccessView.url=/WEB-INF/view/jsp/default/ui/casGenericSuccess.jsp
36 |
37 | ### Logout view (/logout)
38 | casLogoutView.(class)=org.springframework.web.servlet.view.JstlView
39 | casLogoutView.url=/WEB-INF/view/jsp/default/ui/casLogoutView.jsp
40 |
41 | ### CAS error view
42 | viewServiceErrorView.(class)=org.springframework.web.servlet.view.JstlView
43 | viewServiceErrorView.url=/WEB-INF/view/jsp/default/ui/serviceErrorView.jsp
44 |
45 | viewServiceSsoErrorView.(class)=org.springframework.web.servlet.view.JstlView
46 | viewServiceSsoErrorView.url=/WEB-INF/view/jsp/default/ui/serviceErrorSsoView.jsp
47 |
48 | ### CAS statistics view
49 | viewStatisticsView.(class)=org.springframework.web.servlet.view.JstlView
50 | viewStatisticsView.url=/WEB-INF/view/jsp/monitoring/viewStatistics.jsp
51 |
52 | ### Expired Password Error message
53 | casExpiredPassView.(class)=org.springframework.web.servlet.view.JstlView
54 | casExpiredPassView.url=/WEB-INF/view/jsp/default/ui/casExpiredPassView.jsp
55 |
56 | ### Locked Account Error message
57 | casAccountLockedView.(class)=org.springframework.web.servlet.view.JstlView
58 | casAccountLockedView.url=/WEB-INF/view/jsp/default/ui/casAccountLockedView.jsp
59 |
60 | ### Disabled Account Error message
61 | casAccountDisabledView.(class)=org.springframework.web.servlet.view.JstlView
62 | casAccountDisabledView.url=/WEB-INF/view/jsp/default/ui/casAccountDisabledView.jsp
63 |
64 | ### Must Change Password Error message
65 | casMustChangePassView.(class)=org.springframework.web.servlet.view.JstlView
66 | casMustChangePassView.url=/WEB-INF/view/jsp/default/ui/casMustChangePassView.jsp
67 |
68 | ### Bad Hours Error message
69 | casBadHoursView.(class)=org.springframework.web.servlet.view.JstlView
70 | casBadHoursView.url=/WEB-INF/view/jsp/default/ui/casBadHoursView.jsp
71 |
72 | ### Bad Workstation Error message
73 | casBadWorkstationView.(class)=org.springframework.web.servlet.view.JstlView
74 | casBadWorkstationView.url=/WEB-INF/view/jsp/default/ui/casBadWorkstationView.jsp
75 |
76 |
--------------------------------------------------------------------------------
/server/src/main/resources/protocol_views.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to Jasig under one or more contributor license
3 | # agreements. See the NOTICE file distributed with this work
4 | # for additional information regarding copyright ownership.
5 | # Jasig licenses this file to you under the Apache License,
6 | # Version 2.0 (the "License"); you may not use this file
7 | # except in compliance with the License. You may obtain a
8 | # copy of the License at the following location:
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing,
13 | # software distributed under the License is distributed on an
14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | # KIND, either express or implied. See the License for the
16 | # specific language governing permissions and limitations
17 | # under the License.
18 | #
19 |
20 | ### 1.0 validation responses (/validate)
21 | cas1ServiceFailureView.(class)=org.jasig.cas.web.view.Cas10ResponseView
22 | cas1ServiceFailureView.successResponse=false
23 |
24 | cas1ServiceSuccessView.(class)=org.jasig.cas.web.view.Cas10ResponseView
25 | cas1ServiceSuccessView.successResponse=true
26 |
27 | ### CAS 2.0 Response Protocol Views
28 |
29 | ## Validation Response Protocol Views: /proxyValidate, /serviceValidate
30 | cas2ServiceSuccessView.(class)=org.springframework.web.servlet.view.JstlView
31 | cas2ServiceSuccessView.url=/WEB-INF/view/jsp/protocol/2.0/casServiceValidationSuccess.jsp
32 |
33 | cas2ServiceFailureView.(class)=org.springframework.web.servlet.view.JstlView
34 | cas2ServiceFailureView.url=/WEB-INF/view/jsp/protocol/2.0/casServiceValidationFailure.jsp
35 |
36 | ## Proxy Response Protocol Views: /proxy
37 | cas2ProxyFailureView.(class)=org.springframework.web.servlet.view.JstlView
38 | cas2ProxyFailureView.url=/WEB-INF/view/jsp/protocol/2.0/casProxyFailureView.jsp
39 |
40 | cas2ProxySuccessView.(class)=org.springframework.web.servlet.view.JstlView
41 | cas2ProxySuccessView.url=/WEB-INF/view/jsp/protocol/2.0/casProxySuccessView.jsp
42 |
43 | ### CAS 3.0 Response Protocol Views: /proxyValidate, /serviceValidate
44 | cas3ServiceSuccessView.(class)=org.springframework.web.servlet.view.JstlView
45 | cas3ServiceSuccessView.url=/WEB-INF/view/jsp/protocol/3.0/casServiceValidationSuccess.jsp
46 |
47 | cas3ServiceFailureView.(class)=org.springframework.web.servlet.view.JstlView
48 | cas3ServiceFailureView.url=/WEB-INF/view/jsp/protocol/3.0/casServiceValidationFailure.jsp
49 |
50 | #OpenId Views
51 | casOpenIdServiceFailureView.(class)=org.springframework.web.servlet.view.JstlView
52 | casOpenIdServiceFailureView.url=/WEB-INF/view/jsp/protocol/openid/casOpenIdServiceFailureView.jsp
53 |
54 | casOpenIdServiceSuccessView.(class)=org.springframework.web.servlet.view.JstlView
55 | casOpenIdServiceSuccessView.url=/WEB-INF/view/jsp/protocol/openid/casOpenIdServiceSuccessView.jsp
56 |
57 | casOpenIdAssociationFailureView.(class)=org.springframework.web.servlet.view.JstlView
58 | casOpenIdAssociationFailureView.url=/WEB-INF/view/jsp/protocol/openid/casOpenIdAssociationFailureView.jsp
59 |
60 | casOpenIdAssociationSuccessView.(class)=org.springframework.web.servlet.view.JstlView
61 | casOpenIdAssociationSuccessView.url=/WEB-INF/view/jsp/protocol/openid/casOpenIdAssociationSuccessView.jsp
62 |
63 | openIdProviderView.(class)=org.springframework.web.servlet.view.JstlView
64 | openIdProviderView.url=/WEB-INF/view/jsp/protocol/openid/user.jsp
65 |
66 | ### Post View
67 | postResponseView.(class)=org.springframework.web.servlet.view.JstlView
68 | postResponseView.url=/WEB-INF/view/jsp/protocol/casPostResponseView.jsp
69 |
70 | ### OAuth View
71 | oauthConfirmView.(class)=org.springframework.web.servlet.view.JstlView
72 | oauthConfirmView.url=/WEB-INF/view/jsp/protocol/oauth/confirm.jsp
73 |
--------------------------------------------------------------------------------
/server/src/main/resources/messages_sl.properties:
--------------------------------------------------------------------------------
1 | #Welcome Screen Messages
2 |
3 | #
4 | # Licensed to Jasig under one or more contributor license
5 | # agreements. See the NOTICE file distributed with this work
6 | # for additional information regarding copyright ownership.
7 | # Jasig licenses this file to you under the Apache License,
8 | # Version 2.0 (the "License"); you may not use this file
9 | # except in compliance with the License. You may obtain a
10 | # copy of the License at the following location:
11 | #
12 | # http://www.apache.org/licenses/LICENSE-2.0
13 | #
14 | # Unless required by applicable law or agreed to in writing,
15 | # software distributed under the License is distributed on an
16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | # KIND, either express or implied. See the License for the
18 | # specific language governing permissions and limitations
19 | # under the License.
20 | #
21 |
22 | screen.welcome.welcome=Dobrodo\u0161li v ARNES CAS online\! Uporabite uporabni\u0161ko ime in geslo, ki vam ga je dodeli administrator ARNES organizacije
23 | screen.welcome.security=Zaradi varnostnih razlogov, prosimo, da naredite odjavo in zaprete brskalnik, ko zapustite spletni vir, ki je zahteval va\u0161o avtentikacijo.
24 | screen.welcome.instructions=Vpi\u0161ite va\u0161o uporabni\u0161ko ime(eduprincipalName\: ime@arnes.si) in geslo.
25 | screen.welcome.label.netid=eduPersonPrincipalName\:
26 | screen.welcome.label.netid.accesskey=n
27 | screen.welcome.label.password=Geslo\:
28 | screen.welcome.label.password.accesskey=p
29 | screen.welcome.label.warn=Opozori me, ko naredim novo prijavo v drugi spletni vir.
30 | screen.welcome.label.warn.accesskey=w
31 | screen.welcome.button.login=Prijava
32 | screen.welcome.button.clear=ZBRI\u0160I
33 |
34 | #Confirmation Screen Messages
35 | screen.confirmation.message=Klikni tukaj za vstop v aplikacijo.
36 |
37 | #Generic Success Screen Messages
38 | screen.success.header=Prijava uspela
39 | screen.success.success=Uspe\u0161no ste se prijavili v Centralno Avtenikacijsko Storitev.
40 | screen.success.security=Zaradi varnostnih razlogov, prosimo, da naredite odjavo in zaprete brskalnik, ko zapustite spletni vir, ki je zahteval va\u0161o avtentikacijo.
41 |
42 | #Logout Screen Messages
43 | screen.logout.header=Odjava uspela
44 | screen.logout.success=Uspe\u0161no ste se prijavili v Centralno Avtenikacijsko Storitev.
45 | screen.logout.security=Zaradi varnostnih razlogov zaprite brskalnik
46 | screen.logout.redirect=Spletna storitev iz katere ste se odjavili, je priskrbela povezavo za nazaj, \u010De se \u017Eelite vrniti, kliknite na povezavo..
47 |
48 | #Service Error Messages
49 | screen.service.error.header=Ne avtorizerana Storitev
50 | screen.service.error.message=Vstopiti ste hoteli do o spletne storitve nima dovoljenja do uporabe CAS storitve.
51 |
52 |
53 | error.invalid.loginticket=Ne morete narediti re-submit forme, ki je \u017Ee bila poslana.
54 | required.username=Uporabni\u0161ko ime je nujno vpisati\!
55 | required.password=Geslo je nujno vpisati\!
56 | error.authentication.credentials.bad=Veredostojnost, ki ste jo vpisali ne moremo dolo\u010Diti, da je pristno\!
57 | error.authentication.credentials.unsupported=Veredostojnost, ki ste jo vpisali ni podprto v CAS-u\!
58 |
59 | INVALID_REQUEST_PROXY='pgt' in 'targetService' parametra sta oba nujna\!
60 | INVALID_TICKET_SPEC=Ne uspe\u0161na validacija zahtevka. Mo\u017Ene napake so nastale pri vklju\u010Ditvi validacije v Proxy Ticket preko Service Ticket validacije.
61 | INVALID_REQUEST='service' in 'ticket' parametra sta oba nujna\!
62 | INVALID_TICKET=zahtevek ''{0}'' ni prepoznana
63 | INVALID_SERVICE=zahtevek ''{0}'' se ne ujema priskrbljeno storitvijo
64 |
--------------------------------------------------------------------------------
/server/src/main/resources/messages_nl.properties:
--------------------------------------------------------------------------------
1 | #Author: Jan "Velpi" Van der Velpen
2 | #Version $Revision$ $Date$
3 | #Since 3.0.3
4 |
5 | #Welcome Screen Messages
6 |
7 | #
8 | # Licensed to Jasig under one or more contributor license
9 | # agreements. See the NOTICE file distributed with this work
10 | # for additional information regarding copyright ownership.
11 | # Jasig licenses this file to you under the Apache License,
12 | # Version 2.0 (the "License"); you may not use this file
13 | # except in compliance with the License. You may obtain a
14 | # copy of the License at the following location:
15 | #
16 | # http://www.apache.org/licenses/LICENSE-2.0
17 | #
18 | # Unless required by applicable law or agreed to in writing,
19 | # software distributed under the License is distributed on an
20 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21 | # KIND, either express or implied. See the License for the
22 | # specific language governing permissions and limitations
23 | # under the License.
24 | #
25 |
26 | screen.welcome.welcome=Proficiat met de succesvolle installatie van CAS! Met de standaard "authentication handler" kan je ingeloggen als de gebruikersnaam gelijk is aan het wachtwoord. Je kan het nu proberen.
27 | screen.welcome.security=Voor de veiligheid moet je uitloggen en je browser sluiten wanneer je geen toegang meer nodig hebt tot afgeschermde applicaties!
28 | screen.welcome.instructions=Om verder te gaan dien je jezelf te authenticeren.
29 | screen.welcome.label.netid.accesskey=g
30 | screen.welcome.label.netid=Gebruikersnaam:
31 | screen.welcome.label.password=Wachtwoord:
32 | screen.welcome.label.password.accesskey=w
33 | screen.welcome.label.warn=Vraag toestemming vooraleer me ingelogd door te sturen naar andere sites.
34 | screen.welcome.label.warn.accesskey=v
35 | screen.welcome.button.login=LOGIN
36 | screen.welcome.button.clear=CLEAR
37 |
38 | #Confirmation Screen Messages
39 | screen.confirmation.message=Doorgaan naar de applicatie.
40 |
41 | #Generic Success Screen Messages
42 | screen.success.header=Succesvol ingelogd.
43 | screen.success.success=Je bent ingelogd bij de Central Authentication Service.
44 | screen.success.security=Voor de veiligheid moet je uitloggen en je browser sluiten wanneer je geen toegang meer nodig hebt tot afgeschermde applicaties!
45 |
46 | #Logout Screen Messages
47 | screen.logout.header=Succesvol uitgelogd.
48 | screen.logout.success=Je bent nu uitgelogd bij de Central Authentication Service.
49 | screen.logout.security=Voor de veiligheid dien je je browser nu af te sluiten.
50 | screen.logout.redirect=De applicatie waar je vandaan komt heeft deze link opgegeven die je kan volgen door hier te klikken.
51 |
52 | error.invalid.loginticket=Je mag geen formulier verzenden dat je al eens hebt verzonden.
53 | required.username=Gelieve een gebruikersnaam in te vullen.
54 | required.password=Gelieve een wachtwoord in te vullen.
55 | error.authentication.credentials.bad=De combinatie van gebruikersnaam en wachtwoord was niet juist.
56 | error.authentication.credentials.unsupported=De verstuurde identificatiegegevens worden niet ondersteund door CAS.
57 |
58 | INVALID_REQUEST_PROXY='pgt' en 'targetService' zijn verplichte parameters.
59 | INVALID_TICKET_SPEC=Het ticket kwam niet overeen met de specificatie voor validatie. Misschien probeer je een Proxy Ticket te valideren op de Service Ticket validator, of komt "renew true" niet overeen.
60 | INVALID_REQUEST='service' en 'ticket' zijn verplichte parameters.
61 | INVALID_TICKET=ticket ''{0}'' is niet gekend.
62 | INVALID_SERVICE=ticket ''{0}'' komt niet overeen met de opgegeven service.
63 |
64 | screen.service.error.header=Geen toegang.
65 | screen.service.error.message=De applicatie waarvoor je toegang vroeg heeft geen toestemming om deze CAS te gebruiken.
66 |
--------------------------------------------------------------------------------
/server/src/main/webapp/WEB-INF/view/jsp/protocol/3.0/casServiceValidationSuccess.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 |
3 | Licensed to Jasig under one or more contributor license
4 | agreements. See the NOTICE file distributed with this work
5 | for additional information regarding copyright ownership.
6 | Jasig licenses this file to you under the Apache License,
7 | Version 2.0 (the "License"); you may not use this file
8 | except in compliance with the License. You may obtain a
9 | copy of the License at the following location:
10 |
11 | http://www.apache.org/licenses/LICENSE-2.0
12 |
13 | Unless required by applicable law or agreed to in writing,
14 | software distributed under the License is distributed on an
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | KIND, either express or implied. See the License for the
17 | specific language governing permissions and limitations
18 | under the License.
19 |
20 | --%>
21 | <%@ page session="false" contentType="application/xml; charset=UTF-8" %>
22 | <%@ page import="java.util.*, java.util.Map.Entry" %>
23 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
24 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
25 |
26 |
27 | ${fn:escapeXml(assertion.primaryAuthentication.principal.id)}
28 |
29 | ${pgtIou}
30 |
31 |
32 |
33 |
35 | ${fn:escapeXml(proxy.principal.id)}
36 |
37 |
38 |
39 |
40 |
41 |
42 |
47 | <%-- ${attr.value['class'].simpleName} fails for List: use scriptlet instead --%>
48 | <%
49 | Entry entry = (Entry) pageContext.getAttribute("attr");
50 | Object value = entry.getValue();
51 | pageContext.setAttribute("isMultiple", value instanceof Collection || value instanceof Map || value instanceof Object[]
52 | || value instanceof Iterator || value instanceof Enumeration);
53 | %>
54 |
55 | <%-- it's a single element, output its toString() --%>
56 |
57 | ${fn:escapeXml(attr.value)}
58 |
59 | <%-- if attribute is multi-valued, list each value under the same attribute name --%>
60 |
61 |
62 | ${fn:escapeXml(attrval)}
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/server/src/main/resources/messages_ur.properties:
--------------------------------------------------------------------------------
1 | #Author: Faizan Ahmed (Rutgers University)
2 | #Since 3.0.5
3 |
4 | #Welcome Screen Messages
5 |
6 | #
7 | # Licensed to Jasig under one or more contributor license
8 | # agreements. See the NOTICE file distributed with this work
9 | # for additional information regarding copyright ownership.
10 | # Jasig licenses this file to you under the Apache License,
11 | # Version 2.0 (the "License"); you may not use this file
12 | # except in compliance with the License. You may obtain a
13 | # copy of the License at the following location:
14 | #
15 | # http://www.apache.org/licenses/LICENSE-2.0
16 | #
17 | # Unless required by applicable law or agreed to in writing,
18 | # software distributed under the License is distributed on an
19 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
20 | # KIND, either express or implied. See the License for the
21 | # specific language governing permissions and limitations
22 | # under the License.
23 | #
24 |
25 | screen.welcome.welcome=CAS ko online lany par Mubark baad! Default Tasdeek karney wala aap ki tasdeek iss soorat main karay ga agar password wo hi hoo jo user name hay. Aiye, aur try ki jiyay.
26 | screen.welcome.security=Security ki wajoohat ki bina par aap mehrbani farma kar apnay web browser say Log Out aur Exit zaroor ki jiyay jub aap aisi services isstamal kar chookay hoon jo tasdeek chahti hoon.
27 | screen.welcome.instructions=Apni Jasig ki NetID aur Password enter ki jiyay.
28 | screen.welcome.label.netid=NetID:
29 | screen.welcome.label.netid.accesskey=n
30 | screen.welcome.label.password=Password:
31 | screen.welcome.label.password.accesskey=p
32 | screen.welcome.label.warn=Mujay doosri sites main login karnay say pahlay Khabardar karain.
33 | screen.welcome.label.warn.accesskey=k
34 | screen.welcome.button.login=LOGIN
35 | screen.welcome.button.clear=CLEAR
36 |
37 | #Confirmation Screen Messages
38 | screen.confirmation.message=Yahan Click karain agar app application main dakhil hona chahtay hain.
39 |
40 | #Generic Success Screen Messages
41 | screen.success.header=Log In Kamyab
42 | screen.success.success=Aap kamyabi say Centeral Authentication Service main login hoo chokay hain.
43 | screen.success.security=Security ki wajoohat ki bina par jub aap aisi services isstamal kar chookay hoon jo tasdeek chahti hoon tou baraye mehrbani apnay web browser say Log Out aur Exit zaroor ki jiyay
44 |
45 | #Logout Screen Messages
46 | screen.logout.header=Logout Kamyab
47 | screen.logout.success=Aap kamyabi say Centeral Authentication Service say logout hoo chokay hain.
48 | screen.logout.security=Security ki wajoohat ki bina par apnay web browser say exit karain.
49 | screen.logout.redirect=Aap jis service say aye hain oos nay aik link supply kia hay jissay aap agar chahain tou follow kar saktay hain.
50 |
51 |
52 | #Service Error Messages
53 | screen.service.error.header=Bay Sanud Service
54 | screen.service.error.message=Aap jiss service kay liay tasdeek ki kooshush kar rahay thay woo service CAS istamal karnay ki mijaz nahi.
55 |
56 | error.invalid.loginticket=Aap oos form ko dobara arsaal karnay ki kooshsish nahi kar saktay joo aap pahly arsal kar chookay hoon.
57 | required.username=Username ka khana por karna lazmi hay.
58 | required.password=Password ka khana por karna lazmi hay.
59 | error.authentication.credentials.bad=Aap ka mohya kia howa waseeka (parteet puter) ki tasdeek karna momkin nahi.
60 | error.authentication.credentials.unsupported=Aap kay mohya kiay howay waseeka (parteet puter) ko CAS support nahi karta.
61 |
62 | INVALID_REQUEST_PROXY='pgt' aur 'targetService' parameters doonon lazmi hain.
63 | INVALID_TICKET_SPEC=Ticket toseek ki tasreeh par poora nahi utri. Momkin gultiyoon main shamil, hoo sakta hay kay proxy ticket ki toseek ki kooshish Service ticket kay toseek kaninda say ki gai hoo, yaa 'renew true request' say iss ki mitabkat na hooti hoo.
64 | INVALID_REQUEST='service' aur 'ticket' parameters doonon lazmi hain.
65 | INVALID_TICKET=ticket ''{0}'' ki shnakhat nahi hoo saki.
66 | INVALID_SERVICE=ticket ''{0}'' ki mitabkat mohya karda service say nahi hoo saki.
67 |
--------------------------------------------------------------------------------