Other instances in which this pattern is useful include logging and printing, such as when you want only one instance of a class to access and control one particular printer at a time.
在其他实例中,此模式也是有用的,包括登录和打印,例如,当您想要一个能够每次访问并控制一个特别打印机的类实例。
Singletons are a useful way to control access to a class, making sure that only one instance can exist.
单例模式是一种有用的控制类访问的途径,他能保证只有一个类实例存在。
For example, for a queue, an MQQUEUE profile is used to control MQI access to the queue, but other profiles in the MQADMIN class are used to control context and alternate user security.
例如,对于队列,使用一个MQQUEUE概要文件来控制对该队列的访问,但是mqadmin类中的其他概要文件用于控制上下文和用户安全性。
Profiles in the MQCMDS class control access to commands (such as define QLOCAL) that provide the ability to define or alter a queue.
MQ cmds类中的概要文件控制对DEFINEQLOCAL等命令的访问,这些命令用于定义和修改队列。
Transport-layer security, message-layer security, threat protection, identity and access control – security is truly a first class citizen, and the gateways have the certifications to prove it.
传输层安全、消息级安全、入侵保护、身份认证和访问控制——安全的确是一等公民,而且网关中有证书来证实这一点。
Additionally, the MQADMIN class profiles contain the string QUEUE for profiles used for command resource security, or CONTEXT, for the profiles used to control access to message CONTEXT.
此外,mqadmin类概要文件包含针对用于资源安全性命令的概要文件的字符串QUEUE,或者用于控制对消息CONTEXT的访问的概要文件的字符串CONTEXT。
Classes that require class instance-level access control must implement the Resource interface.
要求类实例级访问控制的类必须实现Resource接口。
As such, I will focus the remainder of this article on learning about the role of the subject class in JAAS, with an in-depth discussion of subject-based access control.
因此,在本文的其余部分我将着重介绍JAAS中subject类的作用,并深入讨论基于subject的访问控制。
In this case, the Cglib2AopProxy class creates the proxy objects you will need to control access to your secure beans.
在本例中,cglib2aopproxy类将创建安全bean访问控制所需的代理对象。
Profiles in the MQQUEUE class control access to queues. Four levels of access are meaningful for MQQUEUE.
mqqueue类中的配置文件控制队列访问。
Separate profiles control access from different environments on z/OS, such as CICS, IMS, batch, DB2 stored procedures, and so on. Here are the four profiles that can be defined in the MQCONN class
不同的配置文件控制来自z/OS上的不同环境的访问,比如CICS、IMS、批作业、DB2存储过程等。
Even though you might really prefer that the client programmer not directly manipulate some of the members of your class, without access control there's no way to prevent it.
即使你觉得这样也是可行的,但是通常由于终端程序员无法准确的实用类成员,如果有没有使用权的控制,那么我们就无法去阻止错误的发生。
Control access to a class by controlling its instantiation process.
通过控制类的实例化过程来控制对类的访问。
When a built-in code access permission class protects a resource but does not sufficiently control access to that resource, you might need a custom code access permission.
如果内置代码访问权限类保护一种资源但不能充分控制对该资源的访问,则您可能需要使用自定义代码访问权限。
For convenience, the device-specific control adapter base class should expose properties that grant access to the page adapter and the form adapter.
为了方便,特定于设备的控件适配器基类应该公开授予对页适配器和窗体适配器的访问权限的属性。
For convenience, the device-specific control adapter base class should expose properties that grant access to the page adapter and the form adapter.
为了方便,特定于设备的控件适配器基类应该公开授予对页适配器和窗体适配器的访问权限的属性。
应用推荐