Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Mashup Center wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 2.0
  • 3.0
  • 3.0.0.1
  • action widgets
  • actions
  • admin
  • administering
  • administration
  • administrator
  • adminstering
  • Ajax
  • AJAX proxy
  • annotate function
  • annotator
  • API
  • api reference
  • benchmark testing
  • catalog
  • configuing
  • configuration
  • configure
  • configuring
  • creating
  • creating mashups
  • data
  • data mashup builder
  • data mashups
  • database
  • DB2
  • demo
  • deploy
  • deployment
  • designing applications
  • developer
  • developing
  • developing mashups
  • developing widgets
  • documentation
  • ECM Widgets
  • editing
  • Enterprise Content Management Widgets
  • errors
  • events
  • examples
  • explanations
  • feed
  • feed mashups
  • feeds
  • format
  • functions
  • getting started
  • greenhouse
  • guide
  • IMS database feeds
  • IMS feeds
  • IMS transaction feeds
  • installation
  • installing
  • mashup
  • MashupHub
  • mashuphub examples
  • mashuphub users guide
  • mashups
  • messages
  • migrating
  • objects
  • operators
  • Oracle
  • pages
  • payload types
  • pdf
  • performance
  • performance tuning
  • planning
  • product
  • programming
  • proxy
  • rest services
  • security
  • service
  • spaces
  • themes
  • troubleshooting
  • tutorial
  • tutorials
  • upgrading
  • user
  • users
  • v1.0
  • v1.1
  • v2.0
  • v2.0.0.2
  • v4.5.2.1
  • video
  • WAR
  • widget
  • widgets
  • widgets
  • wire
  • YouTube
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Administering > Access policies (V1.0)
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Access policies (V1.0) 

expanded Abstract
collapsed Abstract
No abstract provided.
Each policy element defines an access policy for a given URL pattern. The pattern is specified by means of the url attribute.

For each incoming request, the proxy applies the policy with the best URL match. If no matching policy is found, the proxy refuses the request. If a policy is found, the subelements of the policy element are applied to check whether or not the request can be accepted. The following subelements are defined:

actions

This element is mandatory. Use it to define the list of HTTP methods that can be used to access resources in the target domain. These HTTP methods are GET, HEAD, POST, PUT, DELETE. The proxy denies requests that use HTTP methods that are on this list. Specify each HTTP method by using a separate method element.  

headers

This element is optional. Use it to define the list of header names that you want the proxy to forward to the target domain. Specify each header name by using a separate header element. The header names can include wildcard characters. If you do not define any headers, the proxy forwards a set of default headers that match the following name expressions: Cache-Control, Pragma, User-Agent, Accept*, and Content*.

Important: If you define a new header, the proxy does not forward any of the default headers, and you must specify all the headers that you need. Also, if you want to forward only a portion of the default headers, you must define at least one new header and then specify the default headers that you want to forward using User-Agent.  

Note: The value Cookies is not allowed. Use the cookies element to specify the cookie-forwarding behavior for the policy instead.  



cookies

This element is optional. Use it to define a list of cookie names that identify the cookies that you want the proxy to forward to the target domain. In order to forward cookies, the proxy filters the value of the cookie header according to the defined cookie names. If you do not specify any cookie names, the proxy does not forward any cookies. Specify each cookie name by using a separate cookie element.


mime-types

This element is optional. Use it to specify the list of accepted MIME types. The MIME types refer to the response that the proxy receives from the target server. If you sepcify at least one MIME type, the proxy accepts only responses with a Content-Type response header that matches one of the specified MIME types. If you do not specify a MIME type, the proxy accepts all responses. You must specify each MIME type using a separate mime-type element. Using wildcard characters when specifying MIME types can be useful, as servers might append the character encoding to the MIME type. For example, if you specify text/html*, the proxy also accepts responses with Content-Type: text/html; charset=utf-8.


users

This element is optional. Use it to define the user roles against which you want the proxy to check the request. If you specify AllAuthenticatedUsers, the proxy verifies that the request was sent by an authenticated user. Otherwise the proxy rejects the request. Specify each user role by using a separate users element.

Parent topic: Configuring the HTTP proxy for AJAX applications.


expanded Article information
collapsed Article information
Category:
Administering, Configuring,
Tags:
AJAX, AJAX Proxy, proxy

This Version: Version 11 November 21, 2008 9:51:17 AM by Anna G O'Neal  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (11)
collapsed Versions (11)
Version Comparison     
Version Date Changed by               Summary of changes
This version (11) Nov 21, 2008 9:51:17 AM Anna G O'Neal  
10 Nov 10, 2008 9:03:02 AM Anna G O'Neal  
9 Aug 26, 2008 4:22:16 PM Anna G O'Neal  
8 Aug 22, 2008 12:37:30 PM Anna G O'Neal  
7 Aug 21, 2008 9:53:16 AM Anna G O'Neal  
6 Aug 21, 2008 8:59:58 AM Anna G O'Neal  
5 Jul 2, 2008 2:37:53 PM Anna G O'Neal  
4 Jul 2, 2008 1:47:22 PM Anna G O'Neal  
3 Jul 2, 2008 12:30:37 PM Anna G O'Neal  
2 Jul 2, 2008 12:13:01 PM Anna G O'Neal  
1 Jul 2, 2008 11:20:06 AM Anna G O'Neal  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use