/** * Creates a new SimpleNode object. * * @param attributeType the attribute name * @param bytes the data to inject * @param assertionType the type of assertion represented by this ExprNode */ protected SimpleNode( AttributeType attributeType, byte[] bytes, AssertionType assertionType ) { super( attributeType, assertionType ); this.bytes = bytes; try { if ( attributeType.isHR() ) { value = new Value( attributeType, Strings.utf8ToString( bytes ) ); } else { value = new Value( attributeType, bytes ); } } catch ( LdapInvalidAttributeValueException e ) { throw new RuntimeException( e.getMessage() ); } }
throw new RuntimeException( e.getMessage() );
/** * Creates a new SimpleNode object. * * @param attributeType the attribute name * @param bytes the data to inject * @param assertionType the type of assertion represented by this ExprNode */ protected SimpleNode( AttributeType attributeType, byte[] bytes, AssertionType assertionType ) { super( attributeType, assertionType ); this.bytes = bytes; try { if ( attributeType.isHR() ) { value = new Value( attributeType, Strings.utf8ToString( bytes ) ); } else { value = new Value( attributeType, bytes ); } } catch ( LdapInvalidAttributeValueException e ) { throw new RuntimeException( e.getMessage() ); } }
/** * Creates a new SimpleNode object. * * @param attributeType the attribute name * @param bytes the data to inject * @param assertionType the type of assertion represented by this ExprNode */ protected SimpleNode( AttributeType attributeType, byte[] bytes, AssertionType assertionType ) { super( attributeType, assertionType ); this.bytes = bytes; try { if ( attributeType.isHR() ) { value = new Value( attributeType, Strings.utf8ToString( bytes ) ); } else { value = new Value( attributeType, bytes ); } } catch ( LdapInvalidAttributeValueException e ) { throw new RuntimeException( e.getMessage() ); } }
throw new RuntimeException( e.getMessage() );
throw new RuntimeException( e.getMessage() );
roles.add(e.get("cn").getString()); } catch (LdapInvalidAttributeValueException e1) { authenticationFailure(e1.getMessage(), e1);
throw new LdapInvalidDnException( liave.getMessage(), liave );
throw new LdapInvalidDnException( liave.getMessage(), liave );
throw new LdapInvalidDnException( liave.getMessage(), liave );
throw new LdapLdifException( liave.getMessage(), liave );
throw new LdapLdifException( liave.getMessage(), liave );
/** * A helper method, as the delete opertaionis used by the ModDN operations. */ private void sendDeletedEntry( Entry entry ) { try { //System.out.println( "DELETE Listener : log " + entry.getDn() ); consumerMsgLog.log( new ReplicaEventMessage( ChangeType.DELETE, entry ) ); if ( pushInRealTime ) { SearchResultEntry resultEntry = new SearchResultEntryImpl( searchRequest.getMessageId() ); resultEntry.setObjectName( entry.getDn() ); resultEntry.setEntry( entry ); SyncStateValue syncDelete = createControl( session.getCoreSession().getDirectoryService(), SyncStateTypeEnum.DELETE, entry ); sendResult( resultEntry, entry, EventType.DELETE, syncDelete ); } } catch ( LdapInvalidAttributeValueException e ) { // shouldn't happen LOG.error( e.getMessage(), e ); } }
throw new LdapLdifException( liave.getMessage(), liave );
throw new ConfigurationException( liave.getMessage() );
throw new LdapLdifException( liave.getMessage(), liave );
throw new LdapLdifException( liave.getMessage(), liave );
LOG.error( e.getMessage(), e );
throw new HasException(e.getMessage());
throw new HasException(e.getMessage());