<%-- ============LICENSE_START========================================== ONAP Portal =================================================================== Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. =================================================================== Unless otherwise specified, all software contained herein is licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Unless otherwise specified, all documentation contained herein is licensed under the Creative Commons License, Attribution 4.0 Intl. (the "License"); you may not use this documentation except in compliance with the License. You may obtain a copy of the License at https://creativecommons.org/licenses/by/4.0/ Unless required by applicable law or agreed to in writing, documentation distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ============LICENSE_END============================================ ECOMP is a trademark and service mark of AT&T Intellectual Property. --%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %> <%@ taglib prefix="o" tagdir="/WEB-INF/tags"%> <%@ page session="false" %>

Hello world!

You are currently logged in. You are NOT currently logged in.

This example application is configured with several pages requiring different levels of access. This page does not require the user to be logged in. Use the tabs in the navbar above to navigate to pages with different access requirements.

  • User, requires the user to be logged in with the ROLE_USER Spring Security authority.
  • Admin, requires the user to be logged in with the ROLE_ADMIN Spring Security authority. See below for the currently configured list of admin accounts.
  • Logout, log out directly and return to this page.
  • Log in, log in directly and return to this page.

Client Filter Configuration

This authorization filter for this client has been configured with the following components:

  • Issuer service: ${ issuerServiceClass }
  • Server configuration service: ${ serverConfigurationServiceClass }
  • Client configuration service: ${ clientConfigurationServiceClass }
  • Auth request options service: ${ authRequestOptionsServiceClass }
  • Auth request URI builder: ${ authRequestUriBuilderClass }

Administrators

Logged in users are assigned the ROLE_USER authority by default, but the following users (identified by issuer/subject pairs) will also be given ROLE_ADMIN:

Issuer Subject
${ admin.issuer } ${ admin.subject }