equal
deleted
inserted
replaced
184 if (unbound) { |
184 if (unbound) { |
185 // For unbound, server does not know what name to check. |
185 // For unbound, server does not know what name to check. |
186 // Client checks "initiate", then server gets the name |
186 // Client checks "initiate", then server gets the name |
187 // and checks "accept". Second connection resume. |
187 // and checks "accept". Second connection resume. |
188 if (!permChecks.equals("IA")) { |
188 if (!permChecks.equals("IA")) { |
189 throw new Exception(); |
189 throw new Exception(permChecks); |
190 } |
190 } |
191 } else { |
191 } else { |
192 // For bound, JAAS checks "accept" once. Server checks again, |
192 // For bound, JAAS checks "accept" once. Server checks again, |
193 // client then checks "initiate". Second connection resume. |
193 // client then checks "initiate". Second connection resume. |
194 if (!permChecks.equals("AAI")) { |
194 if (!permChecks.equals("AAI")) { |
195 throw new Exception(); |
195 throw new Exception(permChecks); |
196 } |
196 } |
197 } |
197 } |
198 } |
198 } |
199 |
199 |
200 // Following codes copied from |
200 // Following codes copied from |