Package org.apache.ws.security.policy.model

Examples of org.apache.ws.security.policy.model.X509Token


    case SecurityProcessorContext.START:
      if (!initializedX509Token) {
        try {
          initializeX509Token(spt);
                    X509Token token = (X509Token)spc.readCurrentPolicyEngineData();
                    //Get the includeToken attr info
                    String includetokenUri = spc.getAssertion().getAttribute(
                            new QName(Constants.SP_NS,
                                    Constants.ATTR_INCLUDE_TOKEN));
                    try {
                        if(includetokenUri != null) { //since its optional
                            token.setInclusion(includetokenUri);
                        }
                        ((TokenWrapper)spc.readPreviousPolicyEngineData()).setToken(token);
                    } catch (WSSPolicyException e) {
                        // TODO Throw this out
                        e.printStackTrace();
View Full Code Here

TOP

Related Classes of org.apache.ws.security.policy.model.X509Token

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.