Package javax.naming.ldap

Examples of javax.naming.ldap.ExtendedResponse


                LdapContext referralContext = (LdapContext) getReferralContext(e);
                return referralContext.extendedOperation(request);
            }
            throw e;
        }
        ExtendedResponse response = op.getExtendedResponse();
        // set existing underlying socket to startTls extended response
        if (response instanceof StartTlsResponseImpl) {
            ((StartTlsResponseImpl) response).setSocket(client.getSocket());
        }
        return response;
View Full Code Here


            /**
             * Call the stored procedure via the extended operation
             * and get back its return value.
             */
            ExtendedRequest jndiReq = LdapApiServiceFactory.getSingleton().toJndi( req );
            ExtendedResponse resp = ctx.extendedOperation( jndiReq );

            /**
             * Restore a Java object from the return value.
             */
            byte[] responseStream = resp.getEncodedValue();
            responseObject = SerializationUtils.deserialize( responseStream );
        }
        catch ( Exception e )
        {
            NamingException ne = new NamingException();
View Full Code Here

    super(hshtbl, cntrls);
  }
 
  @Override
  public ExtendedResponse extendedOperation(ExtendedRequest er) throws NamingException {
    ExtendedResponse extResponse = super.extendedOperation(er);
    this.setExtendedResponse(extResponse);
    return extResponse;
  }
View Full Code Here

TOP

Related Classes of javax.naming.ldap.ExtendedResponse

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.