|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.security.auth.message.MessagePolicy.TargetPolicy
public static class MessagePolicy.TargetPolicy
This class defines the message protection policies for specific Targets.
This class is used to associate a message protection policy with targets within a message. Message targets are represented using an implementation of the Target interface matched to the message types in MessageInfo. The message protection policy is identified by an implementation of the ProtectionPolicy interface.
ClientAuthModule
,
ServerAuthModule
Constructor Summary | |
---|---|
MessagePolicy.TargetPolicy(MessagePolicy.Target[] targets,
MessagePolicy.ProtectionPolicy protectionPolicy)
Create a TargetPolicy instance with an array of Targets and with a ProtectionPolicy. |
Method Summary | |
---|---|
MessagePolicy.ProtectionPolicy |
getProtectionPolicy()
Get the ProtectionPolicy that applies to the targets. |
MessagePolicy.Target[] |
getTargets()
Get the array of layer-specific target descriptors that identify the one or more message parts to which the specified message protection policy applies. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessagePolicy.TargetPolicy(MessagePolicy.Target[] targets, MessagePolicy.ProtectionPolicy protectionPolicy)
targets
- An array of Targets. This argument may be null.protectionPolicy
- The object that describes
the message authentication policy that applies to the
targets.
IllegalArgumentException
- if the specified targets
or protectionPolicy is null.Method Detail |
---|
public MessagePolicy.Target[] getTargets()
public MessagePolicy.ProtectionPolicy getProtectionPolicy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41