001: /*
002: * The contents of this file are subject to the terms
003: * of the Common Development and Distribution License
004: * (the License). You may not use this file except in
005: * compliance with the License.
006: *
007: * You can obtain a copy of the license at
008: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
009: * See the License for the specific language governing
010: * permissions and limitations under the License.
011: *
012: * When distributing Covered Code, include this CDDL
013: * Header Notice in each file and include the License file
014: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
015: * If applicable, add the following below the CDDL Header,
016: * with the fields enclosed by brackets [] replaced by
017: * you own identifying information:
018: * "Portions Copyrighted [year] [name of copyright owner]"
019: *
020: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
021: */
022:
023: package com.sun.xml.wss.impl.misc;
024:
025: /**
026: *
027: * @author K.Venugopal@sun.com
028: */
029: public class PolicyAttributes {
030:
031: private boolean issuedTokens = false;
032: private boolean secureConversation = false;
033: private boolean reliableMessaging = false;
034: private boolean supportingTokens = false;
035: private boolean endorsingST = false;//endorsing supporting tokens
036: private boolean signedEndorsingST = false;//Signed endorsing supporting tokens
037: private boolean signedST = false;
038: private boolean protectSignature = false;
039: private boolean protectTokens = false;
040:
041: /** Creates a new instance of PolicyAttributes */
042: public PolicyAttributes() {
043: }
044:
045: public boolean isProtectTokens() {
046: return protectTokens;
047: }
048:
049: public void setProtectTokens(boolean protectTokens) {
050: this .protectTokens = protectTokens;
051: }
052:
053: public boolean isIssuedTokens() {
054: return issuedTokens;
055: }
056:
057: public void setIssuedTokens(boolean issuedTokens) {
058: this .issuedTokens = issuedTokens;
059: }
060:
061: public boolean isSecureConversation() {
062: return secureConversation;
063: }
064:
065: public void setSecureConversation(boolean secureConversation) {
066: this .secureConversation = secureConversation;
067: }
068:
069: public boolean isReliableMessaging() {
070: return reliableMessaging;
071: }
072:
073: public void setReliableMessaging(boolean reliableMessaging) {
074: this .reliableMessaging = reliableMessaging;
075: }
076:
077: public boolean isSupportingTokens() {
078: return supportingTokens;
079: }
080:
081: public void setSupportingTokens(boolean supportingTokens) {
082: this .supportingTokens = supportingTokens;
083: }
084:
085: public boolean isEndorsingST() {
086: return endorsingST;
087: }
088:
089: public void setEndorsingST(boolean endorsingST) {
090: this .endorsingST = endorsingST;
091: }
092:
093: public boolean isSignedEndorsingST() {
094: return signedEndorsingST;
095: }
096:
097: public void setSignedEndorsingST(boolean signedEndorsingST) {
098: this .signedEndorsingST = signedEndorsingST;
099: }
100:
101: public boolean isSignedST() {
102: return signedST;
103: }
104:
105: public void setSignedST(boolean signedST) {
106: this .signedST = signedST;
107: }
108:
109: public boolean isProtectSignature() {
110: return protectSignature;
111: }
112:
113: public void setProtectSignature(boolean protectSignature) {
114: this.protectSignature = protectSignature;
115: }
116: }
|