Examples of principal_name()


Examples of org.omg.CSI.IdentityToken.principal_name()

            } catch (InvalidTypeForEncoding itfe) {
                throw new IllegalStateException("Unable to encode principal name '" + principalName + "' " + itfe);
            }

            token = new IdentityToken();
            token.principal_name(encoding);
        } else {
            token = new IdentityToken();
            token.anonymous(true);
        }
View Full Code Here

Examples of org.omg.CSI.IdentityToken.principal_name()

                        throw JacORBMessages.MESSAGES.unexpectedException(e);
                    }

                    // create identity token.
                    identityToken = new IdentityToken();
                    identityToken.principal_name(encapsulatedEncodedName);
                } else if ((secMech.sas_context_mech.supported_identity_types & ITTAnonymous.value) != 0) {
                    // no run-as or caller identity and the target supports ITTAnonymous: use the anonymous identity.
                    identityToken = new IdentityToken();
                    identityToken.anonymous(true);
                }
View Full Code Here

Examples of org.omg.CSI.IdentityToken.principal_name()

                        throw JacORBLogger.ROOT_LOGGER.unexpectedException(e);
                    }

                    // create identity token.
                    identityToken = new IdentityToken();
                    identityToken.principal_name(encapsulatedEncodedName);
                } else if ((secMech.sas_context_mech.supported_identity_types & ITTAnonymous.value) != 0) {
                    // no run-as or caller identity and the target supports ITTAnonymous: use the anonymous identity.
                    identityToken = new IdentityToken();
                    identityToken.anonymous(true);
                }
View Full Code Here

Examples of org.omg.CSI.IdentityToken.principal_name()

                        throw new RuntimeException("Unexpected exception: " + e);
                    }

                    // create identity token.
                    identityToken = new IdentityToken();
                    identityToken.principal_name(encapsulatedEncodedName);
                } else if ((secMech.sas_context_mech.supported_identity_types & ITTAnonymous.value) != 0) {
                    // no run-as or caller identity and the target supports ITTAnonymous: use the anonymous identity.
                    identityToken = new IdentityToken();
                    identityToken.anonymous(true);
                }
View Full Code Here

Examples of org.omg.CSI.IdentityToken.principal_name()

                  throw new RuntimeException("Unexpected exception: " + e);
               }
              
               // create identity token
               identityToken = new IdentityToken();
               identityToken.principal_name(encapsulatedEncodedName);
            }
            else if ((secMech.sas_context_mech.supported_identity_types
                      & ITTAnonymous.value) != 0)
            {
               // no run-as or caller identity and the target
View Full Code Here

Examples of org.omg.CSI.IdentityToken.principal_name()

/*     */           {
/* 201 */             throw new RuntimeException("Unexpected exception: " + e);
/*     */           }
/*     */
/* 205 */           identityToken = new IdentityToken();
/* 206 */           identityToken.principal_name(encapsulatedEncodedName);
/*     */         }
/* 208 */         else if ((secMech.sas_context_mech.supported_identity_types & 0x1) != 0)
/*     */         {
/* 213 */           identityToken = new IdentityToken();
/* 214 */           identityToken.anonymous(true);
View Full Code Here

Examples of org.omg.CSI.IdentityToken.principal_name()

            } catch (InvalidTypeForEncoding itfe) {
                throw new IllegalStateException("Unable to encode principal name '" + principalName + "' " + itfe, itfe);
            }

            token = new IdentityToken();
            token.principal_name(encoding);
        } else {
            token = new IdentityToken();
            token.anonymous(true);
        }
View Full Code Here

Examples of org.omg.CSI.IdentityToken.principal_name()

                        throw new RuntimeException("Unexpected exception: " + e);
                    }

                    // create identity token.
                    identityToken = new IdentityToken();
                    identityToken.principal_name(encapsulatedEncodedName);
                } else if ((secMech.sas_context_mech.supported_identity_types & ITTAnonymous.value) != 0) {
                    // no run-as or caller identity and the target supports ITTAnonymous: use the anonymous identity.
                    identityToken = new IdentityToken();
                    identityToken.anonymous(true);
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.