28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

}<br />

The exposed keyword enables you define if content in a package (and its subpackages) is to be made available by<br />

HTTP to client requests. Values are Boolean true or false. If no value is set for exposed, the default setting (false)<br />

applies.<br />

authentication<br />

}<br />

{<br />

"authentication" :<br />

[<br />

{<br />

"method": "LogonTicket",<br />

},<br />

{<br />

"method" : "Basic",<br />

},<br />

{<br />

"method": "Form",<br />

}<br />

],<br />

The authentication keyword enables you to define the authentication method to use for Browser requests either<br />

at the application level or for single packages in an application. <strong>SAP</strong> <strong>HANA</strong> Extended Application Services support<br />

the following logon authentication mechanisms:<br />

Note: You can specify multiple authentication methods in the application-access file.<br />

● Basic authentication<br />

Logon with a recognized database user name and password.<br />

● <strong>SAP</strong> logon ticket<br />

<strong>SAP</strong> logon tickets enable single sign-on across <strong>SAP</strong> boundaries; <strong>SAP</strong> logon tickets can be also be used as<br />

authentication for access to third-party applications.<br />

● Form-based authentication<br />

Redirect the logon request to a form to fill in, for example, a Web page.<br />

If you use the authentication in the .xsaccess file, you must specify the authentication method to apply, for<br />

example, basic or <strong>SAP</strong> logon ticket. If you use the authentication keyword in the application-access file, but do not<br />

set an authentication method, your .xsaccess file is a valid JSON file but is not a semantically valid .xsaccess<br />

file and will return a parsing validation error . If you do not set the authentication keyword, your application applies<br />

the default basic authentication method (user name and password) to enable access to data.<br />

54<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Setting Up Your Application

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!