directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Directory SandBox > Implementing a simple interceptor
Date Sun, 07 Feb 2010 09:54:04 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/1519/1/5/_/styles/combined.css?spaceKey=DIRxSBOX&amp;forWysiwyg=true"
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="">Implementing
a simple interceptor</a></h2>
        <b>commented</b> by              <a href="">Emmanuel
    <div class="notificationGreySide">
       <ul class="alternate" type="square">
	<li>The right place to put this interceptor would be just after Normalization, if we
consider that such an interceptor is adding some semantic to a client request. From the server
logic, it should be considered as an user provided information, before it manipulate it.</li>
	<li>Slight optimization : you don't have to loop on the entry's attributes to get the
password Attribute. Simply get it from the entry : entry.get( "userPassword' ); No need to
take care of the attribute case, it's done internally by the get method (at this point, the
Entry is schema aware and will normalize the value and use the appropriate Comparator)</li>
	<li>Otherwise, it's just fine !</li>


    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href=""
class="grey">Change Notification Preferences</a>
       <a href="">View


View raw message