• 第二步是配置资源以应用安全约束。

    The second step is to configure the resources to apply security constraints. Three separate configuration Settings are defined in these stanzas, as follows.

    youdao

  • 安全约束和条件是附加到实现构件的。

    The security constraints and conditions are attached to the implementation artifacts.

    youdao

  • 为登录页面配置安全约束。

    Configuring a security constraint for the login page.

    youdao

  • 接下来,定义目录安全约束,如清单8所示。

    Next, define the security constraints on directories, as shown in Listing 8.

    youdao

  • 该元素描述要保护的页面集合和关联的安全约束。

    This element describes the collection of pages to be secured and associated security constraints.

    youdao

  • 图4显示了在表单登录页面上定义的安全约束

    Figure 4 shows the security constraint we defined for our form-login page

    youdao

  • 第三部分:为REST 式服务定义一个安全约束

    Stanza 3: Defining a security constraint for a RESTful service

    youdao

  • 图5显示了为SecureServletWeb资源定义的安全约束。

    Figure 5 shows the security constraint we defined for the SecureServlet Web resource.

    youdao

  • 如果准备向外部用户公开服务,您需要某种安全约束来保证只有授权的用户才能访问服务。

    If you're going to expose services to external users, you need some kind of security constraints that make sure that only authorized users can access the services.

    youdao

  • 它向您提供使用定义的安全约束保护资源的能力,然后定义可以访问受保护资源的用户角色。

    It gives you the ability to protect a resource with a defined security constraint and then define the user roles that can access the protected resource.

    youdao

  • file - realm - demo:展示如何使用用户和组的平面文件设置安全约束。

    File-realm-demo: Demonstrates how to setup security restrictions using a flat file of users and groups.

    youdao

  • 声明方法需要通过web. xml文件和应用程序服务器特定的部署文件,来添加安全约束。

    The declarative method involves adding security constraints through the web.xml file and through the application server-specific deployment files.

    youdao

  • 通过部署描述符中的安全约束,可以将应用程序资源(如ejb方法和web页)声明为需要授权才能进行访问。

    Application resources like EJB methods and Web pages can be declared to require authorization for access by means of security constraints in deployment descriptors.

    youdao

  • 必须在每个Web或企业应用程序的部署描述符中定义每个角色,并且必须创建安全约束来保护每个授权控制的资源。

    Each role must be defined in the deployment descriptor of each Web or enterprise application, and security constraints must be created to secure each authorization-controlled resource.

    youdao

  • services - config . xml:引用其他配置文件且提供安全约束、通道和日志记录的顶级配置文件。

    Services-config.xml: the top-level configuration file that references the other configuration files and also provides security constraints, channels, and logging.

    youdao

  • 对于其他的Web应用程序,请在部署描述符里面使用security - constraint元素来规定应用程序的安全约束。

    For other web applications, use a security-constraint element in the deployment descriptor.

    youdao

  • XSLT的使用越来越难以设置,尤其是随着浏览器的现代版本在 XSLT 的使用上放置的安全约束越来越多(参见参考资料中的链接)。

    Use of XSLT is more difficult to set up, especially as modern releases of browsers increasingly place security restrictions (see Resources for a link) on the use of XSLT.

    youdao

  • 在此类平台中,在应用程序与应用程序租户之间实施安全约束是一个关键需求,TivoliAccessManager能够扮演这个关键角色。

    Within such a platform, enforcing security constraints between applications and between application tenants is a critical requirement and Tivoli Access Manager can play a key role.

    youdao

  • 可将J2EE安全角色和约束添加到应用程序的部署描述符。

    J2EE security roles and constraints are added to the deployment descriptor of the application.

    youdao

  • 现在您已经设置了三个GBeans和领域,并且定义了您的安全角色和约束。

    You now have the three GBeans and the realm set up, and your security roles and constraints are defined.

    youdao

  • xml文件列出应用程序中存在的约束和安全角色以及允许访问某个目录的角色。

    The web.xml file lists constraints and security roles that exist in your application as well as the roles that are allowed access to a certain directory.

    youdao

  • 我的理解是,当出现这类约束时,开发人员通常会放弃J2EE安全而开始自己编写代码。

    My understanding is that when such constraints appear, developers typically abandon J2EE security and start writing code for themselves.

    youdao

  • 这个主体是作为J2EE上下文来建立的,所以我们可以确保在服务实现中定义的安全性约束在分派组件之前得到满足。

    The principal is established as the J2EE context so that we can ensure that the security constraints that are defined on the service implementation are met before dispatching the component.

    youdao

  • 我们将使用应用服务器工具集(Application Server Toolkit,ASTK)来修改示例war文件,以增加安全性约束。

    We are going to use the Application Server Toolkit (ASTK) to modify the sample war file to add security constraints.

    youdao

  • servlet的web.xml文件包含一个 <security-constraint>元素,该元素定义安全性约束、它应用的 HTTP方法以及使用该约束的角色。

    The web.xml file for the servlet contains a <security-constraint> element that defines the security constraint, the HTTP methods that it applies to, and the roles that use the constraint.

    youdao

  • 接下来的三个图展示如何添加安全性约束(图8),如何设置正确的URL和HTTP方法(图9)以及如何针对该约束允许“DADXUser”角色(图10)。

    The next 3 figures show how to add the security constraint (Figure 8), how to set the right URL and HTTP methods (Figure 9) and how to allow the role "DADXUser" for that constraint (Figure 10).

    youdao

  • 所有国家中有一半的国家没有要求使用儿童约束装置(例如儿童安全座椅和儿童加高座椅)的法律。

    Half of all countries do not have laws requiring the use of child restraints (e.g., child seats and booster seats).

    youdao

  • 侦听器涉及的任何对象,都应当是线程安全的,或者是受线程约束的对象(例如Swing模型),侦听器应当确定自己正在正确的线程中执行。

    Any objects touched by listeners should either be thread safe or, for thread-confined objects such as Swing models, the listener should be confident that it is executing in the right thread.

    youdao

  • 方法权限将安全性角色映射到特定的EJB方法而安全性约束则将安全性角色映射到Web资源集合中,这些Web资源集合是HTTp方法和URL模式的一个组合。

    Method permissions map security roles to specific EJB methods and security constraints map security roles to Web resource collections that are a combination of HTTP methods and URL patterns.

    youdao

  • 如果应用程序包含安全的(具有授权约束的)和不安全的Servlet的混合体,则不安全的Servlet将无法访问会话对象。

    If the application contains a mixture of secure (those with authorization constraints) and insecure servlets, the insecure servlets cannot access the session object.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定