Package org.apache.wss4j.stax.securityToken

Examples of org.apache.wss4j.stax.securityToken.SubjectAndPrincipalSecurityToken


        }
    }
   
    private void doResults(SoapMessage msg, List<SecurityEvent> incomingSecurityEventList) throws WSSecurityException {
        for (SecurityEvent event : incomingSecurityEventList) {
            SubjectAndPrincipalSecurityToken token = getSubjectPrincipalToken(event);
            if (token != null) {
                Principal p = token.getPrincipal();
                Subject subject = token.getSubject();
               
                if (subject != null) {
                    String roleClassifier =
                        (String)msg.getContextualProperty(SecurityConstants.SUBJECT_ROLE_CLASSIFIER);
                    if (roleClassifier != null && !"".equals(roleClassifier)) {
View Full Code Here


        }
    }
   
    private void doResults(SoapMessage msg, List<SecurityEvent> incomingSecurityEventList) throws WSSecurityException {
        for (SecurityEvent event : incomingSecurityEventList) {
            SubjectAndPrincipalSecurityToken token = getSubjectPrincipalToken(event);
            if (token != null) {
                Principal p = token.getPrincipal();
                Subject subject = token.getSubject();
               
                if (subject != null) {
                    String roleClassifier =
                        (String)msg.getContextualProperty(SecurityConstants.SUBJECT_ROLE_CLASSIFIER);
                    if (roleClassifier != null && !"".equals(roleClassifier)) {
View Full Code Here

TOP

Related Classes of org.apache.wss4j.stax.securityToken.SubjectAndPrincipalSecurityToken

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.