Java EE 6 New features in practice Part 3
|
|
|
- Alexina Crawford
- 10 years ago
- Views:
Transcription
1 Java EE 6 New features in practice Part 3 Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
2 License for use and distribution This material is available for non-commercial use and can be derived and/or redistributed, as long as it uses an equivalent license. Attribution-NoncommercialShare Alike 3.0 Unported You are free to share and to adapt this work under the following conditions: (a) You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work); (b) You may not use this work for commercial purposes. (c) If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one. 2
3 About the author Vítor Souza Education: Computer Science graduate, masters in Software Engineering (UFES, Brazil), taking PhD at U. Trento. Java: Developer since 1999; Focus on Web Development; Co-founder and coordinator of ESJUG (Brazil). Professional: Substitute teacher at Federal University of ES; Engenho de Software Consulting & Development. Contact: 3
4 JUG TAAS = JUG Trento + JUG Bolzano Website: Mailing list (in Italian, mostly): If you're interested in Java, join and participate! 4
5 Agenda Auth2 with JAAS; Servlets 3.0; More on JPA 2.0: New commands in JPQL; Support for pessimistic locking; Enhancements for EJBs. 5
6 Auth2 with JAAS Image source: 6
7 Auth2 in Java = JAAS Authentication = guaranteeing the user is who she says she is; Authorization = guaranteeing the user can access resources she is authorized to; For Java applications, we can use JAAS: Java Authentication and Authorization Services; Data integrity; Confidentiality; Non-repudiation; Auditing. 7
8 Basic concepts of Auth2 Security realm: set of security configurations registered under a name; User: an individual or software identified by an username and a password (credentials); Group: group of user; Role: a name associated with a set of access rights. Can be associated to users or groups. Authentication = what users exist and what are their passwords? Authorization = which roles can access what? 8
9 Realms in GlassFish Realm types: Flat files; JDBC; Certificate; Solaris; LDAP / Microsoft Active Directory; Any class implementing the Realm interface (proprietary). 9
10 Setting up a realm in Web Console 10
11 How JDBC Realm works 1 Connect to ADS-ds 2 SELECT PASSWORD FROM EMPLOYEE WHERE USERNAME =? 3 SELECT FUNCTIONS FROM GROUP WHERE USERNAME =? 4 By default, passwords are 11 with MD5 Java EE 6, new features in practice - Part encrypted 03
12 Configure GlassFish's sun-web.xml <sun-web-app error-url=""> <context-root>/ads-war</context-root> <security-role-mapping> <role-name>operator</role-name> <group-name>0</group-name> </security-role-mapping> <security-role-mapping> <role-name>dispatcher</role-name> <group-name>1</group-name> </security-role-mapping> Numerical values because FUNCTIONS is an enumeration!... <class-loader delegate="true"/> <jsp-config> <property name="keepgenerated" value="true" /> </jsp-config> </sun-web-app> 12
13 Configure GlassFish's sun-web.xml 13
14 web.xml for FORM authentication <web-app...> <login-config> <auth-method>form</auth-method> <realm-name>ads-realm</realm-name> <form-login-config> <form-login-page>/index.faces</form-login-page> <form-error-page>/error-login.faces</form-error-page> </form-login-config> </login-config> <security-role> <description /> <role-name>operator</role-name> </security-role> <security-role> Should match the <description /> roles in sun-web.xml <role-name>dispatcher</role-name> </security-role> </web-app>
15 web.xml for FORM authentication 15
16 The login form <ui:decorate template="/templates/form.xhtml"> <form id="form" method="post" action="j_security_check"> <ui:decorate template="/templates/field.xhtml"> <ui:param name="id" value="form:username" /> <ui:define name="nome">username</ui:define> <input type="text" id="username" name="j_username" /> </ui:decorate> <ui:decorate template="/templates/field.xhtml"> <ui:param name="id" value="form:pwd" /> <ui:define name="nome">password</ui:define> <input type="password" id="pwd" name="j_password" /> </ui:decorate> <ui:decorate template="/templates/buttons.xhtml"> <input type="submit" value="log in" /> </ui:decorate> </form> </ui:decorate> 16
17 Checking if user is authenticated public class LoginManagerBean implements LoginManager, Serializable private SessionContext private EmployeeDAO employeedao; public Employee checkjaaslogin() { Employee emp = null; Principal principal = sessionctx.getcallerprincipal(); if (principal!= null) { String username = principal.getname(); if (! "ANONYMOUS".equals(username)) { emp = employeedao.retrievebyusername(username); return emp; 17
18 Form x programmatic authentication Form login: Container is called directly; Our application constantly checks for the principal. Programmatic login: Our application is called; The container is programmatically called from our application's code. <form id="form" method="post" action="j_security_check"> <input type="text" id="username" name="j_username" /> <h:form id="form"> <h:inputtext id="username" value="#{loginbean.username" /> 18
19 Login method public class LoginManagerBean... { public void login(string username, String password) { Employee emp = employeedao.retrievebyusername(username); String md5pwd = TextUtils.produceMd5Hash(password); String pwd = emp.getpassword(); if ((pwd!= null) && (pwd.equals(md5pwd))) { HttpServletRequest request = (HttpServletRequest)FacesContext.getCurrentInstance().getExt ernalcontext().getrequest(); request.login(username, password); currentuser = emp; pwd = password = null; logout() also exists! else { throw new LoginFailedException(); GlassFish also provides a proprietary solution: 19 com.sun.appserv.security.programmaticlogin
20 Authorization for classes/methods Use public class AmbulanceCrudServiceBean implements AmbulanceCrudService, Serializable {... Applies to the whole class or single methods; Limitation: does not extend to inherited methods; If a method is called and the user doesn't have the role, javax.ejb.ejbaccessexception is thrown; Less 20
21 Authorization for pages <web-app...> <security-constraint> <display-name>crud of Employees</display-name> <web-resource-collection> <web-resource-name>employeecrud</web-resource-name> <description /> <url-pattern>/faces/employeecrud/*</url-pattern> </web-resource-collection> <auth-constraint> <description>administrator only</description> <role-name>admin</role-name> </auth-constraint> </security-constraint>... </web-app> Error 403 in case of violation. 21
22 Authorization for pages 22
23 Servlets 3.0 Image source: 23
24 Servlet mapping with = "LogoutSrvlt", urlpatterns = {"/logout") public class LogoutServlet extends HttpServlet { protected void service(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException { // Destroys the session for this user. request.getsession(false).invalidate(); // Redirects back to the initial page. response.sendredirect(request.getcontextpath()); 24
25 Filter mapping with = "CounterFltr", urlpatterns = {"/*") public class CounterFilter implements Filter { public void dofilter(servletrequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { if (request instanceof HttpServletRequest) { HttpSession session = ((HttpServletRequest)request).getSession(); Object count = session.getattribute("count"); int c = (count == null)? 0 : Integer.parseInt(count.toString()) + 1; session.setattribute("count", c); chain.dofilter(request, response); public void init(filterconfig filterconfig) throws ServletException { public void destroy() { 25
26 Extensibility of the Web layer With annotations, servlets, filters and listeners can be provided in JARs, no need for configuration; ServletContext provides methods for dynamic loading: addservlet(), addfilter(),...; Also, a web-fragment.xml provided in the META-INF of the JAR is automatically loaded. 26
27 More on JPA 2.0 Image source: 27
28 New operators Case expressions: update Employee e set e.salary = case e.position when 'Director' then e.salary * 1.15 when 'Manager' then e.salary * 1.10 else e.salary * 1.05 end NULLIF: select nullif(e.salary, -1) from Employee e COALESCE: select coalesce(e.name, e.username) from Employee e 28
29 New operators INDEX: -- Assuming a.drivers is a list instead of a set. select d from Ambulance a join a.drivers d where a.id = :id and index(d) between 0 and 4 TYPE: -- Assuming hierarchy of Employee instead of enum. select e from Employee e where type(e) in (Operator, Dispatcher) KEY, VALUE, ENTRY: -- Assuming a.drivers is a map instead of a set. select key(d), value(d) from Ambulance a join a.drivers d where a.id = :id 29
30 Pessimistic Locking Optimistic = version column (few conflics); Pessimistic = locks (many conflics); Method lock() in EntityManager: // cq is some CriteriaQuery that returns a single employee... Employee emp = em.createquery(cq).getsingleresult(); em.lock(emp, LockModeType.PESSIMISTIC_READ); 30
31 Lock modes None: no locking; Optimistic: new name for read, which already existed, = optimistic lock; Optimistic, with force increment: new name for write, which also existed; Pessimistic read: locks for writing (repeatable read); Pessimistic write: locks for everything (serialization); Pessimistic, with force increment: same as before, but forcing the increment of the version column. 31
32 Enhancements for EJBs Image source: 32
33 No-interface EJB Before, EJBs had to Now, they can have no interface Public methods are @Named public class SomeStatelessBean { public void amethod() { /*... */ public String anothermethod() { /*... public void init() { /* Initialization code... */ 33
34 Singleton We can also have @Named public class HighlanderBean { /* There can be only one... */ Note: singleton EJBs are thread-safe, serializing method calls... 34
35 Asynchronous calls Execute long methods in background: public class RegisterCallServiceBean... public Future<List<Call>> searchforsimilar(call call) { List<Call> xlist = calldao.searchbyx(call.getx()); List<Call> ylist = calldao.searchbyy(call.gety()); //... List<Call> similars = new ArrayList<Call>(); similars.addall(xlist); //... similars.remove(call); return new AsyncResult<List<Call>>(similars); 35
36 Asynchronous calls Check if done: public class RegisterCallAction... { private Future<List<Call>> result; public List<Call> getsimilars() { if ((result!= null) && (result.isdone())) return result.get(); return null; Call these using AJAX! public boolean isdone() { return ((result!= null) && (result.isdone())); public void searchforsimilar() { result = registercallservice.searchforsimilar(call); 36
37 That's all folks... Image source: 37
38 Conclusions Java EE 6 brings many new things; These things bring flexibility, extensibility and ease of development to the platform; In three presentations, we only introduced them: Each topic can be explored in depth; We leave this to you... Happy coding with Java EE 6! 38
39 Java EE 6 New features in practice Part 3 Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
You Are Hacked End-to-End Java EE Security in Practice. Karthik Shyamsunder, Principal Technologist Phani Pattapu, Engineer
You Are Hacked End-to-End Java EE Security in Practice Karthik Shyamsunder, Principal Technologist Phani Pattapu, Engineer Who Are We? Karthik Shyamsunder Principal Technologist, Verisign Adjunct Faculty,
Managing Data on the World Wide-Web
Managing Data on the World Wide-Web Sessions, Listeners, Filters, Shopping Cart Elad Kravi 1 Web Applications In the Java EE platform, web components provide the dynamic extension capabilities for a web
Java Servlet 3.0. Rajiv Mordani Spec Lead
Java Servlet 3.0 Rajiv Mordani Spec Lead 1 Overview JCP Java Servlet 3.0 API JSR 315 20 members > Good mix of representation from major Java EE vendors, web container developers and web framework authors
Servlet 3.0. Alexis Moussine-Pouchkine. mercredi 13 avril 2011
Servlet 3.0 Alexis Moussine-Pouchkine 1 Overview Java Servlet 3.0 API JSR 315 20 members Good mix of representation from major Java EE vendors, web container developers and web framework authors 2 Overview
Java Web Programming. Student Workbook
Student Workbook Java Web Programming Mike Naseef, Jamie Romero, and Rick Sussenbach Published by ITCourseware, LLC., 7245 South Havana Street, Suite 100, Centennial, CO 80112 Editors: Danielle Hopkins
Application Security
2009 Marty Hall Declarative Web Application Security Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html Customized Java EE Training: http://courses.coreservlets.com/
Securing JAX-RS RESTful services. Miroslav Fuksa (software developer) Michal Gajdoš (software developer)
Securing JAX-RS RESTful services Miroslav Fuksa (software developer) Michal Gajdoš (software developer) The following is intended to outline our general product direction. It is intended for information
Web Development in Java Live Demonstrations (Live demonstrations done using Eclipse for Java EE 4.3 and WildFly 8)
Web Development in Java Live Demonstrations (Live demonstrations done using Eclipse for Java EE 4.3 and WildFly 8) Java Servlets: 1. Switch to the Java EE Perspective (if not there already); 2. File >
Keycloak SAML Client Adapter Reference Guide
Keycloak SAML Client Adapter Reference Guide SAML 2.0 Client Adapters 1.7.0.Final Preface... v 1. Overview... 1 2. General Adapter Config... 3 2.1. SP Element... 4 2.2. SP Keys and Key elements... 5 2.2.1.
Servlet and JSP Filters
2009 Marty Hall Servlet and JSP Filters Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html Customized Java EE Training: http://courses.coreservlets.com/
Supporting Multi-tenancy Applications with Java EE
Supporting Multi-tenancy Applications with Java EE Rodrigo Cândido da Silva @rcandidosilva JavaOne 2014 CON4959 About Me Brazilian guy ;) Work for Integritas company http://integritastech.com Software
Web Application Programmer's Guide
Web Application Programmer's Guide JOnAS Team ( Florent BENOIT) - March 2009 - Copyright OW2 consortium 2008-2009 This work is licensed under the Creative Commons Attribution-ShareAlike License. To view
Configuring BEA WebLogic Server for Web Authentication with SAS 9.2 Web Applications
Configuration Guide Configuring BEA WebLogic Server for Web Authentication with SAS 9.2 Web Applications This document describes how to configure Web authentication with BEA WebLogic for the SAS Web applications.
Creating Java EE Applications and Servlets with IntelliJ IDEA
Creating Java EE Applications and Servlets with IntelliJ IDEA In this tutorial you will: 1. Create IntelliJ IDEA project for Java EE application 2. Create Servlet 3. Deploy the application to JBoss server
Arjun V. Bala Page 20
12) Explain Servlet life cycle & importance of context object. (May-13,Jan-13,Jun-12,Nov-11) Servlet Life Cycle: Servlets follow a three-phase life cycle, namely initialization, service, and destruction.
Java EE 6 Ce qui vous attends
13 janvier 2009 Ce qui vous attends Antonio Goncalves Architecte Freelance «EJBs are dead...» Rod Johnson «Long live EJBs!» Antonio Goncalves Antonio Goncalves Software Architect Former BEA Consultant
Apache Ki (formerly JSecurity) DevNexus - 2009
Apache Ki (formerly JSecurity) DevNexus - 2009 Introduction Jeremy Haile Project Co-Founder VP Product Development, WeTheCitizens Agenda What is Apache Ki? Terminology Authentication, Authorization, Session
Ch-03 Web Applications
Ch-03 Web Applications 1. What is ServletContext? a. ServletContext is an interface that defines a set of methods that helps us to communicate with the servlet container. There is one context per "web
Supplement IV.E: Tutorial for Tomcat. For Introduction to Java Programming By Y. Daniel Liang
Supplement IV.E: Tutorial for Tomcat For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Obtaining and Installing Tomcat Starting and Stopping Tomcat Choosing
Principles and Techniques of DBMS 5 Servlet
Principles and Techniques of DBMS 5 Servlet Haopeng Chen REliable, INtelligentand Scalable Systems Group (REINS) Shanghai Jiao Tong University Shanghai, China http://reins.se.sjtu.edu.cn/~chenhp e- mail:
Apache Roller, Acegi Security and Single Sign-on
Apache Roller, Acegi Security and Single Sign-on Matt Raible [email protected] http://raibledesigns.com Matt Raible Apache Roller, Acegi Security and Single Sign-on Slide 1 Today s Agenda Introductions
GlassFish Security. open source community experience distilled. security measures. Secure your GlassFish installation, Web applications,
GlassFish Security Secure your GlassFish installation, Web applications, EJB applications, application client module, and Web Services using Java EE and GlassFish security measures Masoud Kalali PUBLISHING
Piotr Nowicki's Homepage. Java EE 6 SCWCD Mock Exam. "Simplicity is the ultimate sophistication." Important!
Piotr Nowicki's Homepage "Simplicity is the ultimate sophistication." Java EE 6 SCWCD Mock Exam Posted on March 27, 2011 by Piotr 47 Replies Edit This test might help to test your knowledge before taking
Listeners se es. Filters and wrappers. Request dispatchers. Advanced Servlets and JSP
Advanced Servlets and JSP Listeners se es Advanced Servlets Features Filters and wrappers Request dispatchers Security 2 Listeners also called observers or event handlers ServletContextListener Web application
Java EE Introduction, Content. Component Architecture: Why and How Java EE: Enterprise Java
Java EE Introduction, Content Component Architecture: Why and How Java EE: Enterprise Java The Three-Tier Model The three -tier architecture allows to maintain state information, to improve performance,
Controlling Web Application Behavior
2006 Marty Hall Controlling Web Application Behavior The Deployment Descriptor: web.xml JSP, Servlet, Struts, JSF, AJAX, & Java 5 Training: http://courses.coreservlets.com J2EE Books from Sun Press: http://www.coreservlets.com
Please send your comments to: [email protected]
Sun Certified Web Component Developer Study Guide - v2 Sun Certified Web Component Developer Study Guide...1 Authors Note...2 Servlets...3 The Servlet Model...3 The Structure and Deployment of Modern Servlet
PA165 - Lab session - Web Presentation Layer
PA165 - Lab session - Web Presentation Layer Author: Martin Kuba Goal Experiment with basic building blocks of Java server side web technology servlets, filters, context listeners,
How To Understand The Architecture Of Java 2Ee, J2Ee, And J2E (Java) In A Wordpress Blog Post
Understanding Architecture and Framework of J2EE using Web Application Devadrita Dey Sarkar,Anavi jaiswal, Ankur Saxena Amity University,UTTAR PRADESH Sector-125, Noida, UP-201303, India Abstract: This
White Paper March 1, 2005. Integrating AR System with Single Sign-On (SSO) authentication systems
White Paper March 1, 2005 Integrating AR System with Single Sign-On (SSO) authentication systems Copyright 2005 BMC Software, Inc. All rights reserved. BMC, the BMC logo, all other BMC product or service
Understanding Tomcat Security
Understanding Tomcat Security Anil Saldhana Project Lead JBoss Security and Identity Management Red Hat Inc Speaker Introduction Apache Web Services Program Management Committee. Apache Scout Project Lead.
An Introduction to Application Security in J2EE Environments
An Introduction to Application Security in J2EE Environments Dan Cornell Denim Group, Ltd. www.denimgroup.com Overview Background What is Application Security and Why is It Important? Specific Reference
Configuring Integrated Windows Authentication for Oracle WebLogic with SAS 9.2 Web Applications
Configuring Integrated Windows Authentication for Oracle WebLogic with SAS 9.2 Web Applications Copyright Notice The correct bibliographic citation for this manual is as follows: SAS Institute Inc., Configuring
JSP. Common patterns
JSP Common patterns Common JSP patterns Page-centric (client-server) CLIENT JSP or Servlet CLIENT Enterprise JavaBeans SERVER DB Common JSP patterns Page-centric 1 (client-server) Page View request response
CONTROLLING WEB APPLICATION BEHAVIOR WITH
CONTROLLING WEB APPLICATION BEHAVIOR WITH WEB.XML Chapter Topics in This Chapter Customizing URLs Turning off default URLs Initializing servlets and JSP pages Preloading servlets and JSP pages Declaring
Web Applications. For live Java training, please see training courses at
2009 Marty Hall Using and Deploying Web Applications Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html Customized Java EE Training: http://courses.coreservlets.com/
TypingMaster Intra. LDAP / Active Directory Installation. Technical White Paper (2009-9)
TypingMaster Intra LDAP / Active Directory Installation Technical White Paper (2009-9) CONTENTS Contents... 2 TypingMaster Intra LDAP / Active Directory White Paper... 3 Background INFORMATION... 3 Overall
CHAPTER 9: SERVLET AND JSP FILTERS
Taken from More Servlets and JavaServer Pages by Marty Hall. Published by Prentice Hall PTR. For personal use only; do not redistribute. For a complete online version of the book, please see http://pdf.moreservlets.com/.
Web Application Architecture (based J2EE 1.4 Tutorial)
Web Application Architecture (based J2EE 1.4 Tutorial) 1 Disclaimer & Acknowledgments Even though Sang Shin is a full-time employee of Sun Microsystems, the contents here are created as his own personal
PicketLink Federation User Guide 1.0.0
PicketLink Federation User Guide 1.0.0 by Anil Saldhana What this Book Covers... v I. Getting Started... 1 1. Introduction... 3 2. Installation... 5 II. Simple Usage... 7 3. Web Single Sign On (SSO)...
Web Container Components Servlet JSP Tag Libraries
Web Application Development, Best Practices by Jeff Zhuk, JavaSchool.com ITS, Inc. [email protected] Web Container Components Servlet JSP Tag Libraries Servlet Standard Java class to handle an HTTP request
Aspects of using Hibernate with CaptainCasa Enterprise Client
Aspects of using Hibernate with CaptainCasa Enterprise Client We all know: there are a lot of frameworks that deal with persistence in the Java environment one of them being Hibernate. And there are a
Securing a Web Service
1 Securing a Web Service HTTP Basic Authentication and HTTPS/SSL Authentication and Encryption - Read Chaper 32 of the J2EE Tutorial - protected session, described later in this chapter, which ensur content
Web Applications. Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html
2009 Marty Hall Using and Deploying Web Applications Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html Customized Java EE Training: http://courses.coreservlets.com/
Integrating Apex into Federated Environment using SAML 2.0. Jon Tupman Portalsoft Solutions Ltd
Integrating Apex into Federated Environment using SAML 2.0 Jon Tupman Portalsoft Solutions Ltd Introduction Migration challenge Federated vs Single sign-on SAML process flow Integrating Apex and Weblogic
Introduction to J2EE Web Technologies
Introduction to J2EE Web Technologies Kyle Brown Senior Technical Staff Member IBM WebSphere Services RTP, NC [email protected] Overview What is J2EE? What are Servlets? What are JSP's? How do you use
Anders Møller & Michael I. Schwartzbach 2006 Addison-Wesley
Programming Web Applications with Servlets Anders Møller & Michael I. Schwartzbach 2006 Addison-Wesley Objectives How to program Web applications using servlets Advanced concepts, such as listeners, filters,
Developing an EJB3 Application. on WebSphere 6.1. using RAD 7.5
Developing an EJB3 Application on WebSphere 6.1 using RAD 7.5 Introduction This tutorial introduces how to create a simple EJB 3 application using Rational Application Developver 7.5( RAD7.5 for short
Recommended readings. Lecture 11 - Securing Web. Applications. Security. Declarative Security
Recommended readings Lecture 11 Securing Web http://www.theserverside.com/tt/articles/content/tomcats ecurity/tomcatsecurity.pdf http://localhost:8080/tomcat-docs/security-managerhowto.html http://courses.coreservlets.com/course-
Java Enterprise Security. Stijn Van den Enden [email protected]
Java Enterprise Security Stijn Van den Enden [email protected] Agenda Java EE introduction Web module security EJB module security Runtime configuration Other security aspects Spring Security JBoss
Administering User Security
CHAPTER Administering User Security This chapter provides instructions for administering user security in the Oracle GlassFish Server environment by using the asadmin command-line utility. GlassFish Server
Configuring Integrated Windows Authentication for JBoss with SAS 9.3 Web Applications
Configuring Integrated Windows Authentication for JBoss with SAS 9.3 Web Applications Copyright Notice The correct bibliographic citation for this manual is as follows: SAS Institute Inc., Configuring
Tomcat 5 New Features
Tomcat 5 New Features ApacheCon US 2003 Session MO10 11/17/2003 16:00-17:00 Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. Slides: http://www.apache.org/~craigmcc/ Agenda Introduction
Using weblock s Servlet Filters for Application-Level Security
Using weblock s Servlet Filters for Application-Level Security September 2006 www.2ab.com Introduction Access management is a simple concept. Every business has information that needs to be protected from
Liferay Enterprise ecommerce. Adding ecommerce functionality to Liferay Reading Time: 10 minutes
Liferay Enterprise ecommerce Adding ecommerce functionality to Liferay Reading Time: 10 minutes Broadleaf + Liferay ecommerce + Portal Options Integration Details REST APIs Integrated IFrame Separate Conclusion
Bienvenue chez le Ch ti JUG!
Bienvenue chez le Ch ti JUG! Programme Bienvenue chez le Ch ti JUG Le mot du sponsor Les JUGs en France Java EE 6, qu est-ce qui nous attend? L interro Le buffet Le sponsor de cette session Ch ti JUG Les
2. Follow the installation directions and install the server on ccc
Installing a Web Server 1. Install a sample web server, which supports Servlets/JSPs. A light weight web server is Apache Tomcat server. You can get the server from http://tomcat.apache.org/ 2. Follow
SSC - Web applications and development Introduction and Java Servlet (II)
SSC - Web applications and development Introduction and Java Servlet (II) Shan He School for Computational Science University of Birmingham Module 06-19321: SSC Outline Outline of Topics Servlet Configuration
Java Server Pages combined with servlets in action. Generals. Java Servlets
Java Server Pages combined with servlets in action We want to create a small web application (library), that illustrates the usage of JavaServer Pages combined with Java Servlets. We use the JavaServer
Java Servlet Tutorial. Java Servlet Tutorial
Java Servlet Tutorial i Java Servlet Tutorial Java Servlet Tutorial ii Contents 1 Introduction 1 1.1 Servlet Process.................................................... 1 1.2 Merits.........................................................
<Insert Picture Here> Hudson Security Architecture. Winston Prakash. Click to edit Master subtitle style
Hudson Security Architecture Click to edit Master subtitle style Winston Prakash Hudson Security Architecture Hudson provides a security mechanism which allows Hudson Administrators
The Java EE 6 Platform. Alexis Moussine-Pouchkine GlassFish Team
The Java EE 6 Platform Alexis Moussine-Pouchkine GlassFish Team This is no science fiction Java EE 6 and GlassFish v3 shipped final releases on December 10 th 2009 A brief History Project JPE Enterprise
Case Studies of Running the Platform. NetBeans UML Servlet JSP GlassFish EJB
September Case Studies of Running the Platform NetBeans UML Servlet JSP GlassFish EJB In this project we display in the browser the Hello World, Everyone! message created in the session bean with servlets
Implementing the Shop with EJB
Exercise 2 Implementing the Shop with EJB 2.1 Overview This exercise is a hands-on exercise in Enterprise JavaBeans (EJB). The exercise is as similar as possible to the other exercises (in other technologies).
Advanced OpenEdge REST/Mobile Security
Advanced OpenEdge REST/Mobile Security Securing your OpenEdge Web applications Michael Jacobs August 2013 Legal Disclaimer The contents of these materials are confidential information of Progress Software
Configuring Integrated Windows Authentication for JBoss with SAS 9.2 Web Applications
Configuring Integrated Windows Authentication for JBoss with SAS 9.2 Web Applications Copyright Notice The correct bibliographic citation for this manual is as follows: SAS Institute Inc., Configuring
ACM Crossroads Student Magazine The ACM's First Electronic Publication
Page 1 of 8 ACM Crossroads Student Magazine The ACM's First Electronic Publication Crossroads Home Join the ACM! Search Crossroads [email protected] ACM / Crossroads / Columns / Connector / An Introduction
create-virtual-server creates the named virtual server
Name Synopsis Description Options create-virtual-server creates the named virtual server create-virtual-server [--help] --hosts hosts [--httplisteners http-listeners] [--networklisteners network-listeners]
How To Protect Your Computer From Being Hacked On A J2Ee Application (J2Ee) On A Pc Or Macbook Or Macintosh (Jvee) On An Ipo (J 2Ee) (Jpe) On Pc Or
Pistoia_ch03.fm Page 55 Tuesday, January 6, 2004 1:56 PM CHAPTER3 Enterprise Java Security Fundamentals THE J2EE platform has achieved remarkable success in meeting enterprise needs, resulting in its widespread
Intellicus Single Sign-on
Intellicus Single Sign-on Intellicus Enterprise Reporting and BI Platform Intellicus Technologies [email protected] www.intellicus.com Copyright 2010 Intellicus Technologies This document and its content
Tutorial c-treeace Web Service Using Java
Tutorial c-treeace Web Service Using Java Tutorial c-treeace Web Service Using Java Copyright 1992-2012 FairCom Corporation All rights reserved. No part of this publication may be stored in a retrieval
Course Number: IAC-SOFT-WDAD Web Design and Application Development
Course Number: IAC-SOFT-WDAD Web Design and Application Development Session 1 (10 Hours) Client Side Scripting Session 2 (10 Hours) Server Side Scripting - I Session 3 (10 hours) Database Session 4 (10
15-415 Database Applications Recitation 10. Project 3: CMUQFlix CMUQ s Movies Recommendation System
15-415 Database Applications Recitation 10 Project 3: CMUQFlix CMUQ s Movies Recommendation System Project Objective 1. Set up a front-end website with PostgreSQL back-end 2. Allow users to login, like
Java Web Security Antipatterns
Java Web Security Antipatterns JavaOne 2015 Dominik Schadow bridgingit Failed with nothing but the best intentions Architect Implement Maintain Architect Skipping threat modeling Software that is secure
How To Login To The Mft Internet Server (Mft) On A Pc Or Macbook Or Macintosh (Macintosh) With A Password Protected (Macbook) Or Ipad (Macro) (For Macintosh) (Macros
TIBCO MFT Internet Server User Guide Software Release 7.2.4 October 2014 Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR BUNDLED TIBCO SOFTWARE
Visa Checkout September 2015
Visa Checkout September 2015 TABLE OF CONTENTS 1 Introduction 1 Integration Flow 1 Visa Checkout Partner merchant API Flow 2 2 Asset placement and Usage 3 Visa Checkout Asset Placement and Usage Requirements
Application Security. Petr Křemen. [email protected]
Application Security Petr Křemen [email protected] What is application security? Security is a set of measures that So, what can happen? taken from [7] first half of 2013 Let's focus on application
JAAS Java Authentication and Authorization Services
JAAS Java Authentication and Authorization Services Bruce A Rich Java Security Lead IBM/Tivoli Systems Java is a trademark and Java 2 is a registered trademark of Sun Microsystems Inc. Trademarks Java,
Configuring IBM WebSphere Application Server 7.0 for Web Authentication with SAS 9.3 Web Applications
Configuration Guide Configuring IBM WebSphere Application Server 7.0 for Web Authentication with SAS 9.3 Web Applications Configuring the System for Web Authentication This document explains how to configure
A detailed walk through a CAS authentication
Welcome! First of all, what is CAS? Web single sign on Uses federated authentication, where all authentication is done by the CAS server, instead of individual application servers The implementation is
Running and Testing Java EE Applications in Embedded Mode with JupEEter Framework
JOURNAL OF APPLIED COMPUTER SCIENCE Vol. 21 No. 1 (2013), pp. 53-69 Running and Testing Java EE Applications in Embedded Mode with JupEEter Framework Marcin Kwapisz 1 1 Technical University of Lodz Faculty
Identity Management in Liferay Overview and Best Practices. Liferay Portal 6.0 EE
Identity Management in Liferay Overview and Best Practices Liferay Portal 6.0 EE Table of Contents Introduction... 1 IDENTITY MANAGEMENT HYGIENE... 1 Where Liferay Fits In... 2 How Liferay Authentication
CA Performance Center
CA Performance Center Single Sign-On User Guide 2.4 This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the Documentation ) is
DTS Web Developers Guide
Apelon, Inc. Suite 202, 100 Danbury Road Ridgefield, CT 06877 Phone: (203) 431-2530 Fax: (203) 431-2523 www.apelon.com Apelon Distributed Terminology System (DTS) DTS Web Developers Guide Table of Contents
How To Use Libap With A Libap Server With A Mft Command Center And Internet Server
MFT Command Center/Internet Server LDAP Integration Guide Ver sio n 7.1.1 September 7, 2011 Documentation Information MFT LDAP Integration Guide Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES
Spring Security SAML module
Spring Security SAML module Author: Vladimir Schäfer E-mail: [email protected] Copyright 2009 The package contains the implementation of SAML v2.0 support for Spring Security framework. Following
Spring Security 3. http://www.springsource.com/download/community?project=spring%20security
Spring Security 3 1. Introduction http://www.springsource.com/download/community?project=spring%20security 2. Security Namespace Configuration Web.xml configuration: springsecurityfilterchain
Web Development in Java Part I
Web Development in Java Part I Vítor E. Silva Souza ([email protected]) http://www.inf.ufes.br/ ~ vitorsouza Department of Informatics Federal University of Espírito Santo (Ufes), Vitória, ES Brazil
Sophos Mobile Control Web service guide
Sophos Mobile Control Web service guide Product version: 3.5 Document date: July 2013 Contents 1 About Sophos Mobile Control... 3 2 Prerequisites... 4 3 Server-side implementation... 5 4 Client-side implementation...
INTEGRATION GUIDE. DIGIPASS Authentication for Cisco ASA 5505
INTEGRATION GUIDE DIGIPASS Authentication for Cisco ASA 5505 Disclaimer DIGIPASS Authentication for Cisco ASA5505 Disclaimer of Warranties and Limitation of Liabilities All information contained in this
Pure server-side Web Applications with Java, JSP. Application Servers: the Essential Tool of Server-Side Programming. Install and Check Tomcat
Pure server-side Web Applications with Java, JSP Discussion of networklevel http requests and responses Using the Java programming language (Java servlets and JSPs) Key lesson: The role of application
